[TUTORIAL] USB WIFI using RTL8192cu on BBB running Ubuntu 14.04

After an extremely long hack session I finally got RTL8192cu to run on Beaglebone Black A5C/A6 running Ubuntu 14.04. It was painful. But here is a log of my experience with it.

Step 1. Installing Ubuntu 14.04 (flashing eMMC)

This is the process. Download the image to your sd card and then burn it to the eMMC. Warning: You will need to connect to the internet first using eth over USB or the ethernet port.

Step 2. Update & Upgrade

$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install build-essential git vim linux-headers-generic linux-headers-uname -r`


Step 3. Build the realtek 8192cu kernel module

Clone the repo here.

$ git clone https://github.com/cmicali/rtl8192cu_beaglebone.git
$ cd rtl8192cu_beaglebone


Step 4. Put the module into the appropriate directory

This will build the module. Now you simply take it and put it in /lib/modules/uname -r

$ sudo mv 8192cu.ko /lib/modules/uname -r$ sudo depmod -a $ sudo sudo vim /etc/modules

Add 8192cu to the list and the file is probably empty. Save the file.


/etc/modules: kernel modules to load at boot time.