Tuesday, April 29, 2008

Install RealTek 8187b on Ubuntu Hardy Heron

Update 10/12/2008: Don't bother with this. Get wicd to fight the fight with this card (and other wireless cards). Also, for this particular card, I gave up and replaced it with an Intel 4965AGN, which solved a host of issues. The N card is overkill, because it provides three antenna posts versus the two you get. As well, the native Ubuntu driver (BONUS!) doesn't indicate it's an "N". However I hooked up to antenna posts 1 and 3 and it worked fine enough -- as in, I got it to get on the web reliably. At $30, it was a minor extra purchase and worth it to increase the reliability of the WIFI adapter. Also, it worked better in Windows during suspend/resume. Windows users will probably want to get the Intel driver, which works perfectly fine, even if Intel warns that you should get the driver that comes with the PC...

Original post:

Of course it wasn't working when I started it up, I just got a Gateway MT6730 (Great deal on Buy.com)

Anyway:
Wired network connection helped.
Go to Realtek and download the driver.

In the gnome panel, System -> Administration -> Synaptic Package Manager
Click Search
type in ndiswrapper
select for install ndiswrapper-utils-1.9

if you want, you can also choose the ndisgtk, but it shouldn't be necessary.
Click apply

From this website (It's in Italian) I got the rest of the information.

First, open a terminal, go to the download location (cd Desktop, likely?) and unzip RTL8187B_driver_only.zip
cd RTL8187B/Win98
sudo ndiswrapper -i net8187b.inf
sudo ndiswrapper -l
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo echo ndiswrapper >> /etc/modules


By now, you should be able to click on the network icon of the panel and see wireless networks.
You should be able to connect to the network of your choice.

Please let me know if this works for you, or doesn't. Or if you have hints to make this better.

ETA: added a line for ndiswrapper to load after reboot.
Edit 12/2/2008: Changed the link to Google Shopping for the card, because the original supplier was out of stock. I can't imagine that I was the only one to buy the last one.

No comments:

Blog Archive