Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-04-2006, 10:20 AM
|
#1
|
Member
Registered: Mar 2006
Posts: 71
Rep:
|
Not connecting to the internet
Hi,
I've finally installed Slackware succesfull,well allmost.I can't connect to the internet.During the installation I had to choose a modem type,but I didn't know which one was the right one for me,so I just picked one.I have cable internet.Could anyone help me solving this problem?
kind regards,
Deelk
|
|
|
04-04-2006, 10:23 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Run # netconfig.
|
|
|
04-04-2006, 10:38 AM
|
#3
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
Run # netconfig.
|
It says that the command is not found.
|
|
|
04-04-2006, 10:46 AM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
How could that be? You don't need # sign - it only shows that the command must be run in terminal by root.
|
|
|
04-04-2006, 11:30 AM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Quote:
Originally Posted by Deelk
Hi,
I've finally installed Slackware succesfull,well allmost.I can't connect to the internet.During the installation I had to choose a modem type,but I didn't know which one was the right one for me,so I just picked one.I have cable internet.Could anyone help me solving this problem?
kind regards,
Deelk
|
It sounds like you chose the wrong connection type. Don't worry it's not a big deal. Edit rc.inet1.conf in /etc/rc.d
If you're using eth0 (1st ethernet card) for your connection, which would be pretty normal, then set DHCP to yes like this.
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
This will make your ISP assign you an IP address and everything should work without much setup.
|
|
|
04-04-2006, 11:30 AM
|
#6
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
How could that be? You don't need # sign - it only shows that the command must be run in terminal by root.
|
I logged in as root,opened xterm typed netconfig and when I press enter it says that the command is not found.
@Randux:I will try that.I will let you know how it went.
Thanx
Edit:How do I know what I have to fill in after NETMASK and DCHP_HOSTNAME?
Last edited by Deelk; 04-04-2006 at 11:45 AM.
|
|
|
04-04-2006, 11:42 AM
|
#7
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
If you installed Slackware normally, the command should be there. You should have tcpip installed. Check it with pkgtool.
Last edited by Alien_Hominid; 04-04-2006 at 11:45 AM.
|
|
|
04-04-2006, 11:49 AM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
DHCP fills that stuff in, you don't have to do anything except exactly as shown.
|
|
|
04-04-2006, 12:20 PM
|
#9
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
For some reason I don't have rc.inet1.conf in /etc/rc.d.
@Alien_Hominid:
I will try that asap,but I have to run now.Thanx
|
|
|
04-04-2006, 12:28 PM
|
#10
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
This is also from tcpip package. In addition, check if you have etc package installed.
|
|
|
04-04-2006, 12:37 PM
|
#11
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Quote:
Originally Posted by Deelk
For some reason I don't have rc.inet1.conf in /etc/rc.d.
|
Then it will be hard to connect to the internet
|
|
|
04-04-2006, 03:16 PM
|
#12
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
This is also from tcpip package. In addition, check if you have etc package installed.
|
Could you maybe explain how to install tcpip from pkgtool?And what do you mean with etc installed?Do you mean that packages category that you can choose at the installation of slack?Thanks for your effort guys
|
|
|
04-04-2006, 03:25 PM
|
#13
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Ok. Firstly run pkgtool in your terminal.
By selecting view in the opened window, you can check which packages are installed. If you press enter on the package name, you will get detailed description of the installed package. So check if you have tcpip and etc packages installed. If not, go to http://www.slackware.it/en/pb/, enter package name (for example, tcpip), download it and install by issuing installpkg tcpip-version.tgz, then run netconfig. That's all.
As well, you can install tcpip (like any other official) package from your Slackware 1CD n/ series running the same installpkg command, which is used for installing all Slackware packages (they should end in tgz).
Tell if you didn't understand something.
Last edited by Alien_Hominid; 04-04-2006 at 03:27 PM.
|
|
|
04-04-2006, 03:45 PM
|
#14
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Code:
su root
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-current/slackware/n/tcpip-0.17-i486-36.tgz
installpkg tcpip-0.17-i486-36.tgz
netconfig
|
|
|
04-04-2006, 04:01 PM
|
#15
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
Ok. Firstly run pkgtool in your terminal.
By selecting view in the opened window, you can check which packages are installed. If you press enter on the package name, you will get detailed description of the installed package. So check if you have tcpip and etc packages installed. If not, go to http://www.slackware.it/en/pb/, enter package name (for example, tcpip), download it and install by issuing installpkg tcpip-version.tgz, then run netconfig. That's all.
As well, you can install tcpip (like any other official) package from your Slackware 1CD n/ series running the same installpkg command, which is used for installing all Slackware packages (they should end in tgz).
Tell if you didn't understand something.
|
First of all,thanx a bunch.I've installed tcpip succesfully from the slackware cd1.Now I'm trying to set it up correctly by using he netconfig.I don't know how,so I'm going to follow these instructions:
http://www.slackware.com/config/network.php
@mdarby:Thanx for your effort.As you see,it already worked using the methof of Alien_Hominid
|
|
|
All times are GMT -5. The time now is 12:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|