LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2010, 08:08 PM   #1
neurobot
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 7

Rep: Reputation: 0
Slackware 13.1 BCM4312 Wireless Setup


This is my first time posting to a forum, hope it goes well. I'm on a Dell Latitude E6500, and I'm switching from Windows 7 to Slackware 13.1; I've never used linux before. I'm trying to set up wireless internet, and it doesn't seem like there's any standard way of doing it for my system.

When I run the "lspci -v" command, I find this:
Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb

When I run the "lsmod" command, This comes up:
Module Size Used by
...
b43 162121 0
...
ssb 40527 1 b43[/FONT]
...

Yesterday I spend the day figuring out how to install b43-fwcutter-013.tar.bz2 and broadcom-wl-4.150.10.5.tar.bz2, so that I could use the driver (firmware?) for my card on slackware.

I read this tutorial, http://alien.slackbook.org/dokuwiki/...ckware:network explaining how to configure the /etc/rc.d/rc.inet1.conf. I ended up making changes that look like this:

# Configuration information for wlan0 (using DHCP).
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="speedstream (my host name)"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=frontierACAD (the SSID of my Wireless network)
WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="***************************"

And the wireless doesn't work. I'm stumped, and I throw myself at the mercy of the forums.
 
Old 10-08-2010, 08:17 PM   #2
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 32
Have the same wireless chip here on a Dell Inspiron 1545. And it works fine after I installed the two pkg you mentioned, except that I use SlackBuilds from SBo to build 2 packages:

http://slackbuilds.org/repository/13.../b43-fwcutter/
http://slackbuilds.org/repository/13.../b43-firmware/

And I didn't have to change anything. It just worked after installing the 2 pkgs and reboot the system.
 
1 members found this post helpful.
Old 10-08-2010, 08:34 PM   #3
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 40
I have the same laptop as bnguyen, but I built b43-fwcutter and installed the b43-firmware myself, following the tutorial at http://wireless.kernel.org/en/users/...entioned_above and everything works fine.

Beware that you're looking for b43, not b43-legacy on this tutorial.

Last edited by rfernandez; 10-08-2010 at 08:36 PM.
 
Old 10-09-2010, 12:29 PM   #4
neurobot
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 7

Original Poster
Rep: Reputation: 0
I installed both those files, as per this tutorial http://www.slackword.net/?p=32. So I'm pretty sure I have the firmware up and running. I'm just at a loss as to what the next step is.
 
Old 10-09-2010, 12:38 PM   #5
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 40
Then you'll have to setup your network connection. If you are using a WPA encrypted connection, you'll have to look at /etc/wpa_supplicant.conf and configure it to connect to your router. From your rc.inet1.conf

Code:
# Configuration information for wlan0 (using DHCP). 
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="speedstream (my host name)"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=frontierACAD (the SSID of my Wireless network)
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
WLAN_WPAWAI[4]="10"
The bold lines are those that are setup for my rc.inet1.conf so wpa_supplicant works.

Nonetheless, you can look for wicd, which is a graphical network manager with easy use and configuration. It is on the /extra packages or just "# slackpkg install wicd".
 
1 members found this post helpful.
Old 10-09-2010, 12:44 PM   #6
maxmiorim
Member
 
Registered: Sep 2010
Location: Brazil
Distribution: Slackware
Posts: 43

Rep: Reputation: 8
REMOVED: The above poster beat me to it.

Last edited by maxmiorim; 10-09-2010 at 12:45 PM.
 
Old 10-09-2010, 12:55 PM   #7
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Wicd makes it easy to connect to wireless networks. You can install it from /extra.

But which BCM4312 do you have?
Code:
# lspci -vnn | grep 14e4
If you see '14e4:4315', then you have the LP-PHY version and need v4.174.64.19 of Broadcom's firmware.

*If you don't actually have to LP-PHY version, then you can ignore the rest of this post*

You can follow instructions here or just use the SlackBuild to install v4.174.64.19 of Broadcom's firmware.

This card seems to have problems on some systems with Intel processors and Phoenix BIOS. If wireless still isn't working, check dmesg:
Code:
dmesg | grep b43
If you see something like:
Code:
b43-phy0 ERROR: Fatal DMA error: 0x00000800, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
b43-phy0 ERROR: This device does not support DMA on your system. Please use PIO instead.
Then create a file /etc/modprobe.d/b43.conf with:
Code:
options b43 pio=1 qos=0
Then reload b43

*Note: the b43.conf file doesn't seem to be required with kernel 2.6.35+ (at least not on my system)*

Last edited by piratesmack; 10-09-2010 at 01:06 PM.
 
1 members found this post helpful.
Old 10-09-2010, 01:10 PM   #8
neurobot
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 7

Original Poster
Rep: Reputation: 0
Wireless is working!! Thanks rfernandez!! No one explained to me that all you have to do to get wicd is "slackpkg install wicd". It works perfectly, and it was extremely simple.
 
Old 10-09-2010, 01:17 PM   #9
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 40
I'm glad you got it working.
 
Old 10-09-2010, 01:18 PM   #10
neurobot
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 7

Original Poster
Rep: Reputation: 0
piratesmack: I did see '14e4:4315', so I do have the LP-PHY version. I did see both of those 'b43-phy0 ERROR:', specifically this showed up when I typed dmesg | grep b43:
Code:
b43-pci-bridge 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
b43-pci-bridge 0000:0c:00.0: setting latency timer to 64
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0 ERROR: Fatal DMA error: 0x00000800, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
b43-phy0 ERROR: This device does not support DMA on your system. Please use PIO instead.
b43-phy0: Controller RESET (DMA error) ...
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Controller restarted
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Now that I'm using wicd, my wireless works, but should I still add the /etc/modprobe.d/b43.conf file? I'd like to figure out how to manage my wireless with scripts, as this whole slackware thing is just for me to learn about computers.
 
Old 10-09-2010, 01:30 PM   #11
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by neurobot View Post
piratesmack: I did see '14e4:4315', so I do have the LP-PHY version. I did see both of those 'b43-phy0 ERROR:', specifically this showed up when I typed dmesg | grep b43:
Code:
b43-pci-bridge 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
b43-pci-bridge 0000:0c:00.0: setting latency timer to 64
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0 ERROR: Fatal DMA error: 0x00000800, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
b43-phy0 ERROR: This device does not support DMA on your system. Please use PIO instead.
b43-phy0: Controller RESET (DMA error) ...
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Controller restarted
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Now that I'm using wicd, my wireless works, but should I still add the /etc/modprobe.d/b43.conf file? I'd like to figure out how to manage my wireless with scripts, as this whole slackware thing is just for me to learn about computers.
It looks like it's falling back to PIO mode anyway so no need to create the conf file (unless you want to get rid of the error message). Weird that your wireless is working with the older firmware though, have you tried connecting to a network? (Mine can scan for networks, but can't actually connect to them with the older firmware.)

Last edited by piratesmack; 10-09-2010 at 01:31 PM.
 
Old 10-10-2010, 12:59 AM   #12
neurobot
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 7

Original Poster
Rep: Reputation: 0
Yeah, it scans and connects perfectly. Got lucky I guess
 
Old 10-10-2010, 01:17 AM   #13
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by neurobot View Post
Yeah, it scans and connects perfectly. Got lucky I guess
I must have been using a different version when I couldn't connect.

It does work with 4.150.10.5 according to this:
http://forums.opensuse.org/english/g...ml#post2040197
 
  


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
[SOLVED] Broadcom BCM4312 wireless not working in Debian jestinjoy Linux - Wireless Networking 11 05-08-2010 09:57 PM
Kubuntu Wireless Issue (BCM4312) elusive_night Linux - Networking 2 12-03-2009 11:48 AM
troubleshooting BCM4312 Wireless rioguia Linux - Networking 2 08-31-2009 11:19 AM
Crazy!! BCM4312 wireless still canNOT work... HELP ME! chopin1998@gmail.com Linux - Wireless Networking 3 08-22-2008 08:43 PM
BCM4312 and Slackware 12.1 RC1 andrew.46 Slackware 12 04-01-2008 08:02 PM


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