Saturday, March 29, 2008

Ubuntu and RTL8185 the bane of my existance

Today, I ran into something that would make baby jesus cry.

I am using a Gateway W340UI laptop with a built in wireless card. I downloaded Ubuntu and tried to get it to work. With the installation of Ubuntu (7.10 and 8.04) I was geting hard lockups when trying to connect to a network. It was also not showing any wireless networks. Time to delve into this and learn.

Step 1, doing the actual instiallation - super easy, congrats Ubuntu group for making a great easy way to get a different OS onto my computer other than windows, for this you shall forever be my heros.

Step 2, what have I done, my wireles network card dosn't work, it won't even recognize it.

Step 3, time to learn how to fix this so I may move forward on my quest for world domination.

*** How to get RTL8185 working on your computer - much thanks to the community over at Ubuntu. ***

One on my fresh installation I learned that a program called ndiswrapper was not installed. Okay first thing to do install ndiswrapper.

1) download the latest version of ndiswrapper
2) save the file to a flash drive
3) create a folder on the desktop of your Ubuntu installation to place the file in
4) transfer the file from the flash drive to the desktop folder
5) open the folder in a file explorer (double click the folder to open it)
6) double-click on the ndiswrapper file to install it onto your machine

Great first step down, only a few more to go.

Now, to install the drives many thanks to this post for pointing me into the right direction.

1) Time to get the correct drivers. Realtek has the drivers that you will need on its website here.
2) The drives I first tried were the XP, that was not a good idea... now how do I remove them drives
a) Okay I looked at the manpage for ndiswrapper in hopes that it would instruct me how to remove the drivers that are now invalid.
b) ndiswrapper -r *filename that is the command you will need to keep in your back pocket if you are like me and install the wrong drivers.
3) Okay i'm on to something here, I need the windows 98 drivers, well download the windows ME package. In that package you will have a sub-folder that is for windows 98.
a) here are the files you will need, one is the *.inf and the other is the *.sys file from there.
4) take those two files and put them on your flash drive, and then transfer them to the folder you created on your desktop.

*** Now onto installing the drivers ****

1) open a terminal where the files are located. ls lists the files and folders in the current path you are in. cd moves you between folders.
2) Okay now that you are in the folder you have the files, its time to do the install
a) follow this post I can not say it any better than this guy and he shold get the credit.

You should now have a working network connection.






No comments: