Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-10-2004, 11:20 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
how to configure "eth0"?

I've tried in both Mandrake & Knoppix to get my NIC working and am just a little to uneducated with this stuff... When Mandrake boots it if I hit Esc for Verbose it says "eth0 [failed]"... It can detect it though in the configuration for the card (it recommends drivers, but then still doesn't work). It's a Linksys LNE100TX v4 and since it can detect it, I assume it's just not configured correctly. Anyone have any recomendations?
Old 07-10-2004, 11:29 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Type "/sbin/ifconfig eth0" at the command prompt. If you see some cryptic looking junk, that's good. If you see something like "eth0: device not found" then your card isn't detected. Since your card is fairly standard issue and you say it is detected, I'll assume it actually is, unless you say otherwise after running ifconfig.

The next piece of information is how the card should be configured, i.e. do you have a static IP address or do you use DHCP? If you use DHCP, life is pretty simple, you can usually just type dhcpcd to start the DHCP client and it should get an IP address and set up everything for you. If it fails, then there's some problem with your DHCP server -- I suspect this might be what's giving you those failed messages.

You can probably use a static IP address until you figure out the problem. Do you know what IP addresses are used on your network? If your IP address is supposed to be, for instance, you would do:

ifconfig eth0 netmask up

(change the netmask if it's different for your subnet).

If you have a default gateway say at you set that up with:

route add default gw

You'll have to add your nameservers to /etc/resolv.conf and you should be set. A reolv.conf lines looks like:

nameserver x.y.z.w

where x.y.z.w is the IP address of the nameserver.


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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
Why do scripts like "./install" and "./configure" not work for me? engineerwell Linux - Newbie 2 02-05-2004 08:09 AM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 04:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration