Hello I have a minim8 s905x box running 703012h,I have a USB wifi dongle that I prefer to use over the internal chip,is there a way to disable it completely so as not to compete with the external adapter? Also will Bluetooth be affected after disabling internal chip?
Disable onboard wifi through SSH? (S905x)
-
Fastrap87 -
February 12, 2017 at 7:09 PM -
Thread is Unresolved
-
-
Hello I have a minim8 s905x box running 703012h,I have a USB wifi dongle that I prefer to use over the internal chip,is there a way to disable it completely so as not to compete with the external adapter? Also will Bluetooth be affected after disabling internal chip?You should be able to use the 'sudo ifconfig wlan down' to disable the interface. You have to determine the interface name beforehand using ifconfig.
-
Does that require another sudo command?
[hr]
Tried it with wlan0 it worked until a rebooted the box,now the onboard wifi is back on -
You can put the command in the file autostart.sh in the config directory. This file is executed every time libreelec starts. The old openelec wiki describes it nicely:
-
You can put the command in the file autostart.sh in the config directory. This file is executed every time libreelec starts. The old openelec wiki describes it nicely:So copy and paste ifconfig wlan0 down somewhere in the auto start.sh file? Can I edit it through notepad through samba shares on Linux mint?
-
Didn't work
-
-
Thank you
-
Thank youSpoke too soon, this method no longer works with the latest 8.0.0b release. I tried it with both of my boxes one an s905 by sunvell and the other a s905x mini ms8II
-
Maybe the devices get enumerated differently in the new version. Could you check with ssh what the output of "ifconfig" is?
-
The easiest way I can think of - check which module is your WiFi chip using in lsmod then add it to blacklist.
Example when module is 8189es: echo "blacklist 8189es" >> /storage/.config/modprobe.d/blacklist.conf
-
Maybe the devices get enumerated differently in the new version. Could you check with ssh what the output of "ifconfig" is?see attachment
[hr]
The easiest way I can think of - check which module is your WiFi chip using in lsmod then add it to blacklist.Example when module is 8189es: echo "blacklist 8189es" >> /storage/.config/modprobe.d/blacklist.conf
8192eu is my module, i used this command then rebooted but still no luck.
-
Is the 8192eu not your usb wlan stick? You should blacklist the module used for the internal wlan.
You can check the loaded modules with "lsmod" using ssh. But you'll need to comment your lines in autostart.sh and blacklist.conf and reboot, so we can see both modules and interfaces.
-
Fastrap87 From MAC address I can tell that you need to blacklist dhd instead.
-
Is the 8192eu not your usb wlan stick? You should blacklist the module used for the internal wlan.You can check the loaded modules with "lsmod" using ssh. But you'll need to comment your lines in autostart.sh and blacklist.conf and reboot, so we can see both modules and interfaces.
I got 8192eu without the dongle inserted
nevermind, ran lsmod again after rebooting and now it shows cfg80211
[hr]
Fastrap87 From MAC address I can tell that you need to blacklist dhd instead.
not familiar with the acroynm..what does dhd stand for? -
dhd is a module used by broadcom wifi drivers.
-
It is also a module name. So all you need to do now is echo "blacklist dhd" > /storage/.config/modprobe.d/blacklist.conf
-
It is also a module name. So all you need to do now is echo "blacklist dhd" > /storage/.config/modprobe.d/blacklist.confok ill do that and one for the cfg80211
-