LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2004, 05:01 PM   #1
destroygbiv
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
netconfig problems in Slackware


I've recently switched from Redhat to Slackware, and everything has gone smoothly except for getting my internet connection to work. Redhat automatically detected my cable modem and everything worked without me doing anything. This is not the case in Slackware.
I've tried running netconfig several times, and I'm pretty sure that I should be using DHCP server.

Hostname: dest
Domain name: roygbiv
IP address: (use DHCP server)
Netmask: (use DHCP server)
Gateway: (use DHCP server)
Nameserver: (use DHCP server)

This doesn't work, however. I'm almost entirely certain that DHCP server is what I want though.
I am using cable internet.

Is it possible that the drivers for my ethernet card or whatever else aren't installed? If so, how do I find out if this is the problem, and/or fix it?

I'm a newbie, sorry.
 
Old 02-15-2004, 05:21 PM   #2
Bertie
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
You may be better off editing /etc/rc.d/rc.inet1.conf

In there you probably only need to fill in the values for eth0

You need to refer to your ISP or your modem/router info to the values for your
for PCs IP address and the gateway address.

Check your boot messages with
dmesg | less

Bertie Coopersmith
 
Old 02-15-2004, 05:36 PM   #3
destroygbiv
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
# config information for eth0
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""


--
Redhat detected and set everything up peachy keen, so does windows, and so does my mac connected to the same service.
What do you suggest I change any of the above values to?
I want to avoid being on the phone with my ISP, because I don't much care for being on hold for hours.
 
Old 02-15-2004, 08:00 PM   #4
destroygbiv
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Is there any way for me to check and make sure that all hardware involved with my internet connection is installed and their drivers are running fine?
 
Old 02-15-2004, 11:21 PM   #5
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
"lsmod" typed at the command line should tell you what drivers are installed. At least that command works with mandrake. Not sure bout slackware.
Thats a lower case L at the beginning of the command.

You may have to be root to run lsmod. In case you dont know the easy way, just type "su" at a command line then you will be prompted for your root password.

Last edited by toastermaker; 02-15-2004 at 11:26 PM.
 
Old 02-16-2004, 06:28 AM   #6
Bertie
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Your Slackware 9.1 should have lots of documentation. Whether that got onto your hard disk
depends on the options you chose with the installation, but normally you will find the stuff
in /usr/doc (Else it will be on your Slackware CDROM). You should take a look at
/usr/doc/Ethernet-HOWTO.

Nowadays most people load their network card driver as a module. If so, its name will be
displayed in the output of the lsmod command.

If you dont like editing configuration files the command ifconfig (normally run as part of
the Slackware setup) will enter a dialog to do it. The problem is that you may not understand
what ifconfig is asking you! the command 'man ifconfig' will tell you definitively what ifconfig
requires but that itself is not easy to understand.

Your netmask value should be "255.255.255.0". The other values depend upon how your
modem/router is set up and what your ISP requires.

You need to do quite a lot of reading now but when youve done it you will be surprized at
how little configurational stuff is actually needed to make it all work.
Good luck, Bertie.
 
  


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
'netconfig' in Slackware 9.0 rockpc Linux - Newbie 2 11-30-2004 05:00 PM
Can't set up External Broadband modem on Ethernet with netconfig on Slackware 10 Repeater Slackware 4 08-09-2004 10:16 AM
NetConfig XPediTioN Slackware 2 07-13-2003 09:08 PM
Slackware netconfig.... augamecock Linux - Networking 3 03-20-2002 07:45 AM
Slackware 8 - no ifconfig or netconfig indy_bob Linux - Software 8 02-20-2002 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration