Monday, September 6, 2010

Getting a RealTek 8185 Wireless card to work in Ubuntu

I’ve never been able to use the Linux driver for my RTL 8185 in Ubuntu.  Instead, I’ve used Ndiswrapper with the Windows XP driver.  It works great.

Here’s the download for the XP driver: rtl8185

Once you have that, you’ll want to install NdisWrapper.  Open a terminal and type:

sudo apt-get install ndiswrapper-utils-1.9

Once you have ndiswrapper installed, unzip the file you downloaded and change your terminal to that directory.  Then install the drivers with these commands:

sudo ndiswrapper -i net8185.inf

sudo ndiswrapper -m

sudo ndiswrapper -mi

sudo ndiswrapper -ma

sudo modprobe ndiswrapper

At this point, you should be able to use your wireless card.  If you type “ifconfig” in your terminal, you should see “wlan0″ listed.

This has worked every time for me, so I hope it solves any issues you are having with this card too!

EDIT:

If everytime you reboot, you have to run ‘sudo modprobe ndiswrapper’ command, try adding ndiswrapper to your  /etc/modules file.

To do that:

Open a terminal and type:

sudo gedit /etc/modules

Add a line and type ndiswrapper

Save and close the file.

Reboot.

Posted in Computers, Linux | 15 Comments »

15 Responses

  1. Jeremy Says:

    Thanks for the help for my Realtek 8185 wireless. Instructions worked great.

  2. hyp3r Says:

    Thanks for the info. I was freaking out a little when Ubuntu didn’t recognize my wireless card, but now everything works like it should.

    I have one small note to add. In 8.04 Hardy Heron, ndiswrapper-modules-1.9 is already installed as part of a virtual package (or at least it was in my case). So it was only necessary for me to install ndiswrapper-utils-1.9.

    Thanks again!

  3. Alejandro Perea Rosales Says:

    I have an easy way to install it..
    Aplications> Add or remob> typing: NdisWrapper [Aplay]
    then go to: Sistem> Administration> Windows Drivers Drivers> Install new control [search 4 the .inf] and.. that’s it.

    My OS is on spanish.. so it maybe not be equal..

    Sincerely
    Alejandro Perea.

    By the way.. Tnks 4 the information.

  4. Mike Says:

    I’ve tried and tried. Get message “invalid Driver!” when I go: System> Administration>Windows Wireless Drivers.

    Any advice? What am I doing wrong?

  5. KF Says:

    Thanks!!!! This is a great help!!

  6. Roy van Arem Says:

    I got it working, but every time I restart my PC I have to repeat sudo modprobe ndiswrapper because somehow the information doesn’t get stored. How can I get it working in such a way I don’t have to repeat the last step every time I start my computer?

  7. ender Says:

    thank you so much, i wish i found this post earlier, i tried so many times. I also might add that i was originally trying with ubuntu 8.04 amd64 version, and when i went to the i386 it seemed to work better. thanks again.

  8. Matias Says:

    Now you are my GOD, thanks a lot xD

  9. Nick Says:

    That works perfectly!!
    I want to buy you some ice cream!!

  10. rmac Says:

    When I enter the following in terminal:

    sudo ndiswrapper -i net8185.inf

    I get the following:

    couldn’t open net8185.inf: No such file or directory at /usr/sbin/ndiswrapper-1.9 line 219

    I don’t get it…what next?

  11. rmac Says:

    Nevermind…I took the card out and rebooted…after reboot, I went to system/administration/windows wireless drivers and installed new driver.

    For whatever reason, it worked…the driver showed up but showed card not installed (correct).

    I shut down, installed the card and rebooted. All is well!!!

  12. morfam Says:

    It sounds like you’ve figured it out but can you put it even more simply? I’m very new at this. I down loaded ndiswrapper – then… open a terminal? how. I’d like to give ubuntu a real try but I need wireless to do so. I have a Gateway with an internal realtek 8185 wireless card. Thanks

  13. Chris@Heathrow Says:

    This problem was causing headaches!
    10% or so connection was driving me mad (and within 10 feet of the access point!). Ndiswrapper/you instructions worked a treat. Happy happy happy.
    Thanks Jim, much appreciated.

  14. jim Says:

    Cool. Glad it worked for you!

  15. Chris Says:

    Thanks! I just got an Addon GWK150v4, which uses this chipset, so that I could breathe some life into my dad’s ancient laptop. These instructions worked great! :D

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.