LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2006, 10:20 AM   #1
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Rep: Reputation: 15
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
 
Old 04-04-2006, 10:23 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Run # netconfig.
 
Old 04-04-2006, 10:38 AM   #3
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
Run # netconfig.
It says that the command is not found.
 
Old 04-04-2006, 10:46 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
How could that be? You don't need # sign - it only shows that the command must be run in terminal by root.
 
Old 04-04-2006, 11:30 AM   #5
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Cool

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.
 
Old 04-04-2006, 11:30 AM   #6
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
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.
 
Old 04-04-2006, 11:42 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-04-2006, 11:49 AM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
DHCP fills that stuff in, you don't have to do anything except exactly as shown.
 
Old 04-04-2006, 12:20 PM   #9
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 04-04-2006, 12:28 PM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
This is also from tcpip package. In addition, check if you have etc package installed.
 
Old 04-04-2006, 12:37 PM   #11
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
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
 
Old 04-04-2006, 03:16 PM   #12
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 04-04-2006, 03:25 PM   #13
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-04-2006, 03:45 PM   #14
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
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
 
Old 04-04-2006, 04:01 PM   #15
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
connecting to internet vaxit Linux - Hardware 3 03-27-2006 06:34 PM
connecting to internet kranster Linux - Newbie 6 11-02-2003 06:55 PM
connecting to the internet Marcin Linux - Networking 2 04-14-2003 11:22 PM
help connecting to the internet JunLitsu Linux - General 4 05-10-2002 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration