kelwynsa8
October 6th, 2011, 11:36 AM
Hi,
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.php?p=8346399#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_v2.4.0.1
Now, I edited the config.mk as per http://ubuntuforums.org/showthread.php?t=1743530 - http://pastebin.com/RYX2FfD4
When I execute make:
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/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_v2.4.0.1/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_v2.4.0.1/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_v2.4.0.1/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make[2]: *** [/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [LINUX] Error 2
When I execute sudo make install:
make -C /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/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[1]: *** [install] Error 1
make[1]: Leaving directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
make: *** [install] Error 2
* Now, this would suggest rt2870sta.ko isn't there. Well, it is.
root@kel-desktop:/lib/modules/2.6.38-8-generic/kernel/drivers/staging/rt2870# ls -l
total 492
-rwxrwxrwx 1 root root 502912 2011-04-11 18:47 rt2870sta.ko
* Ok, so it's there, maybe it cant read it? Well I have ran it as root (make && make install). Same error.
* 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-install-rt2870-chipset-based-usb-wireless-adapter.html
Thanks
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.php?p=8346399#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_v2.4.0.1
Now, I edited the config.mk as per http://ubuntuforums.org/showthread.php?t=1743530 - http://pastebin.com/RYX2FfD4
When I execute make:
/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/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_v2.4.0.1/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_v2.4.0.1/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_v2.4.0.1/os/linux/../../common/cmm_mac_usb.c:34:20: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make[2]: *** [/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [LINUX] Error 2
When I execute sudo make install:
make -C /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/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[1]: *** [install] Error 1
make[1]: Leaving directory `/home/kel/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
make: *** [install] Error 2
* Now, this would suggest rt2870sta.ko isn't there. Well, it is.
root@kel-desktop:/lib/modules/2.6.38-8-generic/kernel/drivers/staging/rt2870# ls -l
total 492
-rwxrwxrwx 1 root root 502912 2011-04-11 18:47 rt2870sta.ko
* Ok, so it's there, maybe it cant read it? Well I have ran it as root (make && make install). Same error.
* 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-install-rt2870-chipset-based-usb-wireless-adapter.html
Thanks