LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Not connecting to the internet (https://www.linuxquestions.org/questions/slackware-14/not-connecting-to-the-internet-431592/)

Deelk 04-04-2006 09:20 AM

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

Alien_Hominid 04-04-2006 09:23 AM

Run # netconfig.

Deelk 04-04-2006 09:38 AM

Quote:

Originally Posted by Alien_Hominid
Run # netconfig.

It says that the command is not found.

Alien_Hominid 04-04-2006 09:46 AM

How could that be? You don't need # sign - it only shows that the command must be run in terminal by root.

Randux 04-04-2006 10:30 AM

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.

Deelk 04-04-2006 10:30 AM

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?

Alien_Hominid 04-04-2006 10:42 AM

If you installed Slackware normally, the command should be there. You should have tcpip installed. Check it with pkgtool.

Randux 04-04-2006 10:49 AM

DHCP fills that stuff in, you don't have to do anything except exactly as shown.

Deelk 04-04-2006 11:20 AM

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

Alien_Hominid 04-04-2006 11:28 AM

This is also from tcpip package. In addition, check if you have etc package installed.

Randux 04-04-2006 11:37 AM

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 :p

Deelk 04-04-2006 02:16 PM

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:)

Alien_Hominid 04-04-2006 02:25 PM

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.

mdarby 04-04-2006 02:45 PM

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


Deelk 04-04-2006 03:01 PM

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 01:29 PM.