Hi everyone, i’m new on Beaglebone Black, but after a long search finally I installed a dongle wifi bringing together articles from different sites and tutorials.
-
Step 1: go to folder /tmp to not fill the space on beaglebone
-
cd /tmp
-
sudo apt-get update
-
wget https://github.com/celsopadilha/rtl8192cu-tjp-dkms_1.6_all/blob/master/rtl8192cu-tjp-dkms_1.6_all.deb
-
wget https://github.com/celsopadilha/linux-headers-3.8.13-bone56_1.0precise_armhf/blob/master/linux-headers-3.8.13-bone56_1.0precise_armhf.deb
-
dpkg -i linux-headers-3.8.13-bone56_1.0precise_armhf.deb
-
sudo apt-get install dkms
-
dpkg -i rtl8192cu-tjp-dkms_1.6_all.deb- Ensure that /usr/src have these folders: /lib ; **/**linux-headers-3.8.13-bone56 ; /linux-3.14.4.1-bone-armhf.com; /rtl8192cu-tjp-1.6.
-
Lets go fix one bug in library timex.h
-
cd /usr/src/linux-headers-3.8.13-bone56/arch/
-
nano /usr/src/linux-headers-3.8.13-bone56/arch/armv7l/include/asm/timex.h- Change #include <mach/timex.h> for: #include </usr/src/linux-headers-3.8.13-bone56/arch/arm/include/asm/timex.h>
-
cd /usr/src/rtl8192cu-tjp-1.6/
-
make
-
cp 8192cu.ko /lib/modules/3.8.13-bone56/kernel/drivers/net/wireless/
-
depmod
-
nano /etc/modprobe.d/blacklist.conf- Add these commands to the end of file:
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi
-
nano /etc/network/interfaces
Now add your wireless network to interfaces file:
WiFi Example
auto wlan0
iface wlan0 inet dhcp
wpa-ssid “mynetwork”
wpa-psk “mynetworkpassword”
-
sudo ifconfig wlan0 up
-
sudo reboot
s
Be happy and have fun, it works for me, i’m doesnt know much about this configuration but is the only that work fine for me.
Sry for my terrible english