LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-12-2006, 04:34 AM   #1
Rayman411
LQ Newbie
 
Registered: Aug 2006
Posts: 19

Rep: Reputation: 0
Lightbulb HOW-TO for the BCM4318 Airforce one card


If you are having trouble with your wireless network card. Figure out what model you are using so you can solve the problem. This is a HOW-TO for the BCM4318 Airforce one card. Also, while were on the topic of wireless cards and drivers//ndiswrapper. Drop the model of whatever card your using that your having trouble with and maybe I, or someone else can help you.

If you are using a Broadcom, BCM4318 Airforce one 54g wireless network card. Odds are your gonna want to read this. I know this to work for Mepis, and probably Ubuntu also. Probably works on all of the distro's but I'm not an expert.

1) Open a text editor as root and click on File in the top left corner. Then click open. Now open up /etc/modprobe.d/blacklist

2) Now that you've opened that you should see something like this:
# replaced by tulip
blacklist de4x5.

-------
*Extra*
Note that the # is the start of the paragraph, or the subject. The second line is the action in this case blacklisting. For example:
# Server is a piece of crap not worth having online
blacklist server
-------

So now go to the bottom of the last entry and skip one line and leave it blank then on the next line type in:

#broadcom native driver
blacklist bcm43xx

Just like you see there the subject on the first line with the # in front, and the action on the second line.

3) Save this file, and close it

4) Open up a terminal and type this:
((Note: after 1. you press enter after 2. you press enter))
1. rmmod bcm43xx
2. rmmod ndiswrapper
3. modprobe ndiswrapper
4. ndiswrapper -l
(That's an L for list btw)

5) Now that you've seen the ndiswrapper list of drivers. Let's remove them..... Let's assume you've got 4 drivers called Wsd33x,
Win32x,Red12x,Blue2sx. To remove them do this:
1. ndiswrapper -e Wsd33x
2. ndiswrapper -e Win32x
3. ndiswrapper -e Red12x
4. ndiswrapper -e Blue2sx

-------
*Extra*
Blue2sx is different than blue2sx. This is why if your going to be in a linux environment keep it simple. your login screen though looks cool as JoHNBoY. It's a royal pain in the ass when you gotta do cd /home/JoHNBoY/Downloads
ESPECIALLY, when it says directory does not exist file not found and your typing it correctly except for a capatilization error. Then you spend 25 minutes trying to figure out what the problem is when your trying to install something in a specific folder. Trust me on this 1. I probably just saved you over the next six months 2 or 3 hours of your time total.
-------

6) After you've removed all of the drivers type:
1. ndiswrapper -l
(This is to see if there is any drivers left if there is mop them up otherwise continue)

2. Get your drivers. There are several places you can get them, you may already have them. This includes a CD that came with the wireless card. The internet would be a place to find, but most likely you have no internet on the computer. Floppies, CD's, USB drivers, hard drives(Ipod works) come in handy here. Whatever it takes.

3. Keep it simple. Get these files WMP54GS.inf and BCMWL5.sys Put them in /home/yourusernamehere/drivers
Note: its not always clear cause people just assume. If when you log-on to linux you enter in James as your account. Your directory would be /home/James/drivers. Also note that the drivers folder will have to be created and placed in there.

4. type the following:
cd /home/yourusernamehere/drivers
ndiswrapper -i WMP54GS.inf
ndiswrapper -l
ndiswrapper -m

--- Now it should say: driver present, hardware found.

7) Now restart your computer. Now your ready to setup your wireless internet. Here are a list of commands to keep in mind:
1. iwconfig
2. iwconfig wlan0
3. iwconfig wlan0 channel
4. ifconfig wlan0 up
5. dhclient
6. Also....... don't be afraid to use the resources afforded to you in a graphic user interface. Specifically, the Administration programs available. Which make it a whole lot easier to set up the internet. I always have difficulty doing iwconfig to get it all going.

Hope this works!!!
 
Old 08-12-2006, 09:54 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Rayman411, thanks for posting this HOWTO. I've updated the title to be a little more specific.

It would be appreciated if you could submit this to the Linux Answers section or the LQ Wiki:
http://www.linuxquestions.org/linux/articles/
http://wiki.linuxquestions.org/

This way the information remains available in an index rather than being hidden amongst lots of questions.
 
Old 08-14-2006, 02:06 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
And what about the native bcm43xx drivers? ndiswrapper leaves alot to be desired...

Should be titled "Using ndiswrapper with the bcm4318 Air Force One"
 
Old 08-20-2006, 06:53 AM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Rayman411:

You should also note that users who are running 64 bit Linux distributions must ensure that they are using Windows XP 64 drivers, and *not* 32 bit bog standard Windows XP drivers.

cwwilson721:

Until the transmission problems are fixed with the BCM4318 & bcm43xx (the developers have discovered this is an awfully lot more non-trivial than they originally assumed), then unless sitting no more than two metres away from the access point is a realistic option, bcm43xx is not much good with this particular chip (unless you want to play about with monitor mode, in which case it's quite handy).

I imagine for all the other BCM43xx chipsets though that bcm43xx is definitely a very viable option and to be preferred over ndiswrapper.
 
Old 12-14-2006, 10:57 AM   #5
fingerprint
LQ Newbie
 
Registered: Mar 2006
Location: Hull
Distribution: SuSE 10.0
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Rayman411
If you are having trouble with your wireless network card. Figure out what model you are using so you can solve the problem. This is a HOW-TO for the BCM4318 Airforce one card. Also, while were on the topic of wireless cards and drivers//ndiswrapper. Drop the model of whatever card your using that your having trouble with and maybe I, or someone else can help you.

If you are using a Broadcom, BCM4318 Airforce one 54g wireless network card. Odds are your gonna want to read this. I know this to work for Mepis, and probably Ubuntu also. Probably works on all of the distro's but I'm not an expert.

1) Open a text editor as root and click on File in the top left corner. Then click open. Now open up /etc/modprobe.d/blacklist

2) Now that you've opened that you should see something like this:
# replaced by tulip
blacklist de4x5.

-------
*Extra*
Note that the # is the start of the paragraph, or the subject. The second line is the action in this case blacklisting. For example:
# Server is a piece of crap not worth having online
blacklist server
-------

So now go to the bottom of the last entry and skip one line and leave it blank then on the next line type in:

#broadcom native driver
blacklist bcm43xx

Just like you see there the subject on the first line with the # in front, and the action on the second line.

3) Save this file, and close it

4) Open up a terminal and type this:
((Note: after 1. you press enter after 2. you press enter))
1. rmmod bcm43xx
2. rmmod ndiswrapper
3. modprobe ndiswrapper
4. ndiswrapper -l
(That's an L for list btw)

5) Now that you've seen the ndiswrapper list of drivers. Let's remove them..... Let's assume you've got 4 drivers called Wsd33x,
Win32x,Red12x,Blue2sx. To remove them do this:
1. ndiswrapper -e Wsd33x
2. ndiswrapper -e Win32x
3. ndiswrapper -e Red12x
4. ndiswrapper -e Blue2sx

-------
*Extra*
Blue2sx is different than blue2sx. This is why if your going to be in a linux environment keep it simple. your login screen though looks cool as JoHNBoY. It's a royal pain in the ass when you gotta do cd /home/JoHNBoY/Downloads
ESPECIALLY, when it says directory does not exist file not found and your typing it correctly except for a capatilization error. Then you spend 25 minutes trying to figure out what the problem is when your trying to install something in a specific folder. Trust me on this 1. I probably just saved you over the next six months 2 or 3 hours of your time total.
-------

6) After you've removed all of the drivers type:
1. ndiswrapper -l
(This is to see if there is any drivers left if there is mop them up otherwise continue)

2. Get your drivers. There are several places you can get them, you may already have them. This includes a CD that came with the wireless card. The internet would be a place to find, but most likely you have no internet on the computer. Floppies, CD's, USB drivers, hard drives(Ipod works) come in handy here. Whatever it takes.

3. Keep it simple. Get these files WMP54GS.inf and BCMWL5.sys Put them in /home/yourusernamehere/drivers
Note: its not always clear cause people just assume. If when you log-on to linux you enter in James as your account. Your directory would be /home/James/drivers. Also note that the drivers folder will have to be created and placed in there.

4. type the following:
cd /home/yourusernamehere/drivers
ndiswrapper -i WMP54GS.inf
ndiswrapper -l
ndiswrapper -m

--- Now it should say: driver present, hardware found.

7) Now restart your computer. Now your ready to setup your wireless internet. Here are a list of commands to keep in mind:
1. iwconfig
2. iwconfig wlan0
3. iwconfig wlan0 channel
4. ifconfig wlan0 up
5. dhclient
6. Also....... don't be afraid to use the resources afforded to you in a graphic user interface. Specifically, the Administration programs available. Which make it a whole lot easier to set up the internet. I always have difficulty doing iwconfig to get it all going.

Hope this works!!!
Just thought I'd let you know that the solution you provided work like a dream. I had upgraded from SuSE 10.1 to 10.2 and the wireless settings and drivers were lost. I'd already gone through the NDIS instructions, which didn't work like they did in 10.1. After following your instructions, the wireless light blink and there it was - brilliant...

Cheers.

Regards
 
Old 12-14-2006, 11:08 PM   #6
MangoFresh
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Rep: Reputation: 0
This is from a fresh install of Fedora Core 6. I've done nothing else before what you see. Sorry if I may be giving you "too much" information by even including what I installed but I'm at the point that I have no other clue what to do.



Code:
[manuel@localhost ~]$ su -
Password: 
[root@localhost ~]# rpm -ivh http://rpm.livna.org/livna-release-6.rpm
Retrieving http://rpm.livna.org/livna-release-6.rpm
warning: /var/tmp/rpm-xfer.qBw0k5: Header V3 DSA signature: NOKEY, key ID a109b1ec
Preparing...                ########################################### [100%]
   1:livna-release          ########################################### [100%]
[root@localhost ~]# yum -y install ndiswrapper kernel-module-ndiswrapper-$(uname -r)
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                     100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  98 kB    00:00     
################################################## 275/275
Parsing package install arguments
No Match for argument: kernel-module-ndiswrapper-2.6.18-1.2798.fc6
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ndiswrapper to pack into transaction set.
ndiswrapper-1.25-1.lvn6.i 100% |=========================| 6.5 kB    00:00     
---> Package ndiswrapper.i386 0:1.25-1.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: ndiswrapper-kmod >= 1.25 for package: ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-ndiswrapper to pack into transaction set.
kmod-ndiswrapper-1.25-1.2 100% |=========================| 6.2 kB    00:00     
---> Package kmod-ndiswrapper.i686 0:1.25-1.2.6.18_1.2849.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.18-1.2849.fc6 for package: kmod-ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.18-1.2849.fc6. 100% |=========================| 209 kB    00:00     
---> Package kernel.i686 0:2.6.18-1.2849.fc6 set to be installed
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 ndiswrapper             i386       1.25-1.lvn6      livna              29 k
Installing for dependencies:
 kernel                  i686       2.6.18-1.2849.fc6  updates            16 M
 kmod-ndiswrapper        i686       1.25-1.2.6.18_1.2849.fc6  livna              92 k

Transaction Summary
=============================================================================
Install      3 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 16 M
Downloading Packages:
(1/3): kernel-2.6.18-1.28 100% |=========================|  16 MB    00:10     
(2/3): kmod-ndiswrapper-1 100% |=========================|  92 kB    00:00     
(3/3): ndiswrapper-1.25-1 100% |=========================|  29 kB    00:00     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>"
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID a109b1ec
Importing GPG key 0xA109B1EC "Livna.org rpms <rpm-key@livna.org>"
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel                       ######################### [1/3] 
  Installing: ndiswrapper                  ######################### [2/3] 
  Installing: kmod-ndiswrapper             ######################### [3/3] 

Installed: ndiswrapper.i386 0:1.25-1.lvn6
Dependency Installed: kernel.i686 0:2.6.18-1.2849.fc6 kmod-ndiswrapper.i686 0:1.25-1.2.6.18_1.2849.fc6
Complete!
[root@localhost ~]# gedit /etc/modprobe.d/blacklist
[root@localhost ~]# rmmod bcm43xx
[root@localhost ~]# rmmod ndiswrapper
ERROR: Module ndiswrapper does not exist in /proc/modules
[root@localhost ~]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
[root@localhost ~]# ndiswrapper -l
no drivers installed
[root@localhost ~]# yum -y install wine
So you didn't have to scroll through the wine install I removed this portion. Wine was required to unpack the driver I downloaded directly from hp.com

Code:
[root@localhost ~]# cd /home/manuel/drivers
[root@localhost drivers]# ls
bcm1xsup.dll   bcmwl5.sys    bcmwls.ini    is.exe        setup.iss
bcm43xx64.cat  bcmwliss.dll  bcmwlu00.exe  launcher.ini  sp33008.cva
bcm43xx.cat    bcmwlnpf.sys  data1.cab     layout.bin
Bcmnpf64.sys   bcmwlpkt.dll  data1.hdr     setup.exe
bcmwl564.sys   bcmwls32.exe  data2.cab     Setup.ini
bcmwl5.inf     bcmwls64.exe  ikernel.ex_   setup.inx
[root@localhost drivers]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
[root@localhost drivers]# ndiswrapper -l
installed drivers:
bcmwl5          driver installed, hardware (14E4:4324) present (alternate driver: bcm43xx)
[root@localhost drivers]#  ndiswrapper -m
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
couldn't add module alias:  at /usr/sbin/ndiswrapper line 705.
[root@localhost drivers]#
 
Old 12-14-2006, 11:50 PM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Thanks for the good HowTo with ndiswrapper. I think that the native Linux driver is not yet up to speed so unfortunately we'll have to depend on ndiswrapper for now...
 
Old 01-03-2007, 06:48 PM   #8
Coffee_Bean
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Smile

Hi,

I have just registered on this forum to thank Rayman411 for the advice given! I have been bashing my head against the wall with this Belkin card for ages, the driver was right but I wasn't getting anywhere. Your insight has meant that I am now surfing wirelessly!

Thanks!
 
Old 05-05-2007, 08:25 PM   #9
TimRainey
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Acer Woes

I have an old Aspire 5000 Acer machine, that ran windows and I am turning it into a Debian linux machine to play on. The wireless card reports it is a Bcm4318 AirForce One

I ran through this tut to figure up what was going wrong with the wireless. During the install I got an error when I typed 'rmmod ndiswrapper'. "ERROR: Module ndiswrapper does not exist in /proc/modules"

So I decided this must mean it is not installed to I headed myself over to source forge and got the ndiswrapper installed - so I thought.

I ran through the rest of this tut and things seemed to be okay. I typed in "ndiswrapper -l" and got a message of "wmp54gs driver present, hardware present".

But when I go to ifconfig nothing shows in regards to the wireless device, and iwconfig brings up "lo, eth0, and sit0" and they all say "no wireless extensions."

What have I done wrong or can some one help me figure this one out?
 
Old 07-26-2007, 10:12 PM   #10
Saguaro
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
This really helped me. But I want to add one thing where I had difficulties:
The bcmwl5.info file must contain the chip set, example 14E4 Dev_4318 otherwise it will not work.
In order to find the correct chipset, you have to log into Windows and find it in the device manager. Then you have to download a few driver files and check them out for the correct chipset.
 
Old 08-01-2007, 08:04 AM   #11
gudneo
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
[solved]

Here comes the ultimate solution to deal with this problem ... Just kidding ... Please visit the following ... The steps are straight forward and worked well for me ... Hope you also can advantage ..

http://www.tecpages.com/installing-a...g-ndiswrapper/
 
Old 11-16-2007, 12:22 AM   #12
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Rep: Reputation: 19
Still A No Go for Me

I went through the above instructions step by step, and wireless still does not work, with either the onboard wireless controller or the PCMCIA one I have for experimenting with. The on board (eth1) shows in lspci as:

05:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

The other one (eth2) is:

06:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)


ndiswrapper -l shows:

Installed ndis drivers:
wmp54gs driver present, hardware present


iwconfig:

lo no wireless extensions.

eth0 no wireless extensions.


I'm running the AMD-64 flavor of Debian, Kernel 2.6.22-3-amd64

Any ideas on where I may have erred here? Like I said, I'm certain I followed the above instructions step by step.
 
Old 03-13-2008, 12:46 PM   #13
Oper8or
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Lightbulb

OpenSUSE 10.3 on an Acer 5100
Broadcom / Atheros Wireless BCM4381

After alot of searching and trying the ways you suggested. I found another installer that works. Instead of using ndiswrapper or ndisinstaller I decided to try ndisgtk since none of the previous attempts were successful and no one had already suggested it.

I did have to follow your procedure on uninstalling the ndiswrapper. I as well made sure the ndisinstaller was not present and that no files associated with either of them were available in the file system.

1. The installation required finding the bcmwl5.inf in the C:\windows\802BG folder. (there is also another .inf I have not tried as of yet in the C:\windows\802ABG folder with the name of net5211.inf).

2. I placed the bcmwl5.inf in my /home/downloads/drivers/wireless folder.

3. Ran yast and installed the ndisgtk from the pacman repository.

4. I then proceeded to run the NDISGTK program and directed it to the bcmwl5.inf and installed. With no problems at all. I right clicked on knetworkmanager, enabled wireless, and it picked up all 3 wireless AP's right away.
 
Old 03-17-2008, 02:10 PM   #14
@lejob86
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Wink

Quote:
Originally Posted by fingerprint View Post
Just thought I'd let you know that the solution you provided work like a dream. I had upgraded from SuSE 10.1 to 10.2 and the wireless settings and drivers were lost. I'd already gone through the NDIS instructions, which didn't work like they did in 10.1. After following your instructions, the wireless light blink and there it was - brilliant...

Cheers.

Regards


Hi dude, I just want to say thanks for your advice. It really works!
THANKS A LOT.

Regards

A.b.c.
 
Old 06-18-2008, 11:43 PM   #15
Capt_nemo2199
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Do I need to download /etc/modprobe.d/blacklist from somewhere?... when I go to open "/etc/modprobe.d/blacklist" it says "could not find the file /etc/modprobe.d/blacklist. then asks that I type the location correctly and try again... any advice?
 
  


Reply

Tags
airforce, bcm4318, broadcom, ndiswrapper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me with Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Con julian.osorio Linux - Wireless Networking 13 08-01-2007 08:02 AM
trouble with BCM4318 wireless card garyozzy Linux - Wireless Networking 6 06-12-2006 05:28 PM
Intermittent Dropout on a Broadcom AirForce One DrRiptide Linux - Wireless Networking 4 02-13-2006 08:23 AM
Broadcom 4318 airforce wlan card driver for suse 10/amd 64 HP laptop fxcarlson Suse/Novell 1 12-04-2005 06:25 PM
SUSE 10 and BCM4318 gldnsabre Linux - Wireless Networking 4 11-13-2005 09:14 PM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration