I have problem installing drivers for Asus wl-138g v2 card. First, after installing Ubuntu 12.04, I did everything that I could find with jockey-text or its GUI version. In the GUI version I got some error, generally discussed here:
However, after executing apt-get install command which was a part of the answer there and installing also b43-fwcutter thingy I rebooted the PC and i had no longer the proprietary driver listed in the list though the wireless connection is still not available.
Then I wanted to install drivers from asus.com .
There was that readme file in which there was an instruction:
Extract the tar package. tar -xzvf src-.tar.gz
Build the Driver cd src/linuxsta/src/wl/linux in the makefile make sure to set the variables CROSS_COMPILE=, if the the gcc is not already in the $PATH or if a different compiler needs to be used, and GCC-REV= dictates the path of the prebuild regulatory binaries, to use while building the driver.(values it takes now are 3.4.2 or 4.0.2), if the kernel version is 188.8.131.52 the driver expects that iee80211_crypto.ko module be loaded, prior to loading this driver.
make clean make
Test the Driver by loading it insmod wl.ko
So I changed the Makefile so that:
GCC-REV:=4.6.2 //is that correct? export CROSS_COMPILE :=/usr/bin/
/usr/src/linux-headers-3.8.0-29-generic as it seemed to not find the Linux directory by its own.
I got something like this:
root@Bartek:home/bart/Downloads/src/linuxsta/src/wl/linux# make Linux Directory is /usr/src/linux-headers-3.8.0-29-generic Linux Kernel Versions is 3.8.0-29-generic make -C /usr/src/linux-headers-3.8.0-29-generic CROSS_COMPILE=/usr/bin/ M=/home/bart/Downloads/src/linuxsta/src/wl/linux modules make: Entering directory `/usr/src/linux-headers-3.8.0-29-generic' CC [M] /home/bart/Downloads/src/linuxsta/src/wl/linux/wlc_led.o In file included from /home/bart/Downloads/src/linuxsta/src/wl/linux/wlc_led.c:17:0: /home/bart/Downloads/src/linuxsta/src/wl/linux/../../include/typedefs.h:166:40: error: conflicting types for ‘bool’ include/linux/types.h:29:17: note: previous declaration of ‘bool’ was here In file included from /home/bart/Downloads/src/linuxsta/src/wl/linux/../../include/linux_osl.h:21:0, from /home/bart/Downloads/src/linuxsta/src/wl/linux/../../include/osl.h:24, from /home/bart/Downloads/src/linuxsta/src/wl/linux/wlc_led.c:19: /home/bart/Downloads/src/linuxsta/src/wl/linux/../../include/linuxver.h:19:26: fatal error: linux/config.h: No such file or directory compilation terminated. make: *** [/home/bart/Downloads/src/linuxsta/src/wl/linux/wlc_led.o] Error 1 make: *** [_module_/home/bart/Downloads/src/linuxsta/src/wl/linux] Error 2 make: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic' make: *** [default] Error 2
I'm not sure what does it mean (problem with GCC? with drivers?). The PC is pretty old, year 2004, runs on AMD Sempron 3100+ with 2GB of RAM.