![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: Terborg, The Netherlands
Beans: 101
Kubuntu 8.04 Hardy Heron
|
HOWTO: WLan via Ndiswrapper
On this forum I see there are a lot of questions about installing WIFI using ndiswrapper, I have figured it out and I want to share it with you all. I made a howto in which I have combined all the solutions I have found. This is the system I use:
HP Pavilion zv5133ea AMD64 3000+ met 512 Mb intern Nvidia GeForce4 440 Go 64M Broadcom 802.11b Wlan Realtek RTL8139 NIC Ubuntu Hoary Hedgedog 5.04 64Bit / WinXp dual boot HOWTO: The first problem I have encountered was that the ndiswrapper-1.1 version didn't work. My drivers were installed however the command iwlist did't show any APs, the solution I found was to install the newest version of ndiswrapper: Ndiswrapper-1.2-RC1 . The next step is to get drivers, I'm working with 64 Bit Ubuntu so I need 64 Bit drivers, here is a link to get windows wlan drivers for most Wlan cards: Wlan drivers . This link provides also 64 bit drivers for all broadcom cards. Ok, on to the installation: Step 1: Remove the old ndiswrapper and all links to it's driver. Code:
sudo modprobe -r bcmwl5 sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils sudo rm -r /etc/ndiswrapper/ sudo rm -r /etc/modprobe.d/ndiswrapper Code:
sudo apt-get install linux-headers-2.6.10 (enter your version of linux headers or usr the synaptic package manager) Code:
cd /home/username/ sudo tar xvzf ndiswrapper-1.2-rc1 cd /home/username/ndiswrapper-1.2-rc1/ sudo make sudo make install Code:
cd /the_dir_you_put_the_wlan_drivers_into/ sudo ndiswrapper -i bcmwl5.inf (fill out your own drivers for bcmwl5.inf) sudo ndiswrapper -l (shows if the driver is installed) Code:
sudo modprobe ndiswrapper sudo dmesg (shows that the card is installed (hopefully)) sudo iwlist wlan0 scan (shows all APs surrounding you) Code:
sudo ndiswrapper -m Code:
sudo iwconfig wlan0 essid name_of_AP (the name you found by using iwlist wlan0 scan) iwconfig wlan0 enc <key> (fill out your WEP key (if you have one)) sudo dhclient wlan0 (gets a dynamic IP adress) sudo ping -c 3 www.ubuntu-linux.nl (tests the connection) I hope this will help some people. If there are comments or extra info you have please add it to this thread, it could help somebody. Greets Hieronymus |
|
|
|
|
|
#2 | |
|
SADFL's Commando
![]() |
Re: HOWTO: WLan via Ndiswrapper
HEY MODS!!!
This needs to be moved!!!!
__________________
Quote:
|
|
|
|
|
|
|
#3 | |
|
Tall Cafè Ubuntu
![]() Join Date: Feb 2005
Location: Rubyville
Beans: 1,261
|
Re: HOWTO: WLan via Ndiswrapper
Quote:
__________________
??? :: ubuntu is my OS soul mate UDSF :: Forum Policies :: Unanswered Posts :: Ruby :: Donate official ubuntu member :: ??????? :: so say we all |
|
|
|
|
|
|
#4 | |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Beans: 98
|
That's about the same procedure I used, it's funny how people sometimes unknowingly reinvent the wheel.
I have a laptop with a 64-bit AMD processor, but I used the 32-bit version of Ubuntu 5.04, with Ndiswrapper v1.1. Here's what I came up after some research and posted in another thread here on the Ubuntu forums: Quote:
Last edited by maspro; May 14th, 2005 at 07:28 PM.. |
|
|
|
|
|
|
#5 |
|
Way Too Much Ubuntu
![]() Join Date: Dec 2004
Beans: 245
|
Re: HOWTO: WLan via Ndiswrapper
Hieronymus, maspro
You've probably seen the How To that I wrote for Broadcom cards (I managed to get the repository ndiswrapper to work), and I imagine it didn't work for you. I'd like to point my How To to yours so that users who have similar problems aren't left high and dry. You mention AMD64. Are you using AMD64 ubuntu? If so, I imagine that these are the users that need redirection. The other thread has had around 7,000 hits so far, so Broadcom cards are obviously presenting huge problems. It would be good to be able to present a cast iron solution set between us. One minor point that might trip up some unwary noobs: I think that, from a fresh ubuntu install, you'd also need to do apt-get install build-essential before compiling ndiswrapper.
__________________
Make poverty history |
|
|
|
|
|
#6 | |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Beans: 98
|
Quote:
It's my understanding that Hieronymus uses Ubuntu 64-bit on a AMD64-bit, I'm using Ubuntu 32-bit on a AMD64-bit. And in both situations we were able to get Wi-fi working. Hieronymus used the Ndiswrapper v1.2RC1 and I used the Ndiswrapper v1.1 final. And indeed the build-essential that's available through APT is indeed necessary for a successfull end result. I think with your how-to and the how-to of Hieronymus that it should not be a huge problem anymore to get Wi-fi working for most people. Last edited by maspro; May 14th, 2005 at 07:32 PM.. |
|
|
|
|
|
|
#7 |
|
Spilled the Beans
![]() Join Date: May 2005
Beans: 14
|
Re: HOWTO: WLan via Ndiswrapper
I'm a newbie, and this is probably a dumb question, but I'll ask anyways.
In step #2, the command to get the linux headers. sudo apt-get install linux-headers-2.6.10 Does this pull out of local files, or does it have to pull from an online repository? How can I go online, if what I need to get online is retreived by going online? TIA, Michael |
|
|
|
|
|
#8 | |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Beans: 98
|
Re: HOWTO: WLan via Ndiswrapper
Quote:
But I think it's possible to get apt/synaptic to work with local repositories on your harddrive. I don't know if the linux-headers are on the install-cd of Ubuntu, maybe you can get them from the cd. But I'm a n00b also, so I don't know for sure. Last edited by maspro; May 22nd, 2005 at 01:22 PM.. |
|
|
|
|
|
|
#9 | |
|
Spilled the Beans
![]() Join Date: May 2005
Beans: 14
|
Re: HOWTO: WLan via Ndiswrapper
Quote:
|
|
|
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Beans: 143
|
Re: HOWTO: WLan via Ndiswrapper
To manually install .deb files:
Code:
dpkg -i [file]
__________________
"Windows is something to overcome" Howto's by me: Tweak firefox! (URL now works..) Backup/Restore your system! Avoid having to reboot Compentux.org , the Linux Tip & Howto gathering initiative! |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|