ARTICLE

WLAN Cards and Linux
Contributed by Graham Armstrong in Network on 2006-02-19 10:29:28
This is a brief tutorial on how to get wireless LAN cards working on Linux. Although the instructions were written for Suse 9.3, they should work on all distributions.

Here is a brief rundown on what we need to do:

  • Download 'ndiswrapper' and prepare to compile it.
  • Compile it and install it to the system.
  • Add the drivers and create the driver configuration.
  • Start it up.
  • Setup IP adresses and networks.
  • Making it work all the time.


Getting ndiswrapper

NOTE: If your Linux distribution comes with ndiswrapper I recommend that you use the version installed by your system instead.

To get ndiswrapper, click here to download. Make sure that the version you download is compatible with your kernel. If you not sure of your kernel version then run this command.



Code:
uname -r


That should tell you your kernel version. You also need to have the kernel source installed on your computer, which may or may not come with your distribution. If it is not included, you can find the source to any kernel version here.

Installing it

Now that we've downloaded the file, we need to unpack it. First use the 'cd' command to change directory to wherever you downloaded it. For me it's /downloads



Code:
cd /downloads


Then unpack the package. Remember the package name is whatever you downloaded:



Code:
tar xvf ndiswrapper-1.3rc1.tar.gz


A new directory should have been created, so change to it.



Code:
cd ndiswrapper-1.3rc1


And now, compile and install:



Code:
make
make install


Adding the drivers.

Note:From this point forward, this guide assumes that the name of the driver is "bcmwl5". Substitute accordingly.
At this point you need to get the windows drivers you are going to install. You'll want to look for these files.

bcmwl5.inf
bcmwl5.sys

Place them in a folder, and run the following commands:


Code:
ndiswrapper -i /link/to/bcmwl5.inf


Obviously replacing the file location to wherever you have it.

A few additional notes:
If you try installing something with ndiswrapper and it goes wrong, it will still list it as installed even though it is not working. You need to run the command below to remove the driver from the list so you can try again.



Code:
ndiswrapper -e bcmwl5


If you are not sure what drivers you have installed then get a list by running this command.



Code:
ndiswrapper -l


Config + startup

This is the last bit we will do with ndiswrapper. We need to write to the ndiswrapper config file



Code:
ndiswrapper -m


Now we start it up.



Code:
modprobe ndiswrapper


Perfect! If anything goes wrong here it will be because of problems between the version of ndiswrapper and the kernel.

IP addresses and networks.

First of all we need to connect it to the network, now you can do this through the network devices of whatever distrobution you're using. I'm using SuSE so I'm doing it with YaST.

Now we need to check what your card is known to Linux as. Run the command below to find out if you have wlan or eth or whatever.



Code:
dmesg


Now keep that in mind. We need to setup the connection to the wireless station. Now if you use a program such as YaST to add the configuration here are the things you should know.

NOTE: If you setup your IP address with your card too then read below and do it all together.

Device type: Wireless
Configuration name: 0 (most likely 0, it will be what is shown when you run dmesg)
Hardware configuration name: wlan0 (most likely wlan0, it is what dmesg gives you, the whole of it)
Module name: ndiswrapper

If you dont have a graphical interface like that, you can connect using the following commands.



Code:
iwlist scan


This should list all networks it can find.

NOTE: If the network you are trying to connect to dose not broadcast its signal then you may not be able to connect to it. You probably can, just ask the administrator of the network to make it broadcast its signal if you can't connect.

Using IFconfig we will setup the network.



Code:
iwconfig wlan0 ESSID
iwconfig wlan0 key s:""


If you have a static IP address run this command.



Code:
ifconfig wlan0 address


Run the dhcpcd command to setup DHCP.



Code:
dhcpcd wlan0


At this point it should of started working, if your DHCP is done through the command line then run 'iwconfig --help' to see the commands you need to setup your DHCP. It will be different for everyone.

By now it should work.

Getting it to work every time.

We need to add this to the startup file so that it always loads when Linux does.

NOTE: Some distrobutions (if done through a graphical interface) will of already added this to the startup script.

Find the file /etc/rc.d/rc.local (sometimes just called rc) open it and search for 'dhcp', 'dhcpcd', 'wlan0', 'ndiswrapper' or any other reference to see if it has already been added, if not, add the following to the bottom.



Code:
echo "Set up wireless lan"
modprobe ndiswrapper
dhcpcd wlan0


Remembering to replace wlan0 with whatever yours is called.

And that should be it! Now I need to mention just one more thing. Sometimes Linux will try to start DHCP and fail because it has not loaded the ndiswrapper drivers. A good way to find out is if you have no internet connection, run 'dhcpcd wlan0' and it will tell you this.



Code:
**** dhcpcd: already running
**** dhcpcd: if not then delete /var/run//dhcpcd-wlan0.pid file


This means DHCP has failed, where you have added the code in rc.local, add 'rm /var/run/dhcpcd-wlan0.pid' above modprobe so that DHCP can restart. It should look like this.



Code:
echo "Set up wireless lan"
rm /var/run/dhcpcd-wlan0.pid
modprobe ndiswrapper
dhcpcd wlan0


And you're done! :D

 
Discussion(s)
Wonderful!
Written by Kyle Dunlap on 2006-03-06 14:10:52
Fantastic! This is a wonderful tutorial and it helped me get ndiswrapper working properly. Thanks to Graham Armstrong!
Discuss! Reply!

PROBLEM
Written by Christopher Walken on 2006-10-23 12:17:40
Hi!

I have a HP Pavilion zd8179ea and have installed Linux Fedora on it. I am trying to make the wireless connection work. It has the Broadcom chipset. I followed the steps you provide at this address http://www.linuxforums.org/network/wlan_cards_and_linux.html
but I have stuck somewhere. When I type the ¨make¨ command I get this error:
[root@localhost ndiswrapper-1.27]#
[root@localhost ndiswrapper-1.27]# make

make -C driver
make[1]: Entering directory `/home/user/Downloads/ndiswrapper-1.27/driver'
Can't find kernel build files in /lib/modules/2.6.18-1.2200.fc5smp/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/user/Downloads/ndiswrapper-1.27/driver'
make: *** [all] Error 2

[root@localhost ndiswrapper-1.27]#

The same appears when I try to type the ¨make install¨ command.

What is the problem? I can´t continue the installation further cause I get error messages from then and on. Please help me.

Also is there a command of how I can type 2 or more commands at the same time? For example as you say the code is ¨make make install¨, how can I type ¨make¨ and ¨make install¨ at the same line?

What is going wrong? Please help me as soon as possible cause my work depends on that... Provide me with details cause I am still a linux amateur

Thank you


Discuss! Reply!

A spot of help
Written by justin on 2007-01-02 03:25:35
I believe that you don't have the kernel source and headers, and whatnot, on your system. (You have the kernel, not the source and headers.) If you look near the top of the article you'll see he mentions this prerequisite and points you in the direction of the kernel source you'll need for this task.
Discuss! Reply!

Theodosios
Written by Theodosios on 2007-04-30 01:33:26
Hi, nice site! Your hard work paid off
<a href=http://amateur.x3porn.info/amateur-porn-free.html> amateur porn free </a><a href=http://amateur.x3porn.info/amateur-bukkake.html> amateur bukkake </a>
amateur radio amateur posing nude ebony amateur amateur tits
Discuss! Reply!

Andreou
Written by Andreou on 2007-04-30 01:37:05
hi.. just droppin' by your site.. it's really cute. nice work!
<a href=http://amateur.x3porn.info/amateur-posing-nude--.html> amateur posing nude </a><a href=http://amateur.x3porn.info/amateur-couple.html> amateur couple </a>
amateur wife sex amateur thong
Discuss! Reply!

Quick Question
Written by Jakester on 2007-01-03 23:12:40
Just a quick question...does this work with WPA networks or only WEP and open?
Discuss! Reply!

wlan card on linux on vmware
Written by networkuserjedi on 2007-01-05 17:44:38
Quote:

Fantastic! This is a wonderful tutorial and it helped me get ndiswrapper working properly. Thanks to Graham Armstrong!






this is a great tutorial; however, will this apply to a wlan card on a vmware workstation?

examplelink
Discuss! Reply!

Help can't compile and install
Written by Brian Cruz on 2008-05-08 16:02:08
I'm really new at linux and any help as to why this isnt working would be greatly appreciated

vegincruz@vegincruz-laptop:~$ cd /media
vegincruz@vegincruz-laptop:/media$ disk
bash: disk: command not found
vegincruz@vegincruz-laptop:/media$ /disk
bash: /disk: No such file or directory
vegincruz@vegincruz-laptop:/media$ cd disk
vegincruz@vegincruz-laptop:/media/disk$ cd /Programs
bash: cd: /Programs: No such file or directory
vegincruz@vegincruz-laptop:/media/disk$ cd /Programs
bash: cd: /Programs: No such file or directory
vegincruz@vegincruz-laptop:/media/disk$ cd media/Programs
bash: cd: media/Programs: No such file or directory
vegincruz@vegincruz-laptop:/media/disk$ cd /media/disk/Programs
vegincruz@vegincruz-laptop:/media/disk/Programs$ ndiswrapper-1.52
bash: ndiswrapper-1.52: command not found
vegincruz@vegincruz-laptop:/media/disk/Programs$ cd /ndiswrapper-1.52
bash: cd: /ndiswrapper-1.52: No such file or directory
vegincruz@vegincruz-laptop:/media/disk/Programs$ cd ndiswrapper-1.52
vegincruz@vegincruz-laptop:/media/disk/Programs/ndiswrapper-1.52$ make install
make -C driver install
make[1]: Entering directory `/media/disk/Programs/ndiswrapper-1.52/driver'
make -C /usr/src/linux-headers-2.6.20-15-generic SUBDIRS=/media/disk/Programs/ndiswrapper-1.52/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
echo /lib/modules/2.6.20-15-generic/misc
/lib/modules/2.6.20-15-generic/misc
mkdir -p /lib/modules/2.6.20-15-generic/misc
mkdir: cannot create directory `/lib/modules/2.6.20-15-generic/misc': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/media/disk/Programs/ndiswrapper-1.52/driver'
make: *** [install] Error 2

any info would be great
Discuss! Reply!

ndiswrapper query
Written by Iain Gray on 2006-04-16 10:00:03
I'm having a problem I'm not sure if Ubuntu Breezy is recognising the WLAN MiniPCI card installed in my Dell Inspiron 1300. I would love to get this working as its the last hurdle before completely switching to Linux again (used to use it exclusively till I got broadband)

Below is the system checking the Broadcom cards:

iain@frozenpenguin:~$ lspci | grep Broadcom
0000:02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:02:03.0 Network controller: Broadcom Corporation: Unknown device 4318 (rev 02)
iain@frozenpenguin:~$

I then downloaded R115320.exe from Dell extracted the inf and sys files ran the ndiswrapper and modprobe commands see extract from term below:

iain@frozenpenguin:~$ sudo ndiswrapper -i bcmwl5.inf
Password:
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
iain@frozenpenguin:~$ sudo ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
iain@frozenpenguin:~$ sudo modprobe ndiswrapper
iain@frozenpenguin:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

This is from syslog:

Apr 13 13:31:05 localhost kernel: [4299073.898000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:strrchr
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmFreeContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmAllocateContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmGetPhysicalAddress
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (load_sys_files:456): unable to prepare driver 'bcmwl5'
Apr 13 13:31:05 localhost kernel: [4299074.150000] ndiswrapper (ndiswrapper_load_driver:92): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'

I am now real confused, the BIOS on the laptop was changed to always switch on the miniPCI but the hot key will not switch it on, this is why I not convinced that the hardware will work.

Iain
Discuss! Reply!

Same as u
Written by Nial on 2006-11-25 15:02:25
Quote:

I'm having a problem I'm not sure if Ubuntu Breezy is recognising the WLAN MiniPCI card installed in my Dell Inspiron 1300. I would love to get this working as its the last hurdle before completely switching to Linux again (used to use it exclusively till I got broadband)

Below is the system checking the Broadcom cards:

iain@frozenpenguin:~$ lspci | grep Broadcom
0000:02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:02:03.0 Network controller: Broadcom Corporation: Unknown device 4318 (rev 02)
iain@frozenpenguin:~$

I then downloaded R115320.exe from Dell extracted the inf and sys files ran the ndiswrapper and modprobe commands see extract from term below:

iain@frozenpenguin:~$ sudo ndiswrapper -i bcmwl5.inf
Password:
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
iain@frozenpenguin:~$ sudo ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
iain@frozenpenguin:~$ sudo modprobe ndiswrapper
iain@frozenpenguin:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

This is from syslog:

Apr 13 13:31:05 localhost kernel: [4299073.898000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:strrchr
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmFreeContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmAllocateContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmGetPhysicalAddress
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (load_sys_files:456): unable to prepare driver 'bcmwl5'
Apr 13 13:31:05 localhost kernel: [4299074.150000] ndiswrapper (ndiswrapper_load_driver:92): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'

I am now real confused, the BIOS on the laptop was changed to always switch on the miniPCI but the hot key will not switch it on, this is why I not convinced that the hardware will work.

Iain





I am using Edgy and have the SAME thing..... did you manage to fix this?
Discuss! Reply!

Same as u
Written by Nial on 2006-11-25 15:03:50
Quote:

I\'m having a problem I\'m not sure if Ubuntu Breezy is recognising the WLAN MiniPCI card installed in my Dell Inspiron 1300. I would love to get this working as its the last hurdle before completely switching to Linux again (used to use it exclusively till I got broadband)

Below is the system checking the Broadcom cards:

iain@frozenpenguin:~$ lspci | grep Broadcom
0000:02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:02:03.0 Network controller: Broadcom Corporation: Unknown device 4318 (rev 02)
iain@frozenpenguin:~$

I then downloaded R115320.exe from Dell extracted the inf and sys files ran the ndiswrapper and modprobe commands see extract from term below:

iain@frozenpenguin:~$ sudo ndiswrapper -i bcmwl5.inf
Password:
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
iain@frozenpenguin:~$ sudo ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
iain@frozenpenguin:~$ sudo modprobe ndiswrapper
iain@frozenpenguin:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

This is from syslog:

Apr 13 13:31:05 localhost kernel: [4299073.898000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:strrchr
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmFreeContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmAllocateContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmGetPhysicalAddress
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (load_sys_files:456): unable to prepare driver \'bcmwl5\'
Apr 13 13:31:05 localhost kernel: [4299074.150000] ndiswrapper (ndiswrapper_load_driver:92): loadndiswrapper failed (11); check system log for messages from \'loadndisdriver\'

I am now real confused, the BIOS on the laptop was changed to always switch on the miniPCI but the hot key will not switch it on, this is why I not convinced that the hardware will work.

Iain





I am using Edgy and have the SAME thing..... did you manage to fix this?
Discuss! Reply!

gg
Written by gg on 2007-01-02 11:37:40
Quote:

Quote:

I\'m having a problem I\'m not sure if Ubuntu Breezy is recognising the WLAN MiniPCI card installed in my Dell Inspiron 1300. I would love to get this working as its the last hurdle before completely switching to Linux again (used to use it exclusively till I got broadband)

Below is the system checking the Broadcom cards:

iain@frozenpenguin:~$ lspci | grep Broadcom
0000:02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:02:03.0 Network controller: Broadcom Corporation: Unknown device 4318 (rev 02)
iain@frozenpenguin:~$

I then downloaded R115320.exe from Dell extracted the inf and sys files ran the ndiswrapper and modprobe commands see extract from term below:

iain@frozenpenguin:~$ sudo ndiswrapper -i bcmwl5.inf
Password:
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
iain@frozenpenguin:~$ sudo ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
iain@frozenpenguin:~$ sudo modprobe ndiswrapper
iain@frozenpenguin:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

This is from syslog:

Apr 13 13:31:05 localhost kernel: [4299073.898000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:strrchr
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmFreeContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmAllocateContiguousMemorySpecifyCache
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (import:238): unknown symbol: ntoskrnl.exe:MmGetPhysicalAddress
Apr 13 13:31:05 localhost kernel: [4299074.148000] ndiswrapper (load_sys_files:456): unable to prepare driver \'bcmwl5\'
Apr 13 13:31:05 localhost kernel: [4299074.150000] ndiswrapper (ndiswrapper_load_driver:92): loadndiswrapper failed (11); check system log for messages from \'loadndisdriver\'

I am now real confused, the BIOS on the laptop was changed to always switch on the miniPCI but the hot key will not switch it on, this is why I not convinced that the hardware will work.

Iain





I am using Edgy and have the SAME thing..... did you manage to fix this?




Discuss! Reply!

Well put.
Written by ghost13 on 2006-05-02 01:21:07
Nice tutorial. Only had to read one time. Thanks for the help.
Discuss! Reply!

SAME EXACT PROBLEM on mine!!
Written by Jdavidson on 2006-05-12 21:03:12
I have the exact same errors in my log, dont know what to do....
Discuss! Reply!

Little mistake
Written by antidrugue on 2006-05-23 14:35:10
You forget the "z" in
Quote:


Code:
tar xvf ndiswrapper-1.3rc1.tar.gz





I guess we should read
Code:
tar zxvf ndiswrapper-1.3rc1.tar.gz
Discuss! Reply!

WHAT ABOUT JAVELIN (INTERSIL3886)???
Written by DECELERON on 2006-05-28 15:25:14
Ndiswrapper wont work with Sitecom's XP driver.

I found a 2.7.0.0.arm linux driver but can´t set it up!

I'm a newbie to linux.

Could U give me a step-by-step guide (installing a driver under SLAX)????

Thankx in advance
Discuss! Reply!

failure to create ndiswrapper module
Written by urs on 2006-05-30 05:35:58
this page is a very logical documentation for rather new users to linux. However, when I tried to run "modprobe ndiswrapper" I got the message below (message includes prior steps too).
My debian dist is a testing version 2.6.15-1-486. I cannot find its kernel-source. Either the missing kernel-source or the fact the installed kernel is a testing version, causes this failure....
I'd appreciate if someone could get a look at it if he/she gets a chance...
Thanks, Urs

lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/W70n51.INF
w70n51 is already installed. Use -e to remove it
lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/w70n51.sys
Installing w70n51.sys
lazyboy:/home/urs/debian/WLan# ndiswrapper -l
Installed drivers:
w70n51 invalid driver!
w70n51.sys invalid driver!
lazyboy:/home/urs/debian/WLan# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
lazyboy:/home/urs/debian/WLan# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
lazyboy:/home/urs/debian/WLan#
Discuss! Reply!

me
Written by joe on 2006-11-09 10:53:48
Quote:

this page is a very logical documentation for rather new users to linux. However, when I tried to run "modprobe ndiswrapper" I got the message below (message includes prior steps too).
My debian dist is a testing version 2.6.15-1-486. I cannot find its kernel-source. Either the missing kernel-source or the fact the installed kernel is a testing version, causes this failure....
I'd appreciate if someone could get a look at it if he/she gets a chance...
Thanks, Urs

lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/W70n51.INF
w70n51 is already installed. Use -e to remove it
lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/w70n51.sys
Installing w70n51.sys
lazyboy:/home/urs/debian/WLan# ndiswrapper -l
Installed drivers:
w70n51 invalid driver!
w70n51.sys invalid driver!
lazyboy:/home/urs/debian/WLan# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
lazyboy:/home/urs/debian/WLan# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
lazyboy:/home/urs/debian/WLan#




Discuss! Reply!

Fix
Written by anon on 2007-02-16 14:12:43
Quote:

Quote:

this page is a very logical documentation for rather new users to linux. However, when I tried to run "modprobe ndiswrapper" I got the message below (message includes prior steps too).
My debian dist is a testing version 2.6.15-1-486. I cannot find its kernel-source. Either the missing kernel-source or the fact the installed kernel is a testing version, causes this failure....
I'd appreciate if someone could get a look at it if he/she gets a chance...
Thanks, Urs

lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/W70n51.INF
w70n51 is already installed. Use -e to remove it
lazyboy:/home/urs/debian/WLan# ndiswrapper -i /home/urs/debian/WLan/w70n51.sys
Installing w70n51.sys
lazyboy:/home/urs/debian/WLan# ndiswrapper -l
Installed drivers:
w70n51 invalid driver!
w70n51.sys invalid driver!
lazyboy:/home/urs/debian/WLan# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
lazyboy:/home/urs/debian/WLan# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
lazyboy:/home/urs/debian/WLan#









You have the wifi drivers installed, but they are "Invalid Drivers". You have to remove those first. Type "ndiswrapper -e w70n51" then type "ndiswrapper -e w70n51.sys"

Navigate to the folder you stored your wifi downloaded windows drivers too and type "ndiswrapper -i w70n51.inf" then "ndiswrapper -m" (to make it activate on boot) and finally type "modprobe ndiswrapper".

It should now work if all went well. Type "iwconfig" too see if it recognized it. If not, type "dmesg" and check for any ndiswrapper error messages.
Discuss! Reply!

WIreless and Linux? Hobby only
Written by BUICK1946 on 2006-06-02 15:16:53
Only try wireless networking (or any technology under three years old for that matter) in Linux if it is your hobby. If you need it to work out of the box with a simple follow the instructions and click OK or NEXT you are stuck with Windows XP.
many Linux distros are still having trouble coming to terms with PCMCIA in a laptop.

Despite what the hardcore fans say wireless networking is still geek territory. Instructions, even those from the vendors are generally poorly written and ambiguous. Reminds me of windows 3.1 and MSDOS 5 instructions, designed to preserve the mystery and magesty of computing and prevent the unwashed massed from getting too familiar with their betters.

In short if you need wireless within the next 2 or 3 years, you need WinXP.
Discuss! Reply!

that's silly
Written by justin on 2007-01-02 03:31:31
Come on! My wireless worked in 2 steps in ubuntu: open wlassistant and click on the network! And, yes, it's not that easy for all cards and on all distros, but that's not Linux developer's shortfall, it's idiot vendors who don't give a shite enough about their users to pinch out a measly driver. Linux popular OS with some distros that are definitely for non-geeks who need wireless.
Discuss! Reply!

none
Written by fyreme on 2006-06-07 21:11:55
I am not a linux guru by any means. But i am writing this on my laptop over my wireless connection. The laptop is running mandriva one. I used mandriva control center and ndiswrapper to load a windows driver for my pcmcia card.

Using the configure lan Gui i was able to configure the connection and have it up and running in under 10 minutes. I never used the command prompt, i never read anything first, i accepted all the defaults (I changed one option, let users start connection to yes) and was up and running.

it was easy. If someone could point me to some WEP documentation or help me with some questions i would appreciate it. You don't need WinXP.
Discuss! Reply!

Wireless is not really the problem!
Written by Ben on 2006-11-11 23:39:02
Hi all,

Well, I am not a Linux guru either, my wireless runs fine over an open network. It is using WPA_Supplicant that I have a problem with! :-(

I just posted a query on the Fedora support forum on this site... Anybody has ideas about that?

BTW, lame question (because a friend helped me set up the initial network): How do you probe to find out what driver your card is using?

Kind regards,
Ben
Discuss! Reply!

Quick Question
Written by Jakester05 on 2007-01-03 23:14:56
Just a quick question...does this work with WPA networks or only WEP and open?
Discuss! Reply!

ndiswapper compile problem
Written by Giannis Rizos on 2007-01-04 10:02:26
Nice tutorial. But I can't compile ndiswapper. This is the error I got when I issue make

Can't find kernel build files in /lib/modules/2.6.15-1-686/build

Any thoughts?
Discuss! Reply!

source files
Written by Dave on 2007-02-19 22:06:26
Quote:

Nice tutorial. But I can't compile ndiswapper. This is the error I got when I issue make

Can't find kernel build files in /lib/modules/2.6.15-1-686/build

Any thoughts?




Isnt that saying you are missing the kernel source or some souse code???
Im lucky was able to get the driver mod for my card... What network adapter is it???
Discuss! Reply!

Ndiswrapper -m
Written by Prashant Pathak on 2007-02-23 05:42:51
Nice Post.
Need your help in following.
I was Successfully able to install ndiswrapper using Yast Utility.

after that i have installed Intel 3945 driver using w39n51.inf

ndiswrapper -l

w39n51.inf driver installed (alternate driver present:lpw3954 )


and if i do ndiswrapper -m system hangs and i am not able to kill the session and i have forcebilly restart system and after that no luck...

can you please help in this
Discuss! Reply!

driver works but no internet
Written by damon on 2007-06-16 13:59:34
Hey I want to start using Linux and Have downloaded Ubuntu, Fedora, PClinuxOS, and Mint. But they all have the same problem. They see my wireless card an Ratech 2561 wireless, using the ra61 driver, The Os's also see my network with good signal strength, but they don't connect me to any internet. Once, while running Pclinx, I got on the internet, then it stop after I installed it. Please help Thanks.
Discuss! Reply!

file driver w39n51.inf
Written by jessu on 2007-11-09 20:23:13
Quote:

Nice Post.
Need your help in following.
I was Successfully able to install ndiswrapper using Yast Utility.

after that i have installed Intel 3945 driver using w39n51.inf

ndiswrapper -l

w39n51.inf driver installed (alternate driver present:lpw3954 )


and if i do ndiswrapper -m system hangs and i am not able to kill the session and i have forcebilly restart system and after that no luck...

can you please help in this




Discuss! Reply!

mr
Written by happen20 on 2007-08-24 14:32:36
I am newer in linux and here. I have one question about the linux wireless: I have a IBM laptop, the cpu is Intel Pentium 4 M. I will install fedora 4 or 7. Is here any one can teach me how to make this computer on this OS can connect to Internet through wireless?
Thank you very much!!!!!!!
Discuss! Reply!