You are not logged in.

#1 2012-12-18 23:15:11

mohack
Member
Registered: 2012-11-16
Posts: 13

[SOLVED] Eth0 issue

Hi guys!

I installed Arch on three systems now, on two of them it's running like a charm. But on the third, a desktop pc, I have a strange networking issue. Sometimes after booting I have no internet connection at all, cannot ping and "ip addr" only shows lo and no eth0/1. When I reboot, internet and LAN works properly for a couple of minutes (like now), but then I lose connection and eth0.

Here are the outputs of "ip link show", "lspci", "lsmod" when eth0 is down. Does anyone have an idea? Thanks!

$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether 00:0f:ea:ec:29:f7 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:0f:ea:ec:29:f9 brd ff:ff:ff:ff:ff:ff


$ lspci
00:00.0 Host bridge: NVIDIA Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: NVIDIA Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB controller: NVIDIA Corporation CK8S USB Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation CK8S USB Controller (rev a1)
00:02.2 USB controller: NVIDIA Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:05.0 Bridge: NVIDIA Corporation CK8S Ethernet Controller (rev a2)
00:06.0 Multimedia audio controller: NVIDIA Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
00:08.0 IDE interface: NVIDIA Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: NVIDIA Corporation nForce3 Serial ATA Controller (rev a2)
00:0b.0 PCI bridge: NVIDIA Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: NVIDIA Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 GT] (rev a2)
02:09.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
02:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
02:0d.0 Mass storage controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
02:0e.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 01)


$ lsmod
Module                  Size  Used by
fuse                   60479  3 
nouveau               799589  2 
mxm_wmi                 1136  1 nouveau
wmi                     7196  2 mxm_wmi,nouveau
video                   9885  1 nouveau
ttm                    46988  1 nouveau
drm_kms_helper         28942  1 nouveau
drm                   180117  4 ttm,drm_kms_helper,nouveau
skge                   35196  0 
snd_ice1712            49850  0 
snd_cs8427              5910  1 snd_ice1712
snd_ice17xx_ak4xxx      1953  1 snd_ice1712
snd_ak4xxx_adda         6890  2 snd_ice1712,snd_ice17xx_ak4xxx
snd_i2c                 3135  2 snd_ice1712,snd_cs8427
snd_mpu401_uart         4944  1 snd_ice1712
snd_rawmidi            14983  1 snd_mpu401_uart
snd_seq_device          4285  1 snd_rawmidi
powernow_k8            11922  0 
i2c_algo_bit            4584  1 nouveau
snd_intel8x0           22830  0 
mperf                   1024  1 powernow_k8
processor              24040  1 powernow_k8
snd_ac97_codec         89968  2 snd_ice1712,snd_intel8x0
ac97_bus                 875  1 snd_ac97_codec
snd_pcm                61958  3 snd_ice1712,snd_ac97_codec,snd_intel8x0
snd_page_alloc          5902  2 snd_intel8x0,snd_pcm
snd_timer              14903  1 snd_pcm
snd                    45098  11 snd_ice1712,snd_ac97_codec,snd_intel8x0,snd_timer,snd_i2c,snd_pcm,snd_rawmidi,snd_ak4xxx_adda,snd_mpu401_uart,snd_seq_device,snd_cs8427
soundcore               4379  1 snd
i2c_nforce2             4464  0 
psmouse                71891  0 
pcspkr                  1456  0 
ns558                   1832  0 
gameport                6265  2 ns558
button                  3711  1 nouveau
serio_raw               3714  0 
evdev                   7663  6 
i2c_core               16944  5 drm,drm_kms_helper,i2c_algo_bit,nouveau,i2c_nforce2
k8temp                  2559  0 
amd64_agp               6276  1 
shpchp                 22302  0 
agpgart                21936  3 drm,ttm,amd64_agp
pci_hotplug            20151  1 shpchp
ppdev                   4751  0 
parport_pc             26474  0 
forcedeth              50406  0 
parport                26032  2 ppdev,parport_pc
ext4                  402657  2 
crc16                   1092  1 ext4
jbd2                   66384  1 ext4
mbcache                 4387  1 ext4
hid_generic              710  0 
usbhid                 32211  0 
sr_mod                 13149  0 
hid                    68226  2 hid_generic,usbhid
cdrom                  30345  1 sr_mod
sd_mod                 27312  3 
ata_generic             2435  0 
pata_acpi               2400  0 
firewire_ohci          27535  0 
firewire_core          45541  1 firewire_ohci
crc_itu_t               1096  1 firewire_core
sata_sil                6212  0 
pata_amd                8199  2 
sata_nv                17456  0 
ohci_hcd               19057  0 
libata                146129  5 pata_acpi,sata_sil,sata_nv,pata_amd,ata_generic
scsi_mod              113073  3 libata,sd_mod,sr_mod
ehci_hcd               36685  0 
usbcore               126796  3 ohci_hcd,ehci_hcd,usbhid
usb_common               623  1 usbcore
floppy                 48487  0 

Last edited by mohack (2012-12-21 13:21:41)

Offline

#2 2012-12-19 11:04:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: [SOLVED] Eth0 issue

Have you tried replacing the cable ?

Do both eth0 and eth1 have this problem ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2012-12-19 18:01:22

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] Eth0 issue


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2012-12-19 19:38:57

mohack
Member
Registered: 2012-11-16
Posts: 13

Re: [SOLVED] Eth0 issue

Mr.Elendig: Thanks, that did the trick! I googled my ass off, but I didn't come across that udev issue.

EDIT: No, it didn't. It worked when I manually started dhcpcd@net1.service, but after reboot I don't get any connection. Since I need a static IP, I configured /etc/network.d/ethernet-static accordingly, with INTERFACE='net1' instead of eth0, as it was before. Also tried net0, since I renamed both eth-devices according to your link.
systemctl says, that net-auto-wired.service is loaded, active and running. Any ideas?

Last edited by mohack (2012-12-19 20:20:08)

Offline

#5 2012-12-19 21:43:46

mohack
Member
Registered: 2012-11-16
Posts: 13

Re: [SOLVED] Eth0 issue

Ok, what I found out so far: I just moved /etc/systemd/system/sysinit.target.wants/dhcpcd@eth0.service to ...@net1.service and changed its "Alias" entry to ...@net1.service.
Now it looks like systemd is actually loading net1 and my connections works. But what I don't get is why my previous command "systemctl enable dhcpcd@net1.service" didn't have any effect. Does anyone know why?
Anyway, this solved the problem only half way, because I still need to get a static IP working after booting. So I have started "systemctl enable net-auto-wired.service". And I changed /etc/network.d/ethernet-static to net1 instead of eth0, but it doesn't work. "systemctl status net-auto-wired" tells me, that the service i running and active, but it shows

270 /usr/bin/ifplugd -i eth0 -r /etc/ifplugd/netcfg.action -fIns

so it is still using eth0, although I changed the config file to net1. What else do I have to change so that ifplugd uses net1?
Thanks!

Offline

#6 2012-12-21 00:22:44

mohack
Member
Registered: 2012-11-16
Posts: 13

Re: [SOLVED] Eth0 issue

So what gives me a connection is

systemctl start dhcpcd@net1.service

. So I know that device net1 works and that the cable is plugged into this device.
But since I don't want to use dhcp, but static IP via ifplugd, I configured  /etc/ifplugd/ifplugd.conf to INTERFACE="net1" and also in /etc/network.d/ethernet-static INTERFACE='net1'. But still,

systemctl status net-auto-wired

gives me

/usr/bin/ifplugd -i eth0 -r /etc/ifplugd/netcfg.action -fIns

.
Where does that eth0 still come from and how do I get rid of it, so I can get a static IP?
Thanks!

Offline

#7 2012-12-21 00:40:33

mohack
Member
Registered: 2012-11-16
Posts: 13

Re: [SOLVED] Eth0 issue

Got it! If anyone else has a similar problem: I had to enter "net1" instead of "eth0" in /etc/conf.d/netcfg, because the net-auto-wired service pulls the device name from there.

Offline

#8 2012-12-21 13:16:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] Eth0 issue

Please tag the thread with [Solved] (preferably in the front)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB