Onboard LAN disabled?

After upgrading to Tumbleweed, onboard LAN worked for some time, but stopped working later. Needed to add a PCI LAN card to connect again with the following result:

hofkirchen:~ # lspci|grep Eth
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 05)
03:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
hofkirchen:~ # lshw -c network -sanitize
  *-network DISABLED        
       description: Ethernet interface
       product: Ethernet Connection I217-V
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: enp0s25
       version: 05
       serial: [REMOVED]
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:28 memory:f0500000-f051ffff memory:f053d000-f053dfff ioport:f080(size=32)
  *-network
       description: Ethernet interface
       product: DGE-528T Gigabit Ethernet Adapter
       vendor: D-Link System Inc
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 10
       serial: [REMOVED]
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=[REMOVED] latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
       resources: irq:18 ioport:e000(size=256) memory:f0420000-f04200ff memory:f0400000-f041ffff
hofkirchen:~ #

Any idea how to get enp0s25 working again?

It should have been fixed, but try this:


sudo rcnetwork stop
sudo rm /etc/resolv.conf
sudo rcnetwork start


Output from the above:

hofkirchen:~ # journalctl -b -u wicked|grep 'Nov 07 20:'
Nov 07 20:19:24 hofkirchen systemd[1]: Stopping wicked managed network interfaces...
Nov 07 20:19:24 hofkirchen wicked[6099]: enp3s0          device-ready
Nov 07 20:19:24 hofkirchen wicked[6099]: enp0s25         device-ready
Nov 07 20:19:24 hofkirchen systemd[1]: Stopped wicked managed network interfaces.
Nov 07 20:20:01 hofkirchen systemd[1]: Starting wicked managed network interfaces...
Nov 07 20:20:31 hofkirchen wicked[6440]: lo              up
Nov 07 20:20:31 hofkirchen wicked[6440]: enp3s0          up
Nov 07 20:20:31 hofkirchen wicked[6440]: enp0s25         setup-in-progress
Nov 07 20:20:31 hofkirchen systemd[1]: Started wicked managed network interfaces.
hofkirchen:~ # 

‘setup-in-progress’ lasts forever.

Is your system fully updated?

Updated 51 packages and rebooted just now. But the message from wicked is still: enp0s25 setup-in-progress

What I am wondering about is that every one of the three systems installed on the machine encounters problems with onboard LAN.

Yes, it could well be specific to your ‘Intel Corporation Ethernet Connection I217-V’ NIC

Similar strange behaviour described here…
https://bbs.archlinux.org/viewtopic.php?id=191981

  • Refer to the posts referring to WoL

Wake on LAN is disabled. Tried to reset:

ofkirchen:~ # lspci|grep Eth         
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 05)
03:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
hofkirchen:~ # echo 1 > /sys/devices/pci0000:00/0000:00:19.0/reset
hofkirchen:~ # 

Messages of wicked are unchanged: enp0s25 setup-in-progress

As that thread described (post #5 and #6), it seems that the Linux (e1000e) driver doesn’t (or isn’t able to) properly initialise the NIC

Are you also booting Windows with this machine as well? (Just in case it is the windows environment that has effectively crippled it)

Anything interesting reported with the following?

dmesg|grep e1000e

The machine is openSUSE only. What raised some concerns was a defective USB disk causing trouble. The system reported files to be new, but actually never had been changed. Detaching and restarting udisks2 fixed that. Later on onboard LAN stopped working and never connected to to the router again.

Anything interesting reported with the following?

dmesg|grep e1000e

Nothing special except for some missing lines compared to the working adapter:

[hofkirchen:~ # dmesg|grep r8169
[    3.150570] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    3.150751] r8169 0000:03:00.0 (unnamed net_device) (uninitialized): not PCI Express
    3.151049] r8169 0000:03:00.0 eth0: RTL8169sb/8110sb at 0xffffb82c01b6a000, c4:12:f5:31:b5:05, XID 10000000 IRQ 18
    3.151051] r8169 0000:03:00.0 eth0: jumbo features [frames: 7152 bytes, tx checksumming: ok]
    3.181686] r8169 0000:03:00.0 enp3s0: renamed from eth0
    4.240148] r8169 0000:03:00.0 enp3s0: link down
    4.240152] r8169 0000:03:00.0 enp3s0: link down
    5.854541] r8169 0000:03:00.0 enp3s0: link up
  181.518970] r8169 0000:03:00.0 enp3s0: link down
  183.155310] r8169 0000:03:00.0 enp3s0: link up
hofkirchen:~ # 

hofkirchen:~ # dmesg|grep e1000e
    3.144443] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
    3.144445] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    3.144633] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
    3.255717] e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
    3.360866] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) bc:5f:f4:f7:1d:c6
    3.360868] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
    3.360899] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
    3.377835] e1000e 0000:00:19.0 enp0s25: renamed from eth0
hofkirchen:~ # 

Let’s take a look at the enp0s25 device configuration…

cat /etc/sysconfig/network/ifcfg-enp0s25
hofkirchen:~ # cat /etc/sysconfig/network/ifcfg-enp0s25 BOOTPROTO='dhcp' BROADCAST='' DHCLIENT_SET_DEFAULT_ROUTE='yes' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='Ethernet Connection I217-V' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' hofkirchen:~ #   

After reading

man ifcfg

I note that the following variable is mentioned

LINK_REQUIRED { auto | yes | no }
          While a working and connected link is required for further setup steps, such as bridge STP, link authentication, auto  configu-
          ration  of  the IP address (dhcp, ...) and duplicate IP address detection (enabled by default), it is required in some cases to
          continue the setup without to consider the link detection (carrier), e.g.  in well-known static "router like" setups.  You  may
          want to disable also the duplicate IP detection (see CHECK_DUPLICATE_IP and the ifsysctl(5) manual page).
          This  variable permits to configure the waiting for link-detection.  When set to yes, wicked waits until link has been detected
          before it continues with further steps.  When set to no, wicked is permitted to continue earlier, without to wait for a link in
          a  usable  state.   When  set  to auto (default), an internal logic is applied causing to use a "no" for tun/tap devices (which
          require a driver daemon) and for bridges with enabled STP and without any ports.  In other cases, it behaves as "yes".

I wonder if setting

LINK_REQUIRED=no

in your ifcfg-enp0s25 config file could serve as a workaround here. Just a thought.

Tried that and restarted wicked, resulting in:

e1000e: enp0s25 NIC Link is Down

Just to clarify, do you have it connected to the router, or are you using the other network interface? (If the latter, then it will be reported as down of course.)

If it is connected, what is reported by the following?

sudo /usr/sbin/ethtool enp0s25
hofkirchen:~ # dmesg|grep e1000e
    3.241210] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
    3.241211] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    3.241411] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
    3.360853] e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
    3.470015] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) bc:5f:f4:f7:1d:c6
    3.470018] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
    3.470050] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
    3.471380] e1000e 0000:00:19.0 enp0s25: renamed from eth0
 1877.057711] e1000e: EEE TX LPI TIMER: 00000011
 1877.882845] e1000e 0000:00:19.0: System wakeup enabled by ACPI
 1878.433439] e1000e 0000:00:19.0: System wakeup disabled by ACPI
 1997.458811] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
 1997.458816] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
 2061.733486] e1000e: enp0s25 NIC Link is Down
 2070.775616] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
 2070.775623] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
hofkirchen:~ # ethtool enp0s25
Settings for enp0s25:
        Supported ports:  TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)                                                                                                                                                                                                                                                       
        Supports Wake-on: pumbg                                                                                                                                                                                                                                                
        Wake-on: g                                                                                                                                                                                                                                                             
        Current message level: 0x00000007 (7)                                                                                                                                                                                                                                  
                               drv probe link                                                                                                                                                                                                                                  
        Link detected: yes                                                                                                                                                                                                                                                
hofkirchen:~ # 

Onboard LAN is back! I doubted it would work again, because I already tried plugging the cable to the mainboard at least 10 times and it never worked. Even UEFI did not connect to the network. Output of wicked is now:

hofkirchen:~ # journalctl -b -u wicked
-- Logs begin at Tue 2016-10-25 15:09:12 CEST, end at Tue 2016-11-08 10:35:07 CET. --                                                                                                                                                                                          
Nov 08 09:59:29 hofkirchen systemd[1]: Starting wicked managed network interfaces...                                                                                                                                                                                           
Nov 08 09:59:59 hofkirchen wicked[764]: lo              up                                                                                                                                                                                                                     
Nov 08 09:59:59 hofkirchen wicked[764]: enp3s0          up                                                                                                                                                                                                                     
Nov 08 09:59:59 hofkirchen wicked[764]: enp0s25         setup-in-progress                                                                                                                                                                                                      
Nov 08 09:59:59 hofkirchen systemd[1]: Started wicked managed network interfaces.                                                                                                                                                                                              
Nov 08 10:34:23 hofkirchen systemd[1]: Stopping wicked managed network interfaces...                                                                                                                                                                                           
Nov 08 10:34:24 hofkirchen wicked[3830]: enp3s0          device-ready                                                                                                                                                                                                          
Nov 08 10:34:24 hofkirchen wicked[3830]: enp0s25         device-ready                                                                                                                                                                                                          
Nov 08 10:34:24 hofkirchen systemd[1]: Stopped wicked managed network interfaces.                                                                                                                                                                                              
Nov 08 10:34:31 hofkirchen systemd[1]: Starting wicked managed network interfaces...                                                                                                                                                                                           
Nov 08 10:35:01 hofkirchen wicked[4183]: lo              up                                                                                                                                                                                                                    
Nov 08 10:35:01 hofkirchen wicked[4183]: enp3s0          setup-in-progress                                                                                                                                                                                                     
Nov 08 10:35:01 hofkirchen wicked[4183]: enp0s25         up                                                                                                                                                                                                                    
Nov 08 10:35:01 hofkirchen systemd[1]: Started wicked managed network interfaces.                                                                                                                                                                                              
hofkirchen:~ # 

But I am really clueless what changed things. Many thanks for helping!

You would’t be the first one to be confronted with a broken UTP cable/connector.

Well, that would point to a physical connection issue or possibly BIOS configuration impacting on the NIC.

But I am really clueless what changed things. Many thanks for helping!

I’m glad it’s behaving as expected now anyway. :slight_smile: