Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > broadcom wlan card problem

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-24-2006   #1 (permalink)
Just Joined!
 
seandiggity's Avatar
 
Join Date: Mar 2006
Posts: 22
broadcom wlan card problem

I'm having trouble with a Broadcom BCM4306 wireless PCI card. I installed ndiswrapper and followed the instructions at http://ndiswrapper.sourceforge.net/m...p/Installation

ndiswrapper tells me I have the correct driver (the frontend ndisgtk also tells me so). The ndiswrapper module also appears to load correctly. But when I run iwconfig, I get:

Code:
eth2      IEEE 802.11b/g  ESSID:"NETGEAR"  Nickname:"Broadcom 4306"
          Mode:Managed  Access Point: Invalid   Bit Rate=1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
iwlist also doesn't work. When I try to bring the interface eth2 up with ifconfig, I get this error:

Code:
SIOCSIFFLAGS: Permission denied
...which is the same error I get when I run /etc/init.d/networking restart

I know the card works because it installs fine on a Windows box. I'm not sure what the deal is, and I've been working at this for a few hours now. Any ideas?
seandiggity is offline  


Reply With Quote
Old 07-24-2006   #2 (permalink)
Linux Engineer
 
spencerf's Avatar
 
Join Date: Jan 2005
Location: Syracuse, NY
Posts: 1,144
did you do the ifconfig command as root?
__________________
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
spencerf is offline   Reply With Quote
Old 07-24-2006   #3 (permalink)
Linux Engineer
 
Zelmo's Avatar
 
Join Date: Jan 2006
Location: Riverton, UT, USA
Posts: 1,001
It's odd that the wireless card is being called eth2; ndiswrapper started naming it wlan0 about two years ago, as I recall. That suggests that either the driver didn't load right, or you have a very old version of ndiswrapper.

What do you get from ifconfig -a, and what lines in dmesg look like they're applicable to the situation (i.e., contain bcm, ndis, wlan, or some other related string)?
__________________
Stand up and be counted as a Linux user!
Zelmo is offline   Reply With Quote
Old 07-24-2006   #4 (permalink)
Just Joined!
 
seandiggity's Avatar
 
Join Date: Mar 2006
Posts: 22
Yup, I ran the ifconfig command as root.

The interface was being called eth2 because Ubuntu had originally installed it as eth1 with the wrong driver (motorola). Using the Ubuntu "Networking" GUI to "activate" the card didn't do anything. When I installed ndiswrapper with the bcmwl5 Windows driver, the interface suddenly showed up as eth2. After a restart, the interface showed up as eth1 again (but with the correct Broadcom driver). So now it's eth1 using ndiswrapper.

The interface name shouldn't really matter, right? The right driver is loaded and I get the correct info when I run iwconfig.

I'm at work right now but will tell you what dmesg says in a later post. ifconfig -a didn't bring up the interface when it was named either eth1 or eth2.
seandiggity is offline   Reply With Quote
Old 07-28-2006   #5 (permalink)
Just Joined!
 
seandiggity's Avatar
 
Join Date: Mar 2006
Posts: 22
Sorry this took so long. I'm completely stumped at this point...dmesg does say ndiswrapper is loading:
Code:
[17179595.816000] ndiswrapper version 1.8 loaded (preempt=yes,smp=no)
I also tried installing the kernel module for the broadcom 4.3 driver, and nothing good came of that:

Code:
[17179593.280000] bcm43xx driver
[17179594.984000] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
[17179594.992000] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
Let me know if anybody has any ideas...

...as an added note, I'm having a bit of trouble getting a wireless CF card to work on my Zaurus with OPIE. Unrelated, but it's another wireless frustration to add to the pile...
seandiggity is offline   Reply With Quote
Old 07-28-2006   #6 (permalink)
Linux Engineer
 
Zelmo's Avatar
 
Join Date: Jan 2006
Location: Riverton, UT, USA
Posts: 1,001
The recently developed kernel module bcm43xx needs the appropriate firmware in order to work. Did you use the fwcutter tool (available from the bcm43xx Web site) with the drivers from your install CD or manufacturer's Web site, or grab one of the versions listed in one of the docs (which I can't seem to find at the moment)? If it's the latter, you may need to try a few different versions before you find a firmware that works right.

Note that the bcm43xx module and ndiswrapper are mutually exclusive--if one is loaded, you can't use the other. So if bcm43xx is hard-compiled into the kernel, ndiswrapper won't work. Conversely, you'll have to make sure ndiswrapper is unloaded if you want to use bcm43xx.
__________________
Stand up and be counted as a Linux user!
Zelmo is offline   Reply With Quote
Old 07-29-2006   #7 (permalink)
Linux Guru
 
loft306's Avatar
 
Join Date: Oct 2003
Location: The DairyLand
Posts: 1,666
Quote:
Originally Posted by Zelmo
Note that the bcm43xx module and ndiswrapper are mutually exclusive--if one is loaded, you can't use the other. So if bcm43xx is hard-compiled into the kernel, ndiswrapper won't work. Conversely, you'll have to make sure ndiswrapper is unloaded if you want to use bcm43xx.
Also on this note if you buggered your kernel with ndiswrapper and bcm43xx i sugest that you start with new kernel sources and compile a new kernel!... though you can use your existing .config (unless you are going back to ndiswrapper(edit as nessasary))
__________________
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
loft306 is offline   Reply With Quote
Old 07-29-2006   #8 (permalink)
Just Joined!
 
seandiggity's Avatar
 
Join Date: Mar 2006
Posts: 22
I didn't use fwcutter...I saw the broadcom module in my repository in synaptic and I figured "why not? maybe it'll work". I didn't have high hopes. I'm going to get rid of the bcm43xx module and go with ndiswrapper (I kinda doubt that bcm43xx will work with the card)...if I have to recompile the kernel I will.

Thanks for the work so far, but I may even go with a new wireless card if I can't get ndiswrapper going on the next try...
seandiggity is offline   Reply With Quote
Old 08-02-2006   #9 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 2
Quote:
Originally Posted by seandiggity
I'm having trouble with a Broadcom BCM4306 wireless PCI card. I installed ndiswrapper and followed the instructions at http://ndiswrapper.sourceforge.net/m...p/Installation

ndiswrapper tells me I have the correct driver (the frontend ndisgtk also tells me so). The ndiswrapper module also appears to load correctly. But when I run iwconfig, I get:

Code:
eth2      IEEE 802.11b/g  ESSID:"NETGEAR"  Nickname:"Broadcom 4306"
          Mode:Managed  Access Point: Invalid   Bit Rate=1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
iwlist also doesn't work. When I try to bring the interface eth2 up with ifconfig, I get this error:

Code:
SIOCSIFFLAGS: Permission denied
...which is the same error I get when I run /etc/init.d/networking restart

I know the card works because it installs fine on a Windows box. I'm not sure what the deal is, and I've been working at this for a few hours now. Any ideas?
I had a similar problem and identical errors when trying to configure my network card. I finally got it to work using the "network-admin" application, but whenever I would reboot, my card would stop working until I reconfigured it. It turned out that the issues I was experiencing were because my network interfaces kept getting swapped (i.e. eth1 would become eth2 and vice versa). I assigned a permanent name using udev, and don't have this problem anymore (see http://felipe-alfaro.org/blog/2006/0...ics-in-linux/).

By the way, I'm using Ubuntu Dapper

Hope this helps

Angelo
aberios is offline   Reply With Quote
Old 08-22-2006   #10 (permalink)
Just Joined!
 
Sam Liu's Avatar
 
Join Date: Aug 2006
Location: USA baby
Posts: 78
Send a message via AIM to Sam Liu Send a message via MSN to Sam Liu Send a message via Yahoo to Sam Liu Send a message via Skype™ to Sam Liu
or you can just blacklist the old drivers =]
Sam Liu is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:10 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2