Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

eth0 does not exist

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

eth0 does not exist

  • Quote

Post by fiskah » Tue Jun 20, 2006 8:34 pm

When I boot my box (or when I run "/etc/init.d/net.eth0 start") I get the following reply:

Code: Select all

* Starting eth0
*   Bringing up eth0
*    Configuration not set for eth0 - assuming dhcp
*    dhcp
*       eth0 does not exist                       [!!] 
I tried look in the kernel config but everything seemed correct (to my rookie eye :D).

What am I missing?
Top
xPAGANx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 93
Joined: Wed Oct 08, 2003 12:46 pm
Location: Warren, Michigan

  • Quote

Post by xPAGANx » Tue Jun 20, 2006 8:45 pm

If you think you have your network card configured into your kernel and it isn't working, just turn all the cards on. See if that works. If that works then start disabling some cards. Otherwise something else is going on.
Top
RazielFMX
l33t
l33t
User avatar
Posts: 835
Joined: Sat Apr 23, 2005 6:35 pm
Location: NY, USA

  • Quote

Post by RazielFMX » Wed Jun 21, 2006 4:15 am

It also depends on your motherboard. I had this problem on my home PC, for some reason the onboard gigabit ethernet card on my ASUS mb showed up as eth1!

Run an ifconfig to see what your interfaces are.
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Top
Redhatter
Retired Dev
Retired Dev
User avatar
Posts: 548
Joined: Sat Sep 20, 2003 12:57 pm
Location: Brisbane, QLD, Australia
Contact:
Contact Redhatter
Website

  • Quote

Post by Redhatter » Wed Jun 21, 2006 4:28 am

Before playing the guessing game... lspci -v should tell you what network card you have -- assuming it is hooked into the PCI bus.
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Wed Jun 21, 2006 5:15 am

Redhatter wrote:Before playing the guessing game... lspci -v should tell you what network card you have -- assuming it is hooked into the PCI bus.
Its onboard and I saw some onboard driver installed in the kernel :)
Top
Redhatter
Retired Dev
Retired Dev
User avatar
Posts: 548
Joined: Sat Sep 20, 2003 12:57 pm
Location: Brisbane, QLD, Australia
Contact:
Contact Redhatter
Website

  • Quote

Post by Redhatter » Wed Jun 21, 2006 6:17 am

Last time I checked... 99% of "onboard" cards are hard-wired to the PCI bus.
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Wed Jun 21, 2006 6:59 am

Redhatter wrote:Before playing the guessing game... lspci -v
Also dmesg|grep eth would be worthwhile looking at (or posting here).
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Wed Jun 21, 2006 12:16 pm

Moved from Installing Gentoo to Networking & Security.
Networking problem, so moved here.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Sun Jun 25, 2006 10:08 am

spufi wrote:
Redhatter wrote:Before playing the guessing game... lspci -v
Also dmesg|grep eth would be worthwhile looking at (or posting here).
That command does not return anything...
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Sun Jun 25, 2006 11:48 am

fiskah wrote:That command does not return anything...
This means that Linux has not been able to activate any network card, with the provided kernel-options you specified.
fiskah wrote:Its onboard and I saw some onboard driver installed in the kernel :)
Could you explain this a bit? "I saw some onboard driver installed in the kernel" is terrifyingly vague. (I assume you didn't guess "hey there's the word onboard and since my card is onboard..." ? :) )
Anyway, we really would like to see the output of:

Code: Select all

spci
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Sun Jun 25, 2006 3:12 pm

spufi wrote:
fiskah wrote:That command does not return anything...
This means that Linux has not been able to activate any network card, with the provided kernel-options you specified.
fiskah wrote:Its onboard and I saw some onboard driver installed in the kernel :)
Could you explain this a bit? "I saw some onboard driver installed in the kernel" is terrifyingly vague. (I assume you didn't guess "hey there's the word onboard and since my card is onboard..." ? :) )
Anyway, we really would like to see the output of:

Code: Select all

spci
spci: command not found.

ill be happy to check my kernel config, but I'm not really sure what I'll have to look for :(
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Sun Jun 25, 2006 5:01 pm

fiskah wrote:spci: command not found.
fiskah wrote:'s "lspci", somehow the L got deleted :)
Anyway, you have to emerge 'pciutils first in order to execute this command.
fiskah wrote:ill be happy to check my kernel config, but I'm not really sure what I'll have to look for :(
No worries, we'll get there, just try to get the output of 'lspci'.
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Sun Jun 25, 2006 5:44 pm

spufi wrote:No worries, we'll get there, just try to get the output of 'lspci'.
Here is the output when I've chrooted according to the quickinstall guide, on the livecd:

Code: Select all

livecd etc # lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81)
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Sun Jun 25, 2006 6:37 pm

I was told to run dmesg|grep -i net, which resulted in the following:

Code: Select all

odin ~ # dmesg|grep -i net
NET: Registred protocol family 16
audit: initializing netlink sucket (disabled)
NET: Registred protocol family 2
NET: Registred protocol family 1
NET: Registred protocol family 17
After that I was told that my drivers weren't installed. What do I do now? :)

Update:
I tried to "modprobe e100" as I was told, and it didnt work, so now im back at the kernel config, to try to get the drivers loaded.
Top
Redhatter
Retired Dev
Retired Dev
User avatar
Posts: 548
Joined: Sat Sep 20, 2003 12:57 pm
Location: Brisbane, QLD, Australia
Contact:
Contact Redhatter
Website

  • Quote

Post by Redhatter » Mon Jun 26, 2006 7:17 am

fiskah wrote:
spufi wrote:No worries, we'll get there, just try to get the output of 'lspci'.
Here is the output when I've chrooted according to the quickinstall guide, on the livecd:

Code: Select all

livecd etc # lspci
[...]
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81) <-- Hello... ;-)
That thing, most certainly does use the e100 driver... either that, or you can try eepro100.

You'll of course, need these either compiled as a module. If you decide to compile them into the kernel, pick e100, OR pick eepro100, DO NOT COMPILE BOTH into the kernel.

If it fails to work... please state the error message that appears. I might have a pointy hat, but I'm no wizzard.
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Mon Jun 26, 2006 12:58 pm

RazielFMX wrote:It also depends on your motherboard. I had this problem on my home PC, for some reason the onboard gigabit ethernet card on my ASUS mb showed up as eth1!
That would probably be because you compiled firewire support in, and firewire is set up before any ethernet drivers, and thus gets eth0.
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Mon Jun 26, 2006 1:45 pm

Redhatter wrote:That thing, most certainly does use the e100 driver... either that, or you can try eepro100.
Where in the kernel config do I find the e100 driver?
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Mon Jun 26, 2006 8:15 pm

fiskah wrote:
Redhatter wrote:That thing, most certainly does use the e100 driver... either that, or you can try eepro100.
Where in the kernel config do I find the e100 driver?
Device drivers, network device support, ethernet (10 or 100mbit). Intel Pro/100+.
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Tue Jun 27, 2006 9:31 am

Ok. Now I tried both the eepro100 and the e100 drivers (one at a time), and eth0 is still not found...
Anything else I can try? :)
Top
RazielFMX
l33t
l33t
User avatar
Posts: 835
Joined: Sat Apr 23, 2005 6:35 pm
Location: NY, USA

  • Quote

Post by RazielFMX » Tue Jun 27, 2006 9:46 am

When you are in the livecd environment (before you chroot), what is the output of ifconfig?
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Top
fiskah
n00b
n00b
Posts: 17
Joined: Tue Jun 20, 2006 8:32 am

  • Quote

Post by fiskah » Wed Jun 28, 2006 2:48 pm

RazielFMX wrote:When you are in the livecd environment (before you chroot), what is the output of ifconfig?

Code: Select all

livecd ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:E9:B6:7A:C9
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:feb6:7ac9/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8646 (8.4 Kb)  TX bytes:8550 (8.3 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Wed Jun 28, 2006 7:11 pm

Code: Select all

livecd ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:E9:B6:7A:C9
          inet addr:192.168.1.106  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:feb6:7ac9/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8646 (8.4 Kb)  TX bytes:8550 (8.3 Kb)

Well, it looks like you are actually doing something wrong here, as you have no problem connecting in a livecd environment.
When you compiled support for the Pro/100 drivers in your kernel, did you copy the new bzImage to /boot?
Or did you compile your kernel with module-support for the ethernet card and forgot to add those entries to /etc/modules.autoload.d/kernel-2.6?
Just guessing here, cause usually the most hardware problems are with state-of-the-art new-funky-hardware, not 'oldschool' equally-reliable-as-ext2 ethernet cards like the Pro/100 :)
Top
Post Reply

22 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic