3

[ubuntu] mizunoX wusb600n solution problem

view full story
linux-howto

http://ubuntuforums.org – Quote: Originally Posted by mizunoX (Post 6112069) I've noticed a few posts from people frustrated with the WUSB600N and the lack of support for it in Ubuntu/Linux so I thought I'd set the record straight for those searching the forums for answers. The Linksys WUSB600N doesn't work in Ubuntu out of the box (current as of the release of Ibex) Also it does not play nice with ndiswrapper (frequent disconnects, no 5Ghz support, no WPA2 support) I was able to get it working with 5ghz and WPA2 by following steps that I found here: https://answers.launchpad.net/ubuntu/+question/45440 Credit goes to the original author. I've downloaded and modified the driver source for your convenience. Step 1 - Download the modified driver source here: http://rapidshare.com/files/160951015/WUSB600N.tar Step 2 - Extract WUSB600N.tar to a folder Step 3 - Open a terminal and navigate to the newly created WUSB600N folder Step 4 - type "sudo make" without quotes Step 5 - Copy the file: sudo mkdir /etc/Wireless sudo mkdir /etc/Wireless/RT2870STA sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat Step 6 - open the WUSB600N/os/linux folder and type "sudo insmod rt2870sta.ko" again without quotes. The wireless card should now be working. Heres what happened during step 4 and 6: Code: Step 4: ----- ubuntu@5m-ubuntu:~$ sudo su root@5m-ubuntu:/home/ubuntu# cd /home/ubuntu/Desktop/WUSB600N root@5m-ubuntu:/home/ubuntu/Desktop/WUSB600N# sudo make make -C tools make[1]: Entering directory `/home/ubuntu/Desktop/WUSB600N/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/ubuntu/Desktop/WUSB600N/tools' /home/ubuntu/Desktop/WUSB600N/tools/bin2h cp -f os/linux/Makefile.6 /home/ubuntu/Desktop/WUSB600N/os/linux/Makefile make  -C  /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/ubuntu/Desktop/WUSB600N/os/linux modules make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'   CC [M]  /home/ubuntu/Desktop/WUSB600N/os/linux/../../common/rtmp_init.o   CC [M]  /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.o /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c: In function ‘RTMPReadParametersHook’: /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:928: error: ‘struct task_struct’ has no member named ‘fsuid’ /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:929: error: ‘struct task_struct’ has no member named ‘fsgid’ /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:930: error: ‘struct task_struct’ has no member named ‘fsuid’ /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:930: error: ‘struct task_struct’ has no member named ‘fsgid’ /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:1593: error: ‘struct task_struct’ has no member named ‘fsuid’ /home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.c:1594: error: ‘struct task_struct’ has no member named ‘fsgid’ make[2]: *** [/home/ubuntu/Desktop/WUSB600N/os/linux/../../os/linux/rt_profile.o] Error 1 make[1]: *** [_module_/home/ubuntu/Desktop/WUSB600N/os/linux] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic' make: *** [LINUX] Error 2 root@5m-ubuntu:/home/ubuntu/Desktop/WUSB600N# Code: Step 6: ----- ubuntu@5m-ubuntu:~$ sudo su root@5m-ubuntu:/home/ubuntu# cd /home/ubuntu/Desktop/WUSB600N/os/linux root@5m-ubuntu:/home/ubuntu/Desktop/WUSB600N/os/linux# sudo insmod rt2870sta.ko insmod: can't read 'rt2870sta.ko': No such file or directory root@5m-ubuntu:/home/ubuntu/Desktop/WUSB600N/os/linux# For step 4, I have no idea what's wrong, but with step 6, I checked /WUSB600N/os/Linux and I couldn't find a "rt2870sta.ko" file. Any help please? Thanks. (HowTos)