To install the drivers, get them from Realtek, https://www.realtek.com/Download/List?cate_id=585 the "USB NIC Linux driver for kernel up to *"
Extract the drivers, open the extracted driver directory up in a terminal, and run these commands.
Code: Select all
sudo make
sudo make modules
sudo make install
sudo depmod -a
sudo update-initramfs -u
sudo make install
sudo depmod -a
sudo update-initramfs -u
reboot
You can check if the driver is being used, the network manager, at least for me, shows the driver in use for the network adapter. It should also show 5Gbps or anything other than the 800ish or so Mbps that it shows without the correct driver. You can also check the version with `modinfo r8152` in a terminal.
For each new kernel upgrade you make, you will need to repeat this process, if you update often, you will need to repeat this often. I don't know how or if this can be automated, Linux is weird and incompatible at the best of times.
For SEO purposes, I'm going to have to mention all applicable adapters here, as I suspect someone like me searching this will search `(adapter they have) Linux driver install guide` and not specifically for the rtl8152 or r8152, the name of the driver, which corresponds to a 10/100 adapter. RTL8152B RTL8153 RTL8153B RTL8153C RTL8153D RTL8153E RTL8154 RTL8154B RTL8156 RTL8156B RTL8156BG RTL8156G RTL8157 RTL8159
