View previous topic :: View next topic |
Author |
Message |
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Fri Apr 03, 2015 3:28 am Post subject: ERROR: interface eth0 does not exist [SOLVED] |
|
|
I'm reinstalling Gentoo (I had a problem I couldn't solve on my own that was really getting me feeling down), so I've spent the last two days completely reinstalling Gentoo. Today I finally got the computer to boot off it's own kernel, and I was extremely excited until I saw this:
* Bringing up interface eth0
* ERROR: interface eth0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.eth0 failed to start
I cannot figure out why it's doing this. Some additional info:
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=09 <?>
Kernel driver in use: agpgart-intel
Kernel modules: intel_agp
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffa00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at ffa80000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [d0] Power Management version 2
Kernel driver in use: i915
Kernel modules: i915
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corporation Device e213
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at ffac0000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: ff800000-ff8fffff
Prefetchable memory behind bridge: 00000000d4300000-00000000d43fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Device 0000:0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: ff700000-ff7fffff
Prefetchable memory behind bridge: 00000000d4200000-00000000d42fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Device 0000:0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: ff600000-ff6fffff
Prefetchable memory behind bridge: 00000000d4100000-00000000d41fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Device 0000:0000
00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: ff500000-ff5fffff
Prefetchable memory behind bridge: 00000000d4000000-00000000d40fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Device 0000:0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at c800 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at cc00 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d000 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d400 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ffac4000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: ff900000-ff9fffff
Prefetchable memory behind bridge: 00000000d0000000-00000000d3ffffff
Capabilities: [50] Subsystem: Device 0000:0000
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation Device 5647
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4
I/O ports at 0170 [size=8]
I/O ports at 0374
I/O ports at ffa0 [size=16]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation Device 5647
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at e800 [size=8]
I/O ports at e400 [size=4]
I/O ports at e000 [size=8]
I/O ports at dc00 [size=4]
I/O ports at d800 [size=16]
Capabilities: [70] Power Management version 2
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Intel Corporation Device 5647
Flags: medium devsel, IRQ 19
I/O ports at c400 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
05:00.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) Video Decoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 32, IRQ 3
Memory at d0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
05:01.0 Communication controller: Motorola Wildcard X100P
Subsystem: Motorola Device 0000
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at b800 [size=256]
Memory at ff900000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
05:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller (rev 01)
Subsystem: Intel Corporation Device 307d
Flags: bus master, medium devsel, latency 32, IRQ 20
Memory at ff901000 (32-bit, non-prefetchable) [size=4K]
I/O ports at bc00 [size=64]
Capabilities: [dc] Power Management version 2
Kernel driver in use: e100
Kernel modules: e100
lsmod:
I grepped 8139too for this,because I knew it to be a network module I'd used in the past...
8139too 15003 0
mii 2831 2 e100,8139too
dmesg | grep net returned this:
[ 2.357815] audit: initializing netlink subsys (disabled)
[ 10.825743] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 11.753197] systemd-udevd[2028]: renamed network interface eth0 to enp5s8
I see now that my problem is actually net.eth0 being renamed. How do I stop it from being renamed or else use it with it's new name?
Last edited by msulli1355 on Fri Apr 03, 2015 9:59 pm; edited 1 time in total |
|
Back to top |
|
|
Jack Hair n00b
Joined: 10 Jul 2013 Posts: 21
|
Posted: Fri Apr 03, 2015 3:39 am Post subject: |
|
|
Seeing the modules are loaded try "ifconfig -a" it should show the connection with the name you need. Then change your settings to match that name. |
|
Back to top |
|
|
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Fri Apr 03, 2015 3:50 am Post subject: |
|
|
livecd ~ # cat /mnt/gentoo/root/ifconfig
enp5s8: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:13:20:2b:98:18 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
There's no addresss for renamed eth0. And what setting do I change? |
|
Back to top |
|
|
Jack Hair n00b
Joined: 10 Jul 2013 Posts: 21
|
Posted: Fri Apr 03, 2015 3:56 am Post subject: |
|
|
Your card is named enp5s8 change eth0 to enp5s8 in your config. |
|
Back to top |
|
|
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Fri Apr 03, 2015 4:02 am Post subject: |
|
|
I don't understand. What config? I've always started /etc/init.d/net.eth0 to start networking. I know I'm being stupid and whiney, but I really don't understand this stuff.... |
|
Back to top |
|
|
Jack Hair n00b
Joined: 10 Jul 2013 Posts: 21
|
Posted: Fri Apr 03, 2015 4:07 am Post subject: |
|
|
Follow the config of the network in the book and use enp5s8 instead of eth0. In the book it also talks about renaming your connection to eth0. This would be an option too. |
|
Back to top |
|
|
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Fri Apr 03, 2015 6:09 am Post subject: |
|
|
What book? The Gentoo Handbook? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Fri Apr 03, 2015 9:32 pm Post subject: |
|
|
Since you already set up for net.eth0, apply the standard workaround for udev mangling your device names. Add net.ifnames=0 to your kernel command line, then reboot. That will tell udev not to mess with your device names.
This comes up pretty often. A Google search shows many people with this happening, and most of the top hits are from people who want to make it stop. Oddly, none of the front page hits are for Gentoo users. |
|
Back to top |
|
|
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Fri Apr 03, 2015 9:58 pm Post subject: |
|
|
That worked. Thank you! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|