I have an ASUS N13 USB card. I have it working using the native kernel one, however this doesn't work completely. For some reason its only connecting via G (not N). So my max attainable is 54Mb/s.
So I read this post http://ubuntuforums.org/showthread.p...99#post8346399 and it suggests I edit the .dat file. However, as I have native, I cannot edit the .dat file (unless I'm mistaken?). So I decided to install the drivers off Ralink's site - 2010_0709_RT2870_Linux_STA_v126.96.36.199
Now, I edited the config.mk as per http://ubuntuforums.org/showthread.php?t=1743530 - http://pastebin.com/RYX2FfD4
When I execute make:
When I execute sudo make install:
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v188.8.131.52/os/linux/../../common/cmm_mac_usb.c:610:12: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v184.108.40.206/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v220.127.116.11/os/linux/../../common/cmm_mac_usb.c:628:13: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v18.104.22.168/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make: *** [/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v22.214.171.124/os/linux/../../common/cmm_mac_usb.o] Error 1
make: *** [_module_/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v126.96.36.199/os/linux] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [LINUX] Error 2
* Now, this would suggest rt2870sta.ko isn't there. Well, it is.
make -C /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v188.8.131.52/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make: Entering directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v184.108.40.206/os/linux'
rm -rf /etc/Wireless/RT2870STA
cp /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v220.127.116.11/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.38-8-generic/kernel/drivers/staging/rt2870/
install -m 644 -c rt2870sta.ko /lib/modules/2.6.38-8-generic/kernel/drivers/staging/rt2870/
install: cannot stat `rt2870sta.ko': No such file or directory
make: *** [install] Error 1
make: Leaving directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v18.104.22.168/os/linux'
make: *** [install] Error 2
* Ok, so it's there, maybe it cant read it? Well I have ran it as root (make && make install). Same error.
root@kel-desktop:/lib/modules/2.6.38-8-generic/kernel/drivers/staging/rt2870# ls -l
-rwxrwxrwx 1 root root 502912 2011-04-11 18:47 rt2870sta.ko
* Maybe the packages for kernel headers aren't installed, or other packages?
Well they are too...
root@kel-desktop:~# apt-get install linux-headers-2.6.38-8-generic linux-headers-2.6.38-8 build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.38-8 is already the newest version.
linux-headers-2.6.38-8-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
So, I'm a bit stumped. It should be working but it isn't, why?
I've also tried this, with the same results http://www.cyberciti.biz/tips/linux-...s-adapter.html