User Tools

  • (equal to forum credentials)

Site Tools


usb_wifi_dongles

This is an old revision of the document!


USB WiFi dongles

All below BASH commands needs to be executed as user 'root'.

When your WiFi dongle is detected and drivers are loaded properly, easiest way to change WiFi settings is using:

xbian-config

Sometimes the WiFi connection cant be established quick enough on boot and you run into problems if using a shared MySQL database for Kodi/XBMC.
To delay Kodi/XBMC at boot (asuming WiFi is on 'wlan0' interface):

sed -i "s/start on started mountall/start on started mountall and started networking and net-device-up wlan0/" /etc/init/xbmc-preload.conf

If your WiFi dongle is designated as 'wlan1' and you want to change to 'wlan0' if not conflicting with other interfaces, you can alter in below file if exists:

nano /etc/udev/rules.d/70-persistent-net.rules

To see vendor/device id for connected USB devices use below command:

lsusb

Vendor/device id “0bda:8179”:
Driver is already installed at ”/lib/modules/$(uname -r)/kernel/drivers/staging/rtl8188eu/r8188eu.ko”.
But needs below firmware:

wget https://github.com/lwfinger/rtl8188eu/raw/master/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
echo "options r8188eu rtw_power_mgnt=0 rtw_enusbss=0" > /etc/modprobe.d/r8188eu.conf
reboot

Vendor/device id “0df6:0077”:

echo 'install 8192cu /sbin/modprobe --ignore-install 8192cu; /bin/echo "0df6 0077" >| /sys/bus/usb/drivers/rtl8192cu/new_id' | sudo tee /etc/modprobe.d/8192cu.conf
echo "options 8192cu rtw_power_mgnt=0 rtw_enusbss=0" >> /etc/modprobe.d/8192cu.conf
echo "8192cu" >> /etc/modules
reboot

usb_wifi_dongles.1433764947.txt.gz · Last modified: 2015/06/08 14:02 by deHakkelaar