I have an Asus USB-N13 dongle and I want to use it in my Fedora 17 x86_64 desktop. I've been trying for a week to get things going efficiently but it seems 64-bit linux is causing me grief.
The rt2800usb built-in driver
Fedora 17 supports the wireless dongle out of the box. But the connection rates are abysmal. On my draft-N network, the connection rates ranges between 20Mbps and 120Mbps (it constantly changes). FTP gives me a pathetic download rate of about 1.1 MB/s while sftp gives 900 kB/s. The ralink driver rt3070sta (which I mention below) connects at 270Mbps and FTP download is 12 MB/s. That is, the built-in driver is very slow.
I've tried turning off power management using
iwconfig wlan0 power off
And also the nohwcrypt=1 option while loading the driver, but none of them make any difference.
Ralink's rt3070sta driver from Asus driver CD
The CD came with RaLink's linux driver. After following the instructions (and making some modifications due to some changed functions names in the 3.x kernels), I managed to get it to compile. After blacklisting the rt2800usb drivers, this driver loads fine and the dongle connects. But two scenarios arose when using this driver:
32-bit linux
Everything is fine on 32-bit linux (Fedora 17). Connection is at full-speed and is relatively stable.
64-bit linux
Everything is fine until you access the network by downloading/uploading. When you go to a browser and surf to any webpage, the whole PC freezes and end up having to do a hard-reset.
Ralink's rt3070sta driver from Ralink's website
I downloaded Ralink's driver (which was a newer version of 2.5). Compiling and installing the driver was fine. It works in 32-bit linux as before. But with 64-bit linux, the following scenarios arose:
Fedora 17's original kernel: 3.3.4-5.fc17.x86_64
The driver works fine here. Connection is at full speed and is very stable.
Fedora 17's latest kernels: 3.6.10-2.fc17.x86_64
There is the same issue. The driver loads, the dongle is recognised, and my draft-N network is connected and authenticated. But whenever I try to access the internet, the whole PC crashes. No crash messages or anything. Gnome 3 just freezes completely. I cannot access any terminal using ctrl-function keys.
Sidenote: If I log into another windows manager (I tried windowmaker), the driver seems to manage to work and connect to the internet fine. I didn't do enough testing but this seems to suggest that GNOME 3 is causing these issues? If I logged into windowmaker, accessed the internet, logged out and back into GNOME, it seems to work for a while. But this is not something I want to do everytime I start my computer.
Ndiswrapper and the Windows XP driver
Next thing I tried was the Windows XP driver running in Ndiswrapper on my 64-bit machine. The driver installed fine and the dongle was recognised. But it froze the entire PC again.Again, a no go.
Ralink's rt3070sta driver with patches
I came across this post from the Ubuntu forums, where the user says that Ralink's developers did not realise about changes in the 64-bit kernels compared with 32-bit.
http://ubuntuforums.org/showthread.php?t=2092888
So I tried applying the patches to the STA driver source code and tried again. This time, with limited success.
1. Booting with the dongle plugged in, the whole PC crashes when accessing the internet
2. Booting without the dongle plugged in, log into GNOME, then plugin the dongle, it works. I can access the internet and download stuff (though it does freeze the PC eventually after lots of load).
So now I am left with 3 choices:
1. Put up with the very slow speeds of the built-in rt2800usb drivers (only 10% of the best speed)
2. Continue to use the old 3.3.4 kernel with the rt3070sta drivers. But I don't know if this is practical, given that newer versions of Fedora will always use the latest kernels. Something changed between the 3.3 kernel and 3.6 kernel that causes these drivers to freeze the entire PC.
3. Use 32-bit linux with the rt3070sta drivers and latest kernel. But my machine has 8 GB of RAM and no PAE so this is not a viable option.
So I really don't knowCan anyone suggest a fix to get the rt3070sta drivers to work on the newer 64-bit kernels?


Again, a no go.
Reply With Quote
