[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel versus broadcom wlan



Il giorno Tue, 29 Jan 2008 20:46:56 +0100
Florian Kulzer <florian.kulzer+debian@icfo.es> ha scritto:

> According to /usr/share/misc/pci.ids your chip should have the vendor-ID
> 0x14e4 and the prodcut-ID 0x4311. Check with "lspci -nn" if this is
> correct; you should see these numbers listed as "[14e4:4311]" right
> after the name of the card/chip. This would mean that you need the
> bcm43xx module if I read the kernel sources correctly. (Note: I don't
> have any direct experience with this particular chip/card.)

I've got 14e4:4312, and bcm43xx doesn't work (I'm actually using ndiswrapper).
I know I need to get the firmware:

apt-get install bcm43xx-fwcutter

it asks if I want to fetch and extract the firmware: YES! Ok, everything's
in /lib/firmware now. Well:

$ sudo modprobe bcm43xx
$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:00:00:1a:73:a5  
          inet addr:192.168.1.41  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:546 (546.0 B)
          Interrupt:17
$ iwconfig eth1
eth1      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4311"
          Mode:Managed  Frequency=2.472 GHz  Access Point: Invalid   
          Bit Rate=1 Mb/s   Tx-Power=18 dBm   
          RTS thr:off   Fragment thr:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
$ sudo iwlist eth1 scan
eth1      No scan results
$ sudo rmmod bcm43xx 
$ sudo modprobe ndiswrapper 
$ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: *
                    ESSID:"*"
                    ...
          Cell 02 - Address: *
                    ESSID:"*"
                    ...
          Cell 03 - Address: *
                    ESSID:"*"
                    ...
$

(yes, ndiswrapper sees it as wlan0, bcm43xx as eth1)

I believe that the reason is that bcm43xx doesn't correctly recognize the MAC
address:

bcm43xx ->     00:00:00:AA:BB:CC
ndiswrapper -> 00:AA:BB:CC:*:*

(masking the address ;) )

It seems like bcm43xx is "shifting" the MAC address of two bytes :s. Any idea?

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: