I am trying to change my WiFi driver, per suggestions here. I found this repository that claims to have what I want. Upon running the install script, everything goes well, except for the last step, where it uses modinfo to check if the new drivers are being used. It says that the old driver is still being used.
After some investigation, I found that modinfo is the source of the script's report. I found that I now have two drivers with the same name, only one of which I want to use. They are located at:
The old one:
/lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko and the new one:
/lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko modinfo is reporting the old one, and I am trying to use the new one instead. The man page for modinfo just says that it searches for the file name in /lib/modules/4.13.0-16-generic. If I pass the more specific location, it can be made to find either driver.
I imagine that this means that the new driver is not being used, and I would like to change that. I have looked up some solutions, but they tend to include phrases like "you could end up with an unbootable system," so I have not fiddled too much. I am far from an expert on drivers...
So my question is: how do I get the new driver working in a situation like this?
In response to comments:
sudo modprobe -rv rtl8192ce yields
rmmod rtl8192ce rmmod rtl8192c_common rmmod rtl_pci rmmod rtlwifi rmmod mac80211 rmmod cfg80211 and
sudo modprobe -v rtl8192ce yields
insmod /lib/modules/4.13.0-16-generic/kernel/net/wireless/cfg80211.ko insmod /lib/modules/4.13.0-16-generic/kernel/net/mac80211/mac80211.ko insmod /lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko insmod /lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko insmod /lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko insmod /lib/modules/4.13.0-16-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko ips=0 fwlps=0 swenc=1 Incidentally, running those commands killed the wifi, necessitating a reboot (this is probably a manifestation of the issue I was trying to solve by changing drivers?).
modprobe -rv rtl8192ceandmodprobe -v rtl8192ce? please edit herefirmware-realtekpackage then runmodprobe -rv rtl8192cemodprobe -rv rtl8192cechanged?