Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old February 15th, 2007   #1
sephirothsigep
5 Cups of Ubuntu
 
Join Date: Jan 2007
Beans: 40
Post how to: ndiswrapper guide and iftab

ndiswrapper wireless how to:

1) Install ndiswrapper

ndiswrapper is a tool that allows users to use Windows XP Drivers for wireless cards. if you want more information on this tool after install look at the manual page by typing in the following command:
Code:
man ndiswrapper-1.9
a) go to System>Administration>Synaptic Package Manager
b) search ndiswrapper
c) mark for install the following pakages
i) ndiswrapper-common
ii) ndiswrapper-utils-1.8

2) find your wireless cards make and model

In order to set up ndiswrapper, it is necessary to obtain the Windows driver for your wireless card. Generally, the best way to do this is from the CD supplied with your wireless card. You should copy two files to the same place on your computer, one ending in .SYS and one ending in .INF. If you find any files which end in .BIN, also copy those. If you are not able to find the right files, and have alternative access to the Internet , you may be able to obtain help from the ndiswrapper website.

IF YOU NEED TO OBTAIN DRIVERS FROM THE INTERNET USE THE FOLLOWING STEPS IN BLUE

a) open a terminal and type the following command.
Code:
lspci
this command will list all of the pci divices on your system.
b) search throuhg the list till you find an entry that deals with your wireless card
c) download your drivers from your wireless cards manufactures site or you may be able to
find driver for your card from The ndiswrapper webstie.
http://ndiswrapper.sourceforge.net/m...index.php/List

3) Install your wireless card drivers.

IF THERE ARE GENERIC DRIVERS THAT DO NOT WORK FOR YOUR WIRELESS CARD
THAT COME STANDARD WITH UBUNUT YOU NEED TO BLACK LIST THE GENERIC DRIVERS.
do the following items in red to blacklist the item.


Code:
sudo gedit /etc/modprobe.d/blacklist
and add the generic drive to the list. This is what i had to add. NOTE it will be different for every card. this is what i had to add for my wireless card. search the forum for information on what drivers to blacklist

Code:
#module below does not work with Broadcom 4318, 4306 wireless cards
		blacklist bcm43xx


a) do the following command
Code:
sudo ndiswrapper -i /location/driverName.inf
b) to check to see if driver is working correctly type
Code:
ndiswrapper -l
if it is then continue else you may have to wrong drivers.
c) now you need to assign the drivers to a given device. to do this you will need to do the following in the terminal
i) type the following command
Code:
lspci
find your wireless card and then note the numbers at the beginning example:
Code:
02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
                            Wireless LAN Controller (rev 03)
next type the following
Code:
lspci -n
ii) now referance the noted number to the output. you need to find the number that is
in the form xxxx-xxxx example:
Code:
02:02.0 0280: 14e4:4320 (rev 03)
in this example 14e4:4320 is the number that we want.
you will need the newly found number later
iii) next you need to find the name of the driver that you will be using. type
Code:
ndiswrapper -l
from the output find the driver name
Code:
{name of driver}  driver installed, hardware present
iv) now link the drivers by typing the following.
Code:
ndiswrapper -d 14e4:4320 bcmwl5
bmwl5 = drivers name, 14e4:4320 = driver ID found number from step ii.

d) For ndiswrapper to function, you need to load a module. and then have it load
at the boot each time. To do this, type:
Code:
sudo depmod -a
Code:
sudo modprobe ndiswrapper
Code:
sudo ndiswrapper -m
4) Restart your computer
press " ctrl + alt + backspace "


5 Assign a name to the network interface

this will pin down an interface name based on mac address. so that on start up the the interface is given the same name each time.

a) type the following command into the terminal.
Code:
sudo  gedit /etc/iftab
b) change the interface name to wlan0 for the correct mac address in this case eth1
will be changed to wlan0
Code:
# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth0 mac 00:12:3f:d8:6b:44 arp 1
eth1 mac 00:90:96:bb:34:2f arp 1
restart linux and if all is good it should work
best of luck

Last edited by sephirothsigep; April 25th, 2007 at 08:11 PM..
sephirothsigep is offline   Reply With Quote
Old February 15th, 2007   #2
bigbadmoshe
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 7
Re: how to: ndiswrapper guide and iftab

ok was fallowing but some thing got messed up with drivers and this is what i get
Installed drivers:
drivers invalid driver!
what can ido now
bigbadmoshe is offline   Reply With Quote
Old February 15th, 2007   #3
Floppyjoe
Extra Foam Sugar Free Ubuntu
 
Floppyjoe's Avatar
 
Join Date: Feb 2006
Location: Winkler, MB. CA
Beans: 846
Ubuntu 9.04 Jaunty Jackalope
Re: how to: ndiswrapper guide and iftab

Code:
ndiswrapper -l
Lists drivers
Code:
sudo ndiswrapper -e drivernamegoeshere
deletes the driver.
Floppyjoe is offline   Reply With Quote
Old February 15th, 2007   #4
bigbadmoshe
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 7
Re: how to: ndiswrapper guide and iftab

moshe@moshe-laptop:~$ sudo ndiswrapper -e w29n51
Password:
Driver w29n51 is not installed.Use -l to list installed drivers
moshe@moshe-laptop:~$ sudo ndiswrapper -e NETw39x5
Driver NETw39x5 is not installed.Use -l to list installed drivers
moshe@moshe-laptop:~$ ndiswrapper -l
Installed drivers:
drivers invalid driver!
bigbadmoshe is offline   Reply With Quote
Old February 15th, 2007   #5
sephirothsigep
5 Cups of Ubuntu
 
Join Date: Jan 2007
Beans: 40
Re: how to: ndiswrapper guide and iftab

Quote:
moshe@moshe-laptop:~$ sudo ndiswrapper -e w29n51
Password:
Driver w29n51 is not installed.Use -l to list installed drivers
moshe@moshe-laptop:~$ sudo ndiswrapper -e NETw39x5
Driver NETw39x5 is not installed.Use -l to list installed drivers
moshe@moshe-laptop:~$ ndiswrapper -l
Installed drivers:
drivers invalid driver!

most likly what happened was you installed the wrong drivers for your wireless divice. I would look to see if you did get the right ones. in order to remove the drivers you need to do
Code:
sudo ndlswrapper -e drivers
the reason that you need to type drivers instead of w29n51 is that the name of the driver just so happens to be " drivers ". try this and let me know what you get. it may take me a little bit of time to get back

Last edited by sephirothsigep; February 15th, 2007 at 10:17 PM..
sephirothsigep is offline   Reply With Quote
Old February 16th, 2007   #6
bigbadmoshe
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 7
Re: how to: ndiswrapper guide and iftab

ok got it to work the way u said but the problem i have is i cant even see any wirless in network manager there is not wireless option there
bigbadmoshe is offline   Reply With Quote
Old February 18th, 2007   #7
sephirothsigep
5 Cups of Ubuntu
 
Join Date: Jan 2007
Beans: 40
Re: how to: ndiswrapper guide and iftab

Quote:
Originally Posted by bigbadmoshe View Post
ok got it to work the way u said but the problem i have is i cant even see any wirless in network manager there is not wireless option there
give me output for the following commands after giving the system a reboot
iwconfig
ifconfig
ndiswrapper -l
less /etc/iftab
sephirothsigep is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:00 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry