How to Install rtl8192cu based Wifi on the Beaglebone Black (BBB)
$opkg update
$opkg install kernel-dev
$opkg install kernel-headers
Now reboot Your System
$opkg install kernel-dev
$opkg install kernel-headers
Now reboot Your System
Run the Following Commands
$ ln -s /usr/src/kernel /lib/modules/$(uname -r)/build
$ cd ~
$ git clone git://github.com/cmicali/rtl8192cu_beaglebone.git
$ cd rtl8192cu_beaglebone
$ make CROSS_COMPILE=""
Now Install the rtl8192cu driver
$mv 8192cu.ko /lib/modules/$(uname -r)
$depmod -a
$cd /etc/modules-load.d
$echo "8192cu" > rtl8192cu-vendor.conf
Blacklist the old RealTek wifi drivers
$cd /etc/modprobe.d
$echo "install rtl8192cu /bin/false" >wifi_blacklist.conf
$echo "install rtl8192c_common /bin/false" >>wifi_blacklist.conf
$echo "install rtlwifi /bin/false" >>wifi_blacklist.conf
Edit /var/lib/connman/settings and enable WIFI
[global]
OfflineMode=false
[Wired]
Enable=true
Tethering=false
[WiFi]
Enable=true
Tethering=false
Encrypt your passphrase
$ wpa_passphrase YourSSID YourPassphrase
Edit /var/lib/connman/wifi.config and set it to the following
[service_home]
Type=wifi
Name=YourSSID
Passphrase=YourEncryptedPassphrase
Plug in your WIFI adaptor and reboot
$shutdown -r 0
Sources : bonenotes.tumblr.com/
nomel.org/post/30357133735/beaglebone-tutorial-how-to-compile-kernel-modules-and
$ cd ~
$ git clone git://github.com/cmicali/rtl8192cu_beaglebone.git
$ cd rtl8192cu_beaglebone
$ make CROSS_COMPILE=""
Now Install the rtl8192cu driver
$mv 8192cu.ko /lib/modules/$(uname -r)
$depmod -a
$cd /etc/modules-load.d
$echo "8192cu" > rtl8192cu-vendor.conf
Blacklist the old RealTek wifi drivers
$cd /etc/modprobe.d
$echo "install rtl8192cu /bin/false" >wifi_blacklist.conf
$echo "install rtl8192c_common /bin/false" >>wifi_blacklist.conf
$echo "install rtlwifi /bin/false" >>wifi_blacklist.conf
Edit /var/lib/connman/settings and enable WIFI
[global]
OfflineMode=false
[Wired]
Enable=true
Tethering=false
[WiFi]
Enable=true
Tethering=false
Encrypt your passphrase
$ wpa_passphrase YourSSID YourPassphrase
Edit /var/lib/connman/wifi.config and set it to the following
[service_home]
Type=wifi
Name=YourSSID
Passphrase=YourEncryptedPassphrase
Plug in your WIFI adaptor and reboot
$shutdown -r 0
Sources : bonenotes.tumblr.com/
nomel.org/post/30357133735/beaglebone-tutorial-how-to-compile-kernel-modules-and
No comments:
Post a Comment