BCM4321 on Linksys WPC300N V1

Hello Carl,


sudo /sbin/modprobe -rv wl
rmmod /lib/modules/2.6.37.6-0.5-desktop/updates/wl.ko


sudo /sbin/modprobe -v wl
insmod /lib/modules/2.6.37.6-0.5-desktop/updates/wl.ko 

By the way, prior to answering this post of yours, I found that if I leave the Atheros card uninstalled, the command “/sbin/lspci -nnk” will only show the Linksys card name but not “kernel module installed=wl” even though both Broadcom wl packages are installed. Also, after reboot the light on the Linksys card does not come up at all and the field for the kernel module in YAST-Network Settings is blank, even though wl is installed. Somehow the Atheros card being connected has to do with the control of the slot where the Linksys card is inserted. For now, I just leave the Atheros card connected, just not configure it in YAST. At this moment only the POWER LED is lit on the Linksys card.

Let’s see if Larry chimes in.
It’s getting beyond me.

On 05/20/2011 01:06 AM, caf4926 wrote:
>
> Let’s see if Larry chimes in.
> It’s getting beyond me.

Only briefly.

Please post the output of ‘lsmod’ just after you have rebooted. I suspect some
module is interfering with wl.

Hi Larry,


#lsmod

Module Size Used by
michael_mic 1908 4
arc4 1329 2
ecb 2015 2
ip6t_LOG 7940 5
xt_tcpudp 3052 2
xt_pkttype 960 3
ipt_LOG 7845 5
xt_limit 1753 10
vmsync 3234 0
vmblock 11346 1
af_packet 20330 2
mperf 1271 0
snd_pcm_oss 48271 0
snd_mixer_oss 17521 1 snd_pcm_oss
snd_seq 57777 0
snd_seq_device 6678 1 snd_seq
edd 8752 0
ip6t_REJECT 4192 3
nf_conntrack_ipv6 8286 3
nf_defrag_ipv6 9434 1 nf_conntrack_ipv6
ip6table_raw 1203 1
xt_NOTRACK 864 4
ipt_REJECT 2200 3
iptable_raw 1294 1
iptable_filter 1466 1
ip6table_mangle 1636 0
nf_conntrack_netbios_ns 1366 0
nf_conntrack_ipv4 8584 3
nf_defrag_ipv4 1281 1 nf_conntrack_ipv4
ip_tables 13128 2 iptable_raw,iptable_filter
xt_conntrack 2480 6
nf_conntrack 75967 5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter 1375 1
ip6_tables 13404 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 18727 16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
fuse 72011 8
dm_mod 76266 0
lib80211_crypt_tkip 8612 0
wl 2642390 0
snd_hda_codec_realtek 274527 1
snd_hda_intel 25104 2
snd_hda_codec 95891 2 snd_hda_codec_realtek,snd_hda_intel
pcmcia 54463 0
snd_hwdep 6198 1 snd_hda_codec
sr_mod 15048 0
cdrom 38437 1 sr_mod
snd_pcm 88841 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
firewire_ohci 28283 0
ata_generic 3015 0
8139too 27094 0
yenta_socket 35551 0
firewire_core 57343 1 firewire_ohci
pcmcia_rsrc 11215 1 yenta_socket
snd_timer 22055 2 snd_seq,snd_pcm
button 5497 0
i2c_piix4 10342 0
pcmcia_core 17581 3 pcmcia,yenta_socket,pcmcia_rsrc
video 14434 0
container 2583 0
sg 28446 0
8139cp 21063 0
battery 10066 0
ac 3227 0
pata_atiixp 3676 0
snd 67246 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
crc_itu_t 1451 1 firewire_core
sparse_keymap 3858 0
rfkill 17926 0
joydev 9578 0
shpchp 27427 0
pci_hotplug 28814 1 shpchp
pcspkr 1662 0
serio_raw 4378 0
soundcore 7270 1 snd
snd_page_alloc 8121 2 snd_hda_intel,snd_pcm
ext4 373665 2
jbd2 78939 1 ext4
crc16 1419 1 ext4
radeon 942673 3
ttm 64252 1 radeon
drm_kms_helper 32687 1 radeon
drm 191946 5 radeon,ttm,drm_kms_helper
sata_sil 7422 6
i2c_algo_bit 5402 1 radeon
fan 2575 0
thermal 13154 0
processor 36507 1
thermal_sys 14790 4 video,fan,thermal,processor

/sbin/lspci -nnk

09:04.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus Controller [1524:1410] (rev 01)
Subsystem: Toshiba America Info Systems Device [1179:ff00]
Kernel driver in use: yenta_cardbus
09:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: Toshiba America Info Systems Device [1179:ff00]
Kernel driver in use: 8139too
0a:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11b/g/n [14e4:4329] (rev 01)
Subsystem: Linksys WPC300N v1 Wireless-N Notebook Adapter [1737:0058]
Kernel driver in use: wl

On 05/20/2011 02:06 PM, taytong888 wrote:
>
> Hi Larry,
>
>
> Code:
> --------------------
>
> #lsmod
> --------------------
>
>
> Module Size Used by
> michael_mic 1908 4
> arc4 1329 2
> ecb 2015 2
> ip6t_LOG 7940 5
> xt_tcpudp 3052 2
> xt_pkttype 960 3
> ipt_LOG 7845 5
> xt_limit 1753 10
> vmsync 3234 0
> vmblock 11346 1
> af_packet 20330 2
> mperf 1271 0
> snd_pcm_oss 48271 0
> snd_mixer_oss 17521 1 snd_pcm_oss
> snd_seq 57777 0
> snd_seq_device 6678 1 snd_seq
> edd 8752 0
> ip6t_REJECT 4192 3
> nf_conntrack_ipv6 8286 3
> nf_defrag_ipv6 9434 1 nf_conntrack_ipv6
> ip6table_raw 1203 1
> xt_NOTRACK 864 4
> ipt_REJECT 2200 3
> iptable_raw 1294 1
> iptable_filter 1466 1
> ip6table_mangle 1636 0
> nf_conntrack_netbios_ns 1366 0
> nf_conntrack_ipv4 8584 3
> nf_defrag_ipv4 1281 1 nf_conntrack_ipv4
> ip_tables 13128 2 iptable_raw,iptable_filter
> xt_conntrack 2480 6
> nf_conntrack 75967 5
> nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
> ip6table_filter 1375 1
> ip6_tables 13404 4
> ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
> x_tables 18727 16
> ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
> fuse 72011 8
> dm_mod 76266 0
> lib80211_crypt_tkip 8612 0
> wl 2642390 0
> snd_hda_codec_realtek 274527 1
> snd_hda_intel 25104 2
> snd_hda_codec 95891 2 snd_hda_codec_realtek,snd_hda_intel
> pcmcia 54463 0
> snd_hwdep 6198 1 snd_hda_codec
> sr_mod 15048 0
> cdrom 38437 1 sr_mod
> snd_pcm 88841 3
> snd_pcm_oss,snd_hda_intel,snd_hda_codec
> firewire_ohci 28283 0
> ata_generic 3015 0
> 8139too 27094 0
> yenta_socket 35551 0
> firewire_core 57343 1 firewire_ohci
> pcmcia_rsrc 11215 1 yenta_socket
> snd_timer 22055 2 snd_seq,snd_pcm
> button 5497 0
> i2c_piix4 10342 0
> pcmcia_core 17581 3 pcmcia,yenta_socket,pcmcia_rsrc
> video 14434 0
> container 2583 0
> sg 28446 0
> 8139cp 21063 0
> battery 10066 0
> ac 3227 0
> pata_atiixp 3676 0
> snd 67246 14
> snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
> crc_itu_t 1451 1 firewire_core
> sparse_keymap 3858 0
> rfkill 17926 0
> joydev 9578 0
> shpchp 27427 0
> pci_hotplug 28814 1 shpchp
> pcspkr 1662 0
> serio_raw 4378 0
> soundcore 7270 1 snd
> snd_page_alloc 8121 2 snd_hda_intel,snd_pcm
> ext4 373665 2
> jbd2 78939 1 ext4
> crc16 1419 1 ext4
> radeon 942673 3
> ttm 64252 1 radeon
> drm_kms_helper 32687 1 radeon
> drm 191946 5 radeon,ttm,drm_kms_helper
> sata_sil 7422 6
> i2c_algo_bit 5402 1 radeon
> fan 2575 0
> thermal 13154 0
> processor 36507 1
> thermal_sys 14790 4 video,fan,thermal,processor
>
>
> Code:
> --------------------
> /sbin/lspci -nnk
> --------------------
>
>
> 09:04.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus
> Controller [1524:1410] (rev 01)
> Subsystem: Toshiba America Info Systems Device [1179:ff00]
> Kernel driver in use: yenta_cardbus
> 09:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
> Subsystem: Toshiba America Info Systems Device [1179:ff00]
> Kernel driver in use: 8139too
> 0a:00.0 Network controller [0280]: Broadcom Corporation BCM4321
> 802.11b/g/n [14e4:4329] (rev 01)
> Subsystem: Linksys WPC300N v1 Wireless-N Notebook Adapter [1737:0058]
> Kernel driver in use: wl

There are no modules loaded that would interfere with wl. As I do not debug that
driver, you will need to get help from others. Sorry.

Hello everyone,

It appears to me that wl is already installed but not yet loaded at boot, so I am looking to follow the post by mamenb in the following thread: Compile Broadcom hybrid drivers


cp wl.ko /lib/modules/uname -r/kernel/net/wireless/

I got the following error:


cp: invalid option -- '/'

It also appears the syntax for the above command as written is not correct. Can anyone more experienced show me how to re-write the command in order to copy wl.ko from its current location (SOURCE=where?) to its DESTINATION, perhaps “/lib/modules/‘uname -r’/kernel/net/wireless”?

Thanks a lot for your help.

Hello everyone,

I finally got the correct command from README.txt file from Broadcom STA:

To load Broadcom wl driver:


cp wl.ko /lib/modules/'uname -r'/kernel/drivers/net/wireless

then I got this error message:

“cp: cannot stat `wl.ko’: No such file or directory”

However, I found that wl.ko is in /lib/modules/2.6.37.6-0.5-desktop/updates, so in order to add an executable permission prior to copying it into the above “wireless” sub-directory I typed:


chmod +x /lib/modules/'uname -r'/updates/wl.ko

Error message:

“chmod: cannot access `/lib/modules/uname -r/updates/wl.ko’: No such file or directory”

Please help me! Thanks a lot!
:frowning:

Hi everyone,

Ok. I found that I have to use the actual kernel number, not uname -r:


#chmod +x /lib/modules/2.6.37.6-0.5-desktop/updates/wl.ko


#cp /lib/modules/2.6.37.6-0.5-desktop/updates/wl.ko /lib/modules/2.6.37.6-0.5-desktop/kernel/drivers/net/wireless


# insmod wl.ko
insmod: can't read 'wl.ko': No such file or directory


# insmod /lib/modules/2.6.37.6-0.5-desktop/kernel/drivers/net/wireless/wl.ko
insmod: error inserting '/lib/modules/2.6.37.6-0.5-desktop/kernel/drivers/net/wireless/wl.ko': -1 File exists

So, forget about “insmod wl.ko”.

Next, add the security encryption module:


#modprobe ieee80211_crypt_tkip
FATAL: Module ieee80211_crypt_tkip not found.

I found in an ealier post of mine that lib80211_crypt_tkip was found (router uses TKIP/AES), so:


#modprobe lib80211_crypt_tkip

Add the following to /etc/rc.d/boot.local to have the driver and encryption key loaded as part of the boot process:


#echo modprobe wl >> /etc/rc.d/boot.local


#echo modprobe lib80211_crypt_tkip >> /etc/rc.d/boot.local

We’ll see what happens after rebooting.

On 05/22/2011 09:06 PM, taytong888 wrote:
>
> Hello everyone,
>
> I finally got the correct command from README.txt file from Broadcom
> STA:
>
> To load Broadcom wl driver:
>
>
> Code:
> --------------------
>
> cp wl.ko /lib/modules/‘uname -r’/kernel/drivers/net/wireless
> --------------------
>
>
> then I got this error message:
>
> “cp: cannot stat `wl.ko’: No such file or directory”

However, I found that wl.ko is in
/lib/modules/2.6.37.6-0.5-desktop/updates, so in order to add an
executable permission prior to copying it into the above “wireless”
sub-directory I typed:

Code:

chmod +x /lib/modules/‘uname -r’/updates/wl.ko


Error message:

“chmod: cannot access `/lib/modules/uname -r/updates/wl.ko’: No such
> file or directory”
>
> Please help me! Thanks a lot!
> :frowning:

Around the uname -r, you need to use back ticks (`), not single quotes (’).

Hello Larry,

I found the back tick key, ie. same key as the ~. but I did not use it because I did not see your message and was busy configuring the card. Earlier I also un-installed “ndiswrapper”, “b43” and “b43-fwcutter” to avoid interfering with “wl”.

Anyway, I finally got wireless! Remember my struggles in 11.3?


#/sbin/lspci -nnk

0a:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11b/g/n [14e4:4329] (rev 01)
	Subsystem: Linksys WPC300N v1 Wireless-N Notebook Adapter [1737:0058]
	Kernel driver in use: wl


#/usr/sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bgn  ESSID:"myssid"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1F:33:B4:E1:D8   
          Bit Rate=130 Mb/s   Tx-Power:24 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=5/5  Signal level=-36 dBm  Noise level=-57 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


#sudo /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Scan completed :
          Cell 01 - Address: 00:1F:33:B4:E1:D8
                    ESSID:"myssid"
                    Mode:Managed
                    Frequency:2.422 GHz (Channel 3)
                    Quality:5/5  Signal level:-46 dBm  Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s

How do I mark this thread as SOLVED?
lol!

You can’t really mark it solved. It doesn’t matter.
But well done in solving it. Thanks to @lwfinger

Thankfully I never have such a time of it.

On 05/22/2011 10:36 PM, taytong888 wrote:
>
> Hello Larry,
>
> I found the back tick key, ie. same key as the ~. but I did not use it
> because I did not see your message and was busy configuring the card.
> Earlier I also un-installed “ndiswrapper”, “b43” and “b43-fwcutter” to
> avoid interfering with “wl”.
>
> Anyway, I finally got wireless! Remember my struggles in 11.3?

I have said this many times before, but nobody ever reads what I wrote. The
package b43-fwcutter ONLY GETS THE FIRMWARE ON YOUR SYSTEM. It will NEVER
interfere with wl as that firmware is only invoked when driver b43 is loaded.

There are some advantages in having the b43 firmware installed even when using
wl. When you upgrade from 11.4 to 12.1, b43 in that kernel will properly drive
the BCM4321 and several other of the 802.11N chips. With that firmware
available, b43 will WORK OUT OF THE BOX, whereas wl will always be a separate,
non-automatic package.