LinuxQuestions.org
Register a domain and help support LQ
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 04-12-2006, 06:48 AM   #1
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
Getting Broadcom 802.11g to work!


Hi!
I can't find modules for my Broadcom 802.11g wireless card. I have heard, that there are some application for wireless, that alows user to use windows drivers for wireless network adopters. Any suggestions? THank you!
 
Old 04-12-2006, 09:19 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Visit the ndiswrapper site; http://ndiswrapper.sourceforge.net/
 
Old 04-16-2006, 05:12 AM   #3
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Original Poster
Rep: Reputation: 30
Thanks! When I load the *.inf file in ndiswrapper and then load ndiswrapper module, I check the dmesg and get this:
Quote:
ndiswrapper version 1.13 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:155): Windows driver is not 32-bit; bad magic: 020B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
I have a 64-bit CPU, but it's set to run in 32-bin mode! Any suggestions? Thank you!
 
Old 04-16-2006, 08:44 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
If the kernel (hint; see 'man uname') is 64-bit use the 64-bit Windows driver, if 32-bit use the 32-bit Windows driver. The Windows driver needs to be 32-bit as the messages informs you;

ndiswrapper (check_nt_hdr:155): Windows driver is not 32-bit; bad magic: 020B
 
Old 04-17-2006, 04:55 AM   #5
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Original Poster
Rep: Reputation: 30
Thanks, got it working now!
 
Old 04-23-2007, 04:35 PM   #6
ekko
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Shioni, where did you finally find the 32-bit driver? I've got the same problem.

Code:
# uname -a
Linux localhost 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 EDT 2006 i686 AMD Turion(tm) 64 Mobile Technology MK-36 GNU/Linux
Thanks!
 
Old 04-25-2007, 04:34 AM   #7
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Unhappy Same problem, different exposition.

I recently bought a new Compaq laptop. It has the broadcom bcm43xx wireless set up built in. I have the actual drivers from HP that came with the machine, and they work just ducky under XP. Not so good with ndiswrapper...

I have tried re-compiling the kernel to version 2.6.18.8 (from 2.4.33), installing modules from other kernels, editing every rc. file that even hints and wireless operation, and using ndiswrapper to get things working. Simply put, nothing I have tried to this point has done diddly or squat in getting me up and running in a wireless fashion.

I ran demsg and got the following:

Quote:

ndiswrapper version 1.42 loaded (smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
PCI: Device 06:00.0 not available because of resource collisions
ndiswrapper (start_pdo:49): couldn't enable PCI device: ffffffea
ndiswrapper (pnp_start_device:425): Windows driver couldn't initialize the device (C0000001)
unregister_netdevice: device eth%d/f6110800 never was registered
ndiswrapper (miniport_halt:332): device f6110960 is not initialized - not halting
ndiswrapper: device eth%d removed
Trying to free nonexistent resource <00000000-00003fff>
While it's fairly obvious that there's a conflict (which absolutely shouldn't happen with as many IRQ's as this machine supposedly has), I am at a loss to figure what to do next. I'm sure there are people who have gotten this same setup running properly. Is there anyone who has figured this one out?

FYI: the machine is
Compaq C504US
Celeron M @ 1.86 GHz
100 gig SATA hard drive
1 gig memory
DVD ROM / burner
Realtek 8139 NIC
Broadcom 1390 (bcm43xx) wireless lan
Conexant modem and sound card
Intel 945G video card
dual boot with Windows XP (downgraded from Vista (GAG!)) and Slackware 11. All the hardware (except the broadcom) works perfectly.

APM doesn't seem to want to work either, but that's not even a concern for me at this point. I want my wireless networking working! I suppose it's not of earth shattering importance, but considering what I paid for the machine, and the hell I went through to get XP working (and get rid of Vista (GAAAAGGG)), I'd like all the bells and whistles to work properly under both of my chosen operating systems.

Please help me out...the sleepless nights are getting a bit too intense.

Thanks in advance...

Blessed be!
Pappy
 
Old 04-25-2007, 06:20 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Some Broadcom devices work just fine with the bcm43xx kernel module, some do not. In these cases one has to blacklist the bcm43xx kernel module before ndiswrapper can work (your resource conflict maybe).

The Broadcom 1390 (bcm43xx) wireless device is reported to be a Broadcom 4311 chipset and should work without ndiswapper by following the suggestions here;

http://ogolberg.googlepages.com/c502us.html
 
Old 04-28-2007, 03:56 AM   #9
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Cool ndiswrapper worked...sort of.

By that, I mean that the wireless adapter is now functioning in as far as the little blue LED that says the network adapter is functional comes on. That's miles ahead of where it was. I used ndiswrapper as the fwcutter solution was no solution at all. As a matter of fact, it caused my system to lock.

For those who are planning on using ndiswrapper, let me say right now you will need to run a 2.6.x kernel. Using the stock 2.4.33 kernel that was installed at initial installation bore no fruit at all. No matter what I did, ndiswrapper simply refused to work.

After I rebooted with the new 2.6.17 kernel, it was like magic. I returned from the bathroom to be greeted by the happy blue glow of the "I'm working now" LED.

Oh yeah, that reminds me. If you are going to compile a new kernel to work with ndiswrapper, make sure you include full support for the reiserfs into the kernel If your hard drive is formatted with reiserfs. Do not make reiserfs a module. Do not use initrd thinking that will get things humming. It will not! Only compiling full reiserfs support into the kernel will get the job done. Trust me, I compiled a 2.6.17 kernel for another machine that was formatted with reiserfs. Having the support for reiserfs as a module or an initrd setting resulted in kernel panic. Only when it was compiled into the kernel did it finish the boot process.

So there you have it! Ndiswrapper does, in fact, work. Now I am down to fixing the glitches in the rc.inet1.conf file to get the wireless network up and running as it should. I may back to ask more questions. Once I get things working properly, I'll come back to share exactly how I did it.

Blessed be!
Pappy
 
  


Reply


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
broadcom BCM94306 802.11g NIC mewgle Linux - Hardware 3 03-15-2005 06:53 AM
Broadcom 802.11g built in wireless klfreese Linux - Hardware 6 07-01-2004 12:30 AM
Installing Broadcom 802.11g drivers in Mandrake 10 mrminator Linux - Wireless Networking 1 06-10-2004 01:11 PM
2580US Broadcom 802.11g Problem Zephirus Linux - Laptop and Netbook 3 05-04-2004 11:10 PM
Broadcom 802.11g linuxant redhat 9 help gwbyrd Linux - Laptop and Netbook 2 11-27-2003 05:27 PM


All times are GMT -5. The time now is 10:19 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