Tumbleweed RTL8111/8168/8411 "setting network address" no internet

Tumbleweed KDE4 , Kernel 5.5.6-1 ,Network manager , Wired Network

For a while i had connection with previous kernels and r8168-blacklist-r8169 and r8168 from Packman .
But after each kernel-update lately , i couldn’t get a connection without some fiddling until the next reboot or startup .
Now with the latest update i had no success to get it to work as i did before ( don’t even know exactly what i did )
Although , when i switch to Wicked (Wicked does not work either ) and back to Network manager it connects sometimes .
Also when i go back to (working ) kernel 5.5.5-1 and reboot back into kernel 5.5.6-1 it connects sometimes .

# /sbin/lspci -nnk | grep -iA3 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
        Kernel driver in use: r8168
        Kernel modules: r8169, r8168
02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01)
        Subsystem: Qualcomm Atheros Device [168c:3117]
        Kernel driver in use: ath9k
        Kernel modules: ath9k
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
        Kernel driver in use: r8168
        Kernel modules: r8169, r8168

Tried everything on the net to get it to work , it won’t connect automatic .
Last resort : the professionals …T.I.A.
rudi

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:e0:7c:68:0b:c4 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:e0:7c:68:0b:c5 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 3a:c2:eb:36:fb:26 brd ff:ff:ff:ff:ff:ff
5: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:e0:4c:53:44:58 brd ff:ff:ff:ff:ff:ff

eth1 has the rj-45 cable and shows UP

When you start a non working kernel post:

zypper se -si r816
uname -a

Thank you for the quick reply

zypper se -si r816
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                | Arch   | Repository        
---+-----------------------+---------+------------------------+--------+-------------------
i+ | r8168-blacklist-r8169 | package | 8.048.00-1.10          | x86_64 | Packman Repository
i  | r8168-kmp-default     | package | 8.048.00_k5.5.6_1-1.10 | x86_64 | Packman Repository



uname -a
Linux linux-8one 5.5.6-1-default #1 SMP Mon Feb 24 09:02:31 UTC 2020 (4a830b1) x86_64 x86_64 x86_64 GNU/Linux


journalctl -b

NetworkManager[1212]: 

Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7244] policy: auto-activating connection 'Wired connection 1' (86800b60-5e94-320e-b5bb-5701707e0b49)
Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7269] device (eth1): Activation: starting connection 'Wired connection 1' (86800b60-5e94-320e-b5bb-5701>
Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7274] device (eth1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7294] device (eth1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7536] device (eth1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 05 09:41:15 linux-8one NetworkManager[1212]: <info>  [1583397675.7542] dhcp4 (eth1): activation: beginning transaction (timeout in 45 seconds)
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <warn>  [1583397720.6872] dhcp4 (eth1): request timed out
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <info>  [1583397720.6873] dhcp4 (eth1): state changed unknown -> timeout
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <info>  [1583397720.6875] device (eth1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state>
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <warn>  [1583397720.6929] device (eth1): Activation: failed for connection 'Wired connection 1'
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <info>  [1583397720.6949] device (eth1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <info>  [1583397720.7147] dhcp4 (eth1): canceled DHCP transaction
Mar 05 09:42:00 linux-8one NetworkManager[1212]: <info>  [1583397720.7147] dhcp4 (eth1): state changed timeout -> done

Why not the r8169 from kernel?

Also you can try this 2 packages from this Repo:
https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/

https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/x86_64/r8168-kmp-default-8.048.00_k5.5.6_1-59.16.x86_64.rpm
https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/x86_64/r8168-blacklist-r8169-8.048.00-59.16.x86_64.rpm

r8169 didn’t work or was unstable with previous kernels , by searching the net i found r8168 that worked good till now .
Tried your repo , still the same .
Now i’m back on r8169 as you suggested and it’s working for the moment .
Did a few reboots and keeps connecting with this kernel 5.5.6-1
The next kernel updates i’ll switch around what’s working at that moment .

Anyway , thanks for your help .

rudi

My solution .
Few days later i lost connection again .
I went back and forth between R8168 and R8169 , even installed Opensuse 15.1 , no change .
Strange thing is , when i rmmod and modprobe a few times , networkmanager connect .
So i made a script . run it 1 or 2 times , and network connects .
Thats it , no more frustration with this ^%$&^###! network .


#!/bin/bash

ip link set eth1 down
 
sudo rmmod r8169

sudo modprobe r8169

ip link set eth1 up

If you are using r8169, you can delete both r8168 packages…