19ff2 [Solved] [PC-BSD] Broadcom wireless on Dell doesn't turn on. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old December 7th, 2010, 19:22
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default [PC-BSD] Broadcom wireless on Dell doesn't turn on.

Hi folks,

Just started using Unix-type OS few days ago and now I have one problem. I can't get wireless device turning on (led is switched off) even though it's working on Windows. OS installed is PCBSD 8.1 so there should be no difference compared to FreeBSD. I have some kind of Dell mini wireless card (it must be Broadcom). Please tell me how to get more accurate information in terminal and I'll provide you with it if you need. For reference I used some parts of FreeBSD handbook.

Here's what I tried:
* Added if_bwn_load="YES" to /boot/loader.conf.
* Did "make install clean" inside /usr/ports/net/bwn-firmware-kmod directory
* reboot
* ifconfig wlan0 create wlandev bwn0
* ifconfig wlan0 up scan

Tried also bwi instead of bwn with no success.

What should I do to make my wireless work?

Last edited by DutchDaemon; December 7th, 2010 at 20:08.
Reply With Quote
  #2  
Old December 7th, 2010, 20:03
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Add bwn firmware to loader.conf
Reply With Quote
  #3  
Old December 7th, 2010, 20:07
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,845
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

Quote:
Originally Posted by nemirst View Post
OS installed is PCBSD 8.1 so there should be no difference compared to FreeBSD.
That's a risky misconception, so beware of advice.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
The Following User Says Thank You to DutchDaemon For This Useful Post:
nemirst (December 7th, 2010)
  #4  
Old December 7th, 2010, 20:29
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by richardpl View Post
Add bwn firmware to loader.conf
I did it now I guess. Added
Code:
bwn_v4_ucode_load="YES"
to /boot/loader.conf.
Tried also manual load of module after reboot kldload bwn_v4_ucode and got message:
Code:
kldload: can't load bwn_v4_ucode: File exists
Which should mean that module is really loaded. Wifi is still not working, led turned off.

Last edited by DutchDaemon; December 8th, 2010 at 02:28. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #5  
Old December 7th, 2010, 22:01
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Is there hardware switch somewhere?

Anythin displayed in dmesg(8)
Reply With Quote
  #6  
Old December 7th, 2010, 22:16
joag joag is offline
Junior Member
 
Join Date: May 2010
Location: Panama
Posts: 39
Thanks: 6
Thanked 1 Time in 1 Post
Default

This is how I did it under FreeBSD 7 http://nixheiser.info/Projects.html, FreeBSD-8 changed things slightly, but here http://www.freebsd.org/doc/handbook/...-wireless.html is all the info you need, reading this section in the handbook and with the example in my site I think you should be able to have this wireless card working.

BTW check if you chipset is supported otherwise it won't work unless you use ndiswrapper.
__________________
joag
Reply With Quote
  #7  
Old December 7th, 2010, 22:54
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Quote:
BTW check if you chipset is supported otherwise it won't work unless you use NDISulator.
There, fixed it for ya.
Reply With Quote
  #8  
Old December 7th, 2010, 23:02
joag joag is offline
Junior Member
 
Join Date: May 2010
Location: Panama
Posts: 39
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by richardpl View Post
There, fixed it for ya.
exactly, that was the idea :p
__________________
joag
Reply With Quote
  #9  
Old December 9th, 2010, 18:55
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by richardpl View Post
Is there hardware switch somewhere?

Anythin displayed in dmesg(8)
Thanks for mentioning this useful command. I see some interesting lines now:
Code:
need multicast update callback
need multicast update callback
bwn_v4_lp_ucode15: could not load firmware image, error 2
bwn-open_v4_lp_ucode15: could not load firmware image, error 2
But there is also line in /boot/loader.conf which should load these firmware images:
Code:
if_bwn_load="YES"
bwn_v4_ucode_load="YES"
I will try http://forums.freebsd.org/showpost.p...&postcount=227 solution but it seems like a silly workaround.

Quote:
Originally Posted by joag View Post
FreeBSD-8 changed things slightly, but here http://www.freebsd.org/doc/handbook/...-wireless.html is all the info you need, reading this section in the handbook and with the example in my site I think you should be able to have this wireless card working.
Yes, thanks I already read first sections which are more firmware/driver related.


By the way, I switched to FreeBSD 8.1 x86.
Reply With Quote
  #10  
Old December 11th, 2010, 13:21
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I now switched to Ndisulator and configured system using this guide: http://www.freebsd.org/doc/handbook/...ork-setup.html.
When I load wireless module manually all works fine but when it's started automatically at boot adding line
Code:
bcmwl5_sys_load="YES"
to /boot/loader.conf system crashes showing page fault and offers only to restart. I had to use FreeBSD installation disk to fix system modifying loader.conf. Is there any way to start module automatically?
Also wireless hardware led is disabled but dhclient wlan0 works just fine when loading module manually.

Last edited by DutchDaemon; December 11th, 2010 at 16:24.
Reply With Quote
  #11  
Old December 11th, 2010, 20:32
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Why are you trying to load module via loader.conf?

Just stop doing that.

You do not need to use install cd to unload module from loader prompt.

For more info about NDISulator follow this thread:
http://forums.freebsd.org/showthread.php?t=9204
Reply With Quote
  #12  
Old December 11th, 2010, 21:48
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I'm loading module via loader.conf because I want it to load automatically at startup and that's what is said if you follow that link I posted before:
Quote:
You can configure the system to load the NDIS modules at boot time in the same way as with any other module. First, copy the generated module, W32DRIVER_SYS.ko, to the /boot/modules directory. Then, add the following line to /boot/loader.conf:
Why shouldn't I follow handbook? Could be I understood incorrectly what was written in it...

How do I unload module otherwise? I couldn't access commandline before that restart. Was there any secret key combination?
Reply With Quote
  #13  
Old December 11th, 2010, 22:45
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Information in handbook was never correct. You was very lucky if you ever got ndis modules to not crash during boot.

Nothing is really secret. From loader prompt/bootloader menu you type unload, this will unload all modules
now you just type boot command and/or load modules you really want via load command.
This and the others is explained in various manual pages.

You can load modules after boot via rc.local and many other options...
Reply With Quote
The Following User Says Thank You to richardpl For This Useful Post:
nemirst (December 12th, 2010)
  #14  
Old December 12th, 2010, 17:59
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Tried older Broadcom driver and it loaded successfully at startup. One more thing is left. Interface is not getting ip by DHCP automatically at startup. I have to type manually:dhclient wlan0
That's only command necessary and wireless is working.
Wireless entries in /etc/rc.conf:
Code:
wlans_ndis0="wlan0"
ifconfig_wlan0="WPA DHCP"
Reply With Quote
  #15  
Old December 12th, 2010, 18:08
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

Use SYNCDHCP.
Reply With Quote
  #16  
Old December 12th, 2010, 18:10
nemirst nemirst is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I just wanted to make post here about solution found here: http://forums.freebsd.org/showpost.p...10&postcount=8

Thanks again!
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell D830 Broadcom 432AGN WiFi mini PCI-Express Seeker Mobile Computing 177 December 8th, 2011 19:36
[Wireless] Dell 1510 / Broadcom BCM 204 6B2 Nollo Mobile Computing 18 February 17th, 2011 19:07
Broadcom Wireless chips support SaveTheRbtz System Hardware 41 October 25th, 2010 14:37
[Solved] Belkin Wireless G (USB) and Broadcom bcmwl5_sys quakerdoomer Peripheral Hardware 11 July 17th, 2010 17:02
support for Broadcom wireless drivers in freeBSD 8 bhargava System Hardware 5 December 9th, 2009 21:18


All times are GMT +1. The time now is 14:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0