Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11027
  • Last Modified:

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: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=1&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true#RTL8185L 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
0
webstudiointeractive
Asked:
webstudiointeractive
  • 5
  • 2
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
I downloaded it. It's all source (no closed binary stuff) but it didn't compile on my 2.6.22.9 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...
0
 
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.
0
 
webstudiointeractiveAuthor Commented:
In english please, I'm a biginner
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Duncan RoeSoftware DeveloperCommented:
You asked whether the linux driver at http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=1&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true#RTL8185L 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.
0
 
Duncan RoeSoftware DeveloperCommented:
missed a word - can *you* therefore please try it as well
0
 
webstudiointeractiveAuthor Commented:
I've installed the Linux rtl8185 driver, but wlan0 is STILL using 8180 and fails to function when 8180 is blacklisted.
0
 
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"
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now