WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [wireless] Broadcom hybrid module  (Read 3260 times)

Offline sebelk

  • Newbie
  • *
  • Posts: 8
[wireless] Broadcom hybrid module
« on: April 02, 2010, 11:19:31 AM »
Hi,

First, kudos to TC team for this great distro.
I've installed TC on a usb stick I've tried to run on a notebook with wireless network card Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01). I've loaded wireless extensions and of course wl.tcz. I've followed the instructions of info:

sudo modprobe lib80211_crypt_tkip
sudo modprobe lib80211_crypt_wep
sudo modprobe lib80211_crypt_ccmp
sudo modprobe wl

But wlan0 is not working, also I've tried unloading old b43 modules and its dependencies and didn't worked either.

Should I use old driver b43 and its firmware?  Most distros use wl instead b43.

Thanks in advance!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: [wireless] Broadcom hybrid module
« Reply #1 on: April 02, 2010, 11:47:39 AM »
What sort of wireless protocol are you using, open, wep, wpa, or?

Does dmesg give any clues as to the problem?

Offline sebelk

  • Newbie
  • *
  • Posts: 8
Re: [wireless] Broadcom hybrid module
« Reply #2 on: April 02, 2010, 12:42:15 PM »
The following is the link to dmesg output:

http://pastebin.com/PkaBGBE7

When I unloaded b43 module and modprobed wl only dmesg added:

Code: [Select]
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'TKIP'
lib80211_crypt: registered algorithm 'CCMP'
wl: module license 'unspecified' taints kernel.

Thanks in advance!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: [wireless] Broadcom hybrid module
« Reply #3 on: April 02, 2010, 10:49:45 PM »
on my machine the wl driver uses eth1 rather than wlan0, did you try eth1?

Edit:
Code: [Select]
#!/bin/sh -e
#
tce-load -i /mnt/sda1/tce/wireless/wl.tcz
#
sudo modprobe lib80211_crypt_tkip
sudo modprobe lib80211_crypt_wep
sudo modprobe lib80211_crypt_ccmp
sudo modprobe wl
#
sleep 5
sudo iwconfig eth1 essid "myssid"
sudo iwconfig eth1 key restricted 12:34:56:78:9A:BC:DE:F1:23:45:67:89:AB
#
sudo udhcpc -b -i eth1
#
# EOF

..and:
Code: [Select]
$ dmesg
...
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'TKIP'
wl: module license 'unspecified' taints kernel.
wl 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
wl 0000:0c:00.0: setting latency timer to 64
eth1 (wl): not using net_device_ops yet
eth1: Broadcom BCM4315 802.11 Wireless Controller 5.10.91.9
intel_rng: FWH not detected
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'

..and:
Code: [Select]
$ /mnt/sda1/scripts/wireless_load.sh
wireless_tools.tcz: OK
wireless-2.6.29.1-tinycore.tcz: OK
wl.tcz: OK
udhcpc (v1.14.3) started
Sending discover...
Sending discover...
Sending discover...
Sending select for 192.168.1.106...
Lease of 192.168.1.106 obtained, lease time 600
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.1.1
adding dns 213.42.20.20
adding dns 195.229.241.222
« Last Edit: April 02, 2010, 11:58:09 PM by Juanito »

Offline sebelk

  • Newbie
  • *
  • Posts: 8
Re: [wireless] Broadcom hybrid module
« Reply #4 on: April 04, 2010, 12:27:43 PM »
Thanks Juanito, but eth1 even doesn't exist on my system. I mean, if I unload b43 and load wl, there is no wireless interface.

Are you blacklisting b43 module at boot?


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: [wireless] Broadcom hybrid module
« Reply #5 on: April 04, 2010, 04:35:59 PM »
There's no blacklist in tc, but the b43 module does not load when the wireless-2.6.29.1-tinycore extension is loaded on my machine anyway.

You didn't mention if you're trying to use wep or wpa?

You could try the wicd extension and see if that helps?

Since the b43 module loads on your system, maybe you could try with that after first loading the firmware?