I have a usb hub with an ethernet converter (https://www.anker.com/products/A7522012) which I would like to use to connect to the internet when wifi is not available. Unfortunately the connection is not recognised automatically. The only way I have found to start yast's network settings configuration. The probe that does is the only thing I have found to initiate an ethernet connection with this ethernet converter.

The ethernet converter (from Realtek) uses the r8152 driver.

When I initially plug in an ethernet cable to the converter nothing happens. Here is dmesg output:

Code:
[   11.556476] usbcore: registered new interface driver r8152
[   11.556732] initcall rtl8152_driver_init+0x0/0x1000 [r8152] returned 0 after 151778 usecs
[   11.558942] calling  usbnet_init+0x0/0x1000 [usbnet] @ 688
[   11.559202] initcall usbnet_init+0x0/0x1000 [usbnet] returned 0 after 0 usecs
[   11.561122] r8152 2-3.1.3:1.0 enp0s20u3u1u3: renamed from eth0
[   11.561536] calling  cdc_driver_init+0x0/0x1000 [cdc_ether] @ 688
[   11.561866] usbcore: registered new interface driver cdc_ether
[   11.562151] initcall cdc_driver_init+0x0/0x1000 [cdc_ether] returned 0 after 321 usecs
[   11.596038] IPv6: ADDRCONF(NETDEV_UP): enp0s20u3u1u3: link is not ready
[   11.625811] IPv6: ADDRCONF(NETDEV_UP): enp0s20u3u1u3: link is not ready
When I first try the yast network settings (that is when I plug in the converter to a usb port) the computer completely freezes then crashes, just switches off and reboots. After this reboot the ethernet works fine. If I unplug the cable and re-plug it in I have to reload yast network settings to initiate the connection again.

The hub and converter comes with udev rules, which I tried placing in /etc/udev/rules.d but this did not help. I also found a post on the ArchWiki (https://bbs.archlinux.org/viewtopic.php?id=193238) which suggested adding the line USB_BLACKLIST="0bda:8152" to /etc/default/tlp. This also did not help.

The hub also comes with code to compile the kernel module (which I think is a later version than the one already in the kernel), but the compilation fails with the error
Code:
 error: ‘NETIF_F_ALL_CSUM’ undeclared (first use in this function)
Any help would be appreciated. Basically all I would like is to be able to plug in the hub and an ethernet cable and be connected to the internet, without having to reboot or start up yast to initiate the connection.