Sucess with Broadcom BCM43xx in FC5T2 but not with system-config-network

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

 



These are the steps I took to make this work on a HP Pavilion ZE2108WM
Notebook with onboard Broadcom Corporation BCM4318 [AirForce One 54g]
802.11g Wireless LAN Controller (rev 02) running FC5test1 with the
2.6.15-1.1884_FC5 i686 kernel today:

[stan@localhost ~]$ svn checkout
svn://svn.berlios.de/bcm43xx/trunk/fwcutter
A    fwcutter/fwcutter.c
A    fwcutter/fwcutter_list.h
A    fwcutter/md5.c
A    fwcutter/md5.h
A    fwcutter/Makefile
A    fwcutter/README
 U   fwcutter
Checked out revision 1106.
[stan@localhost ~]$ ls
Desktop  fwcutter
[stan@localhost ~]$ cd fwcutter
[stan@localhost fwcutter]$ ls
fwcutter.c  fwcutter_list.h  Makefile  md5.c  md5.h  README
[stan@localhost fwcutter]$ make
cc -std=c99 -O2 -fomit-frame-pointer -Wall -pedantic -D_BSD_SOURCE
-DFWCUTTER_VERSION_=0.0.1   -c -o fwcutter.o fwcutter.c
cc -std=c99 -O2 -fomit-frame-pointer -Wall -pedantic -D_BSD_SOURCE
-DFWCUTTER_VERSION_=0.0.1   -c -o md5.o md5.c
cc -std=c99 -O2 -fomit-frame-pointer -Wall -pedantic -D_BSD_SOURCE
-DFWCUTTER_VERSION_=0.0.1 -o fwcutter fwcutter.o md5.o
[stan@localhost fwcutter]$ su
Password:
[root@localhost fwcutter]# make install
install -o 0 -g 0 -m 755 fwcutter /usr/local/bin/
[root@localhost fwcutter]#

At this point I copied bcmwl5.sys to ~/ from the WLAN folder of the HP
driver disk that came with the laptop and chmoded it to 777. (This same
driver file is also available at 
ftp://ftp.support.acer-euro.com/notebook/aspire_3020_5020/driver/80211g.zip ).

[root@localhost stan]# ls
bcmwl5.sys Desktop fwcutter
[root@localhost stan]# mv bcmwl5.sys ./fwcutter
[root@localhost stan]# cd fwcutter
[root@localhost fwcutter]# ls
bcmwl5.sys  fwcutter  fwcutter.c  fwcutter_list.h  fwcutter.o  Makefile
md5.c  md5.h  md5.o  README
[root@localhost fwcutter]# fwcutter bcmwl5.sys
fwcutter can cut the firmware out of bcmwl5.sys
  filename :  bcmwl5.sys
  version  :  3.100.64.0
  MD5      :  e7debb46b9ef1f28932e533be4a3d1a9

extracting bcm43xx_microcode2.fw ...
extracting bcm43xx_microcode4.fw ...
extracting bcm43xx_microcode5.fw ...
*****: Sorry, it's not posible to extract "bcm43xx_microcode11.fw".
*****: Extracting firmware from an old driver is bad. Choose a more
recent one.
*****: Luckily bcm43xx driver doesn't include microcode11 uploads at the
moment.
*****: But this can be added in the future...
extracting bcm43xx_pcm4.fw ...
extracting bcm43xx_pcm5.fw ...
extracting bcm43xx_initval01.fw ...
extracting bcm43xx_initval02.fw ...
extracting bcm43xx_initval03.fw ...
extracting bcm43xx_initval04.fw ...
extracting bcm43xx_initval05.fw ...
extracting bcm43xx_initval06.fw ...
extracting bcm43xx_initval07.fw ...
extracting bcm43xx_initval08.fw ...
extracting bcm43xx_initval09.fw ...
extracting bcm43xx_initval10.fw ...
[root@localhost fwcutter]# make installfw
if ! [ -d /lib/firmware ]; then mkdir /lib/firmware; fi
install -o 0 -g 0 -m 600 bcm43xx_*.fw /lib/firmware
[root@localhost fwcutter]# ls /lib/firmware
bcm43xx_initval01.fw  bcm43xx_initval04.fw  bcm43xx_initval07.fw
bcm43xx_initval10.fw   bcm43xx_microcode5.fw
bcm43xx_initval02.fw  bcm43xx_initval05.fw  bcm43xx_initval08.fw
bcm43xx_microcode2.fw  bcm43xx_pcm4.fw
bcm43xx_initval03.fw  bcm43xx_initval06.fw  bcm43xx_initval09.fw
bcm43xx_microcode4.fw  bcm43xx_pcm5.fw
[root@localhost fwcutter]#

At this point the firmware seems to be installed.

[root@localhost fwcutter]#  system-config-network

Hit "Edit" on "eth1" and made sure that "Activate device when computer
starts" was checked on the "General" tab and that dhcp is selected. On
the "Wireless Settings" tab entered all of the WEP parameters that used
to work with ndiswrappper: Mode: Auto, Network name (SSID) specified,
xxx, Channel: 6, Transmit rate: 11M (instead of "Auto" which used to
work using ndiswrapper on FC4), Key (use 0x for hex): 0xxxxxxxxxxx,
clicked "OK". Clicked "Active" on highlighted "eth1". Clicked "Yes".
Clicked "OK". Dialog box came up "Determining IP information for eth1...
failed. Cannot activate network device eth1". Rebooted. eth1 fails to
start. su -ed to root. Typed "ifup eth1". Saw "Determinng IP information
for eth1... failed.

At this point looked at dmesg and saw these relevant lines:

"bcm43xx": set security called
"bcm43xx":    .active_key = 0
"bcm43xx":    .level = 1
"bcm43xx":    .enabled = 1
"bcm43xx":    .encrypt = 1
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_assoc.c:183:ieee80211softmac_assoc_work()
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
"bcm43xx": Radio turned on
"bcm43xx": Chip initialized
"bcm43xx": DMA initialized
"bcm43xx": 80211 cores initialized
"bcm43xx": Keys cleared
ADDRCONF(NETDEV_UP): eth1: link is not ready
"bcm43xx": Radio turned off
"bcm43xx": DMA 0x0200 (RX) max used slots: 1/64
"bcm43xx": DMA 0x0260 (TX) max used slots: 0/512
"bcm43xx": DMA 0x0240 (TX) max used slots: 0/512
"bcm43xx": DMA 0x0220 (TX) max used slots: 0/512
"bcm43xx": DMA 0x0200 (TX) max used slots: 0/512

Now using some steps from
http://lists.infradead.org/pipermail/fedora-ppc/2006-January/000691.html :

[root@localhost ~]# ip link set eth1 up
[root@localhost ~]# iwconfig eth1 enc my_hex_wep_key
[root@localhost ~]# iwconfig eth1 essid my_essid
[root@localhost ~]# ifup eth1

Determining IP information for eth1... done.

Sucess! I see the expected IP from ifconfig. Ping works. Internet works.

And from dmesg:

"bcm43xx": PHY connected
"bcm43xx": Radio turned on
"bcm43xx": Chip initialized
"bcm43xx": DMA initialized
"bcm43xx": 80211 cores initialized
"bcm43xx": Keys cleared
ADDRCONF(NETDEV_UP): eth1: link is not ready
ieee80211_crypt: registered algorithm 'WEP'
"bcm43xx": set security called
"bcm43xx":    .active_key = 0
"bcm43xx":    .level = 1
"bcm43xx":    .enabled = 1
"bcm43xx":    .encrypt = 1
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_assoc.c:183:ieee80211softmac_assoc_work()
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 13 channels
SoftMAC: Scanning finished
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_assoc.c:183:ieee80211softmac_assoc_work()
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_auth.c:39:ieee80211softmac_auth_req()
SoftMAC: Queueing Authentication Request to 00:13:10:e9:5c:c2
SoftMAC: cannot associate without being authenticated, requested
authentication
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_auth.c:81:ieee80211softmac_auth_queue()
SoftMAC: Sent Authentication Request to 00:13:10:e9:5c:c2.
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_auth.c:131:ieee80211softmac_auth_resp()
SoftMAC: Open Authentication completed with 00:13:10:e9:5c:c2
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_assoc.c:183:ieee80211softmac_assoc_work()
SoftMAC:
net/ieee80211/softmac/ieee80211softmac_assoc.c:41:ieee80211softmac_assoc()
SoftMAC: sent association request!
SoftMAC: associated!
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

Other relevant information: Network manager is not running.

So:

1. Why can't I get these results from system-config-network?
2. How can I automate the following as a startup script?:
	ip link set eth1 up
	iwconfig eth1 enc my_hex_wep_key
	iwconfig eth1 essid my_essid
	ifup eth1
3. Is a bug report in order?

Stanton Finley
http://stanton-finley.net/

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]