Get headers from the kernel dev's site. These match the kernel at the current time
wget http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone20/linux-headers-3.8.13-bone20_1.0wheezy_armhf.deb
dpkg -i linux-headers-3.8.13-bone20_1.0wheezy_armhf.deb
Still need more source. Need to get mainline source and then patch it
wget https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.8.13.tar.bz2
wget http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone20/patch-3.8.13-bone20.diff.gz
wget http://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone20/defconfig
Uncompress source & wait
tar xvjf linux-3.8.13.tar.bz2
Cd /linux-3.8.13
Apply Patch. If patch doesn’t exist then apt-get install patch
zcat ../patch-3.8.13-bone20.diff.gz | patch -p1
copy defconfig:
cp ../defconfig .config
Put it in the correct directory
sudo mv linux-3.8.13 /usr/src/
cd /usr/src/linux-3.8.13
sudo make oldconfig
sudo make prepare
sudo make modules_prepare
Go back to driver source folder
Cd ~/wifi/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105
follow instructions on http://bonenotes.tumblr.com/ to patch source
wget https://raw.github.com/cmicali/rtl8192cu_beaglebone/master/util/rtl-8192-beaglebone-linux-3.8.patch
patch -p1 < rtl-8192-beaglebone-linux-3.8.patchmake KSRC=/usr/src/linux-3.8.13/ CROSS_COMPILE= ARCH=arm
sudo insmod 8192cu.ko
Error: could not insert module 8192cu.ko: Invalid module format
To get the Edimax EW-7811Un usb wifi adapter to work on debian with Robert Nelson's kernel
Get kernel source, headers and patch using script
wget https://raw.github.com/gkaindl/beaglebone-ubuntu-scripts/master/bb-get-rcn-kernel-source.sh
chmod +x bb-get-rcn-kernel-source.sh
./bb-get-rcn-kernel-source.sh
Get wifi driver source and compile
Following steps from http://bonenotes.tumblr.com/
Download the Unix/Linux driver from the Realtek web site - It will be called something like RTL8192xC_USB_linux_v3.4.4_4749.20121105.zip
Unzip the file and then unpack the driver source which is driver/tl8188C_8192C_usb_linux_v3.4.4_4749.20121105.tar.gz in the zip file
cp rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.tar.gz ~/
tar xvfz rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.tar.gz
cd rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105
Download this patch to add BB config and to fix building on linux 3.8 into the driver directory and apply it
wget https://raw.github.com/cmicali/rtl8192cu_beaglebone/master/util/rtl-8192-beaglebone-linux-3.8.patch
patch -p1 < rtl-8192-beaglebone-linux-3.8.patch
Build the driver
make CROSS_COMPILE=
Install the driver, as root
make install
edit the file "/etc/modprobe.d/blacklist.conf" and add the line so that the old module is not used.
blacklist rtl8192cu
Load module, as root
modprobe 8192cu
The module should load itself at reboot
It's awesome that you got it to work .I tried to do the same to rtl8192eu and sadly the patch by cmicali does not work. Is there any chance to get it to work.Or should I ask cmicali for instructions on patching.Thank you.