How to install working ubuntu linux drivers for rtl8185 and WPA-PSK wireless?

I have installed ndiswrapper and a Windows XP INF driver for my PCI wireless card, Realtek RTL8185. However, I think the 8180 drivers are being used which are reportedly buggy. I would like to know whether the linux driver here: will work and how to install from scratch.

WPA will not work and nor is there an option in Network Monitor applet.

Help is appreciated
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
I downloaded it. It's all source (no closed binary stuff) but it didn't compile on my x86_64 system.
It said structure has no member named `wireless_handlers' but it does have that member #ifdef CONFIG_WIRELESS_EXT so maybe I have to reconfigure the kernel a bit.
Will try that...
Duncan RoeSoftware DeveloperCommented:
In "Network device support", configure "Wireless LAN (IEEE 802.11)" and under that configure "IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)". Now, CONFIG_WIRELESS_EXT is defined and ./makedrv runs to completion. But it does produce a lot of warnings re undefined symbols, for example "iieee80211_wx_get_freq_rtl". This symbol is not defined in the downloaded siurce nor in any kernel source  that I have (up to 2.6.24).
So I have to say I have some doubt as to whether the built module would actually work.
Actually I tried an insmod and it failed owing to unknown symbol. Maybe you could ask the god folks at realtek what is going on.
webstudiointeractiveAuthor Commented:
In english please, I'm a biginner
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Duncan RoeSoftware DeveloperCommented:
You asked whether the linux driver at will work.
I have to say that, as far as I can tell, it won't. However I have a 64-bit system and I get some additional warnings because of that.
The package looks very slick and I feel as if I must be missing something obvious, but can't think what it could be. Can therefore please try it as well (I assume you have a 32-bit system).
- Go to the link and download the package (to your home directory, say). The file is called rtl8185_linux_26[1].1027.0823.2007.tar.gz
- Unpack the package (I suggest /tmp for that): "cd /tmp" "tar -xzf ~/rtl8185_linux_26[1].1027.0823.2007.tar.gz"
- Change to the package directory: "cd /tmp/rtl8185_linux_26.1027.0823.2007"
- Read the documentation: "less readme"
- Attempt a build: "./makedrv"

Post if you get an error from makedrv. You may need to reconfigure your kernel as I tried to explain in a previous post  - but let's cross that bridge when we come to it.
Duncan RoeSoftware DeveloperCommented:
missed a word - can *you* therefore please try it as well
webstudiointeractiveAuthor Commented:
I've installed the Linux rtl8185 driver, but wlan0 is STILL using 8180 and fails to function when 8180 is blacklisted.
Duncan RoeSoftware DeveloperCommented:
Does the rtl8185 really load? Can you see it in lsmod or else insmod it?
Assuming you can do that, try this: do an lsmod to verify the 8180 is not in use. If it is in use, "ifconfig wlan0 down". Now lsmod again and you should find it is not in use. Now remove the module: "modprobe -r 8180". Now modprobe rtl8185 (having previously removed iit (modprobe -r) if it was loaded. type "dmesg|tail" to see if rtl8185 logged any messages - if uou don't see any then tail the most recently modified fies in /var/log. Now try "ifconfig wan0 up"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.