User Tools

  • (equal to forum credentials)

Site Tools


usb_wifi_dongles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

usb_wifi_dongles [2015/06/08 18:17]
deHakkelaar
usb_wifi_dongles [2015/06/10 17:14] (current)
deHakkelaar
Line 1: Line 1:
 **USB WiFi dongles** **USB WiFi dongles**
  
-All below BASH commands needs to be executed as user '​root'​.\\+Most all below BASH commands needs to be executed as user '​root'​.\\
 Best practice if troubleshooting/​installing WiFi is to login via SSH using the wired interface '​eth0'​. Best practice if troubleshooting/​installing WiFi is to login via SSH using the wired interface '​eth0'​.
  
Line 7: Line 7:
 <​code>​xbian-config</​code>​ <​code>​xbian-config</​code>​
  
-Sometimes the WiFi connection cant be established quick enough on boot and you run into troubles if using a shared MySQL database for Kodi/​XBMC.\\ +To check WiFi status
-To delay Kodi/XBMC at boot (asuming ​WiFi is on '​wlan0'​ interface)+<​code>​iwconfig</​code>​
-<​code>​sed -i "​s/​start on started mountall/​start on started mountall and started networking and net-device-up wlan0/"​ /​etc/​init/​xbmc-preload.conf</​code>​+
  
 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: 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:
Line 15: Line 14:
 reboot</​code>​ reboot</​code>​
  
-To determine vendor/​device id for connected USB devices ​use below command:+Sometimes the WiFi connection cant be established quick enough on boot and you run into troubles if using a shared MySQL database for Kodi/​XBMC.\\ 
 +To delay Kodi/XBMC at boot (asuming WiFi is on '​wlan0'​ interface):​ 
 +<​code>​sed -i "​s/​start on started mountall/​start on started mountall and started networking and net-device-up wlan0/"​ /​etc/​init/​xbmc-preload.conf</​code>​ 
 + 
 +List '​wlan0'​ driver specific parameters:​ 
 +<​code>​grep ''​ /​sys/​module/​$(readlink /​sys/​class/​net/​wlan0/​device/​driver/​module | xargs -n 1 basename)/​parameters/​*</​code>​ 
 + 
 +To determine vendor/​device id for connected USB devices:
 <​code>​lsusb</​code>​ <​code>​lsusb</​code>​
  
 **Vendor/​device id "​0bda:​8179"​**\\ **Vendor/​device id "​0bda:​8179"​**\\
-Driver is already installed at "/​lib/​modules/​$(uname -r)/​kernel/​drivers/​staging/​rtl8188eu/​r8188eu.ko"​.\\+Driver is already installed at //"/​lib/​modules/​$(uname -r)/​kernel/​drivers/​staging/​rtl8188eu/​r8188eu.ko"​//.\\
 But needs below firmware blob: But needs below firmware blob:
 <​code>​mkdir /​lib/​firmware/​rtlwifi <​code>​mkdir /​lib/​firmware/​rtlwifi
Line 27: Line 33:
  
 **Vendor/​device id "​0df6:​0077"​**\\ **Vendor/​device id "​0df6:​0077"​**\\
-Firmware blob is already installed at "/​lib/​firmware/​rtlwifi/​rtl8192cufw.bin"​.\\ +Firmware blob is already installed at //"/​lib/​firmware/​rtlwifi/​rtl8192cufw.bin"​//.\\ 
-But needs a driver:\\ +But needs a driver ​assigned thats already installed:\\ 
-<​code>​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+<​code>​echo '​install 8192cu /​sbin/​modprobe --ignore-install 8192cu; /bin/echo "0df6 0077" >| /​sys/​bus/​usb/​drivers/​rtl8192cu/​new_id'​ | tee /​etc/​modprobe.d/​8192cu.conf
 echo "​options 8192cu rtw_power_mgnt=0 rtw_enusbss=0"​ >> /​etc/​modprobe.d/​8192cu.conf echo "​options 8192cu rtw_power_mgnt=0 rtw_enusbss=0"​ >> /​etc/​modprobe.d/​8192cu.conf
 echo "​8192cu"​ >> /​etc/​modules echo "​8192cu"​ >> /​etc/​modules
 reboot</​code>​ reboot</​code>​
usb_wifi_dongles.1433780251.txt.gz · Last modified: 2015/06/08 18:17 by deHakkelaar