Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-10-2004, 09:19 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
Struggling to configure my network :S

Hey all - I have just installed slack 10.0 and i am having loads of problems trying to get the internet up and running.

My router supports DHCP and so I set that in netconfig. I have also loaded the driver module for the network adapter. However, when I try to use a broswer, I only get " could not be found please check the name and try again".

If I do cat /etc/resolv.conf I get: search localdomain (i specified localdomain in netconfig) and that is all.

What else must I do to be able to connect?

Please help me and I am fairly new to linux so... simple answers

Thanks so very much
Old 08-10-2004, 09:51 AM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
in your browser's URL goto
also, trp ping

this is the IP address of Google.
if ping and the browser works with IP's and not names (
then we know your problem is a DNS problem

if it still doesnt work... we know its not a dns problem.
Old 08-10-2004, 09:55 AM   #3
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Check to see that your network interface is actually up and running.
jeff@rwharch:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr [clip]
          inet addr:  Bcast:  Mask:
          RX packets:201501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:185060 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:150254740 (143.2 Mb)  TX bytes:89024228 (84.9 Mb)
          Interrupt:11 Base address:0xb000
You'll be able to see if the card is pulling an IP from the router as you want it to.
If it doesn't have an IP as it should, then check your network configuration. Slackware makes it easy to do this -> it's all in a single text file /etc/rc.d/rc.inet1.conf
Open that file in any text editor (you'll need root access). It will look like this:
# /etc/rc.d/rc.inet1.conf
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# Config information for eth0:

# Config information for eth1:

# Config information for eth2:

# Config information for eth3:

# Default gateway IP address:

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
All you'll be looking for is a "yes" next to USE_DHCP for the appropriate interface.
AFAIK, you won't need to specify the search domain or DNS when your using DHCP.
Old 08-10-2004, 12:01 PM   #4
LQ Newbie
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the detialed replies all.

I cannot ping the ip, I get this message: Network is Unreachable.

In the /sbin/ifconfig I have:

lo link ecap: local loopback
inet addr:
Up loopback running MTU: 16436 Metric: 1
RX packets: 68 errors: 0 dropped: 0 overuns:0 frame: 0
TX packets: 68 errors: 0 dropped: 0 overuns:0 frame: 0
Collisions: 0 txqueuelen: 0
RX bytes: 519 (5.0kb) TX bytes: 5196 (5.0kb)

In /etc/rc.d/rc.inet1.conif , there is a yes in eth0 for USE_DHCP, the rest are set to ""

Hmmm, I'm afraid this means very little to me, could someone diagnose my problem for me?

Thanks a lot
Old 08-10-2004, 12:17 PM   #5
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
If you can't ping an IP address, then your NIC isn't up and running, which is why it (eth0) doesn't show up when you typed ifconfig. Perhaps the module (driver) for your card is not loaded.

What kind of NIC do you have? Are you sure the right module is loading? you can check for which modules are currently running by the command /sbin/lsmod
Old 08-10-2004, 12:34 PM   #6
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Try these from a terminal. You need to be root

ifconfig eth0 up
dhcpcd -r
Old 08-10-2004, 12:37 PM   #7
LQ Newbie
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Okay thanks, my NIC is 2wire pc port - i got this by doing ipconfig /all on this windows box and it's in the network adapters hardware section and the two boxes are on a router so they'll be the same. However, in the install of slack, it probed my Network adapter as a Via-Rhine. This does also show up in ipconfig /all but it's set as disabled....To further complicate things, Via-Rhine shows up in the /sbin/lsmod whereas the 2wire pc port does not.

I used this command to load the driver: echo "/sbin/modprobe 2wire pc port"> /etc/rc.d/rc.netdevice

and then: chmod 755 /etc/rc.d/rc.netdevice

Thanks for your help so far superbondbond

Last edited by Detriamus; 08-10-2004 at 01:10 PM.
Old 08-10-2004, 02:20 PM   #8
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
I don't have any experience with that device.

A little searching returned these threads:

Looks like an odd device to work with. It looks like others have trouble configuring that device too.

good luck.


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
Struggling with Math, need help randyriver10 General 45 08-28-2007 05:27 AM
new to ipsec, struggling eagle683 Linux - Newbie 1 06-08-2005 02:14 PM
how to configure my network on slackware 10.0 so i can access a windows network salviadud Linux - Newbie 2 02-11-2005 01:19 PM
after struggling with kernel compile doublefailure Linux - General 5 07-12-2002 06:51 AM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 AM.

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