I am running Wheezy (Linux arm 3.8.13-bone26 #1 SMP Fri Aug 16 20:56:24 UTC 2013 armv7l GNU/Linux) on a BeagleBone Black. I'm trying to get it to run a USB Wi-Fi adapter with an RTL8188CUS chipset under hostapd.
The kernel doesn't appear to have the right driver, so I got the driver source from Realtek (
http://www.realtek.com.tw/downloads/...Downloads=true), unzippd it and ran install.sh as root (yeah, I know, risky, but it was on a development system, so its sandboxed)
On trying to run the install script, it proceeds for a while, then comes back with
Quote:
Authentication requested [root] for make driver:
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.8.13-bone26/build M=/var/www/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 modules
make: *** /lib/modules/3.8.13-bone26/build: No such file or directory. Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
|
.
I can't disagree with the diagnosis, when you look at the /lib/modules/3.8.13-bone26 directory, you get the following:
Quote:
root@arm:/lib/modules/3.8.13-bone26# ls -al
total 1244
drwxr-xr-x 3 root root 4096 Oct 27 22:42 .
drwxr-xr-x 6 root root 4096 Oct 29 21:16 ..
drwxr-xr-x 9 root root 4096 Aug 16 21:02 kernel
-rw-r--r-- 1 root root 326509 Aug 26 21:36 modules.alias
-rw-r--r-- 1 root root 346769 Aug 26 21:36 modules.alias.bin
-rw-r--r-- 1 root root 12018 Aug 16 21:01 modules.builtin
-rw-r--r-- 1 root root 14571 Aug 26 21:36 modules.builtin.bin
-rw-r--r-- 1 root root 89361 Aug 26 21:36 modules.dep
-rw-r--r-- 1 root root 143605 Aug 26 21:36 modules.dep.bin
-rw-r--r-- 1 root root 163 Aug 26 21:36 modules.devname
-rw-r--r-- 1 root root 49730 Aug 16 21:01 modules.order
-rw-r--r-- 1 root root 131 Aug 26 21:36 modules.softdep
-rw-r--r-- 1 root root 111663 Aug 26 21:36 modules.symbols
-rw-r--r-- 1 root root 142552 Aug 26 21:36 modules.symbols.bin
|
so there is no "build" file.
Thats what I've found...I'm not knowledgeable when it comes to compiling, or the smarts of drivers....can anyone advise what is required to get this driver to compile?