How to install Linksys WUSB54G ver.4 driver on ubuntu 8.10

[o] first of all install ndiswrapper and ndiswrapper-utils-1.9

# apt-get install ndiswrapper-common
# aptitude install ndiswrapper-utils-1.9

[o] or you can install it manually by download from here

# make distclean
# make
# make install

[o] now download WUSB54G latest driver. you can download it from linksys or nodevice

[o] driver extention will be .exe so you must open with wine and extract it

[o] after extract it, find the WUSB54Gv4 directory [ use konsole on this action ]

[o] for example if you extract it into home directory than go to home directory

# cd /home/noge/wireless/WUSB54Gv4_20050321/Drivers/WUSB54Gv4

[o] now run ndiswrapper and make sure there is no error messages

# ndiswrapper -v
# ndiswrapper -i rt2500usb.inf
# depmod -a
# modprobe ndiswrapper
# ndiswrapper -m

[o] now we'll see list of installed driver

# ndiswrapper -l

[o] if it show an alternative driver (rt2570) you must add it into blacklist

[o] edit "/etc/modprobe.d/blacklist" and add "blacklist rt2570"

[o] restart your system

[o] if it doesnt work, edit "/etc/modprobe.d/ndiswrapper" change "wlan0" to "rausb1"

[o] restart again.. :)

[o] documentation