Linksys WUSB54Gv4

I had spent quite a bit of time sourcing the internet to make my wireless adapter work. Although the default setup of Heron detected the card and allowed me to see the wireless networks available in my region, I was unable to connect to any of them. It appears that the native driver supplied in Heron is at fault (rt2500usb). I hope this tutorial will be of help. Essentially, the solution requires ndiswrapper to load during boot and have it run the original Linksys drivers.

Install ndiswrapper-utils-1.9:
Insert Ubuntu Live CD. Permit the dialogue box. Install ndiswrapper from Synaptic Package Manager.

Download latest driver from Linksys site:
Extract and copy the 3 files from the WUSB54Gv4 directory to the home directory. be The 3 files are
  1. rt2500usb.cat
  2. rt2500usb.inf
  3. rt2500usb.sys


Ensure /etc/ndiswrapper directory is empty:
Code:
~$ ndiswrapper -l
Uninstall listed drivers, if any.

Install new Linksys driver:
Make sure the .sys and .ca files are in same directory.
Code:
~$ sudo ndiswrapper -i rt2500usb.inf
Install ndiswrapper as a module:
Code:
~$ sudo depmod -a
~$ sudo modprobe ndiswrapper
~$ sudo ndiswrapper -m
Prevent native driver from loading:
Code:
~$ sudo modprobe -r rt2500usb
Blacklist native kernel driver:
This prevents it from overriding the ndiswrapper driver.
Code:
~$ gksudo gedit /etc/modprobe.d/blacklist
To the end of /etc/modprobe.d/blacklist, add as a new line:
Code:
blacklist rt2500usb
Set ndiswrapper to load during boot:
Edit /etc/modules:
Code:
~$ gksudo gedit /etc/modules
To the end of /etc/modules, add as a new line:
Code:
ndiswrapper
Reboot.