torquill: Art-deco cougar face (geekchick)
[personal profile] torquill
Okay. Just for my own notes, really...

I decided to try the kernel-supplied drivers for the wireless card. I got iwconfig to read the card, and the modules were loaded, but I got a "no link present" when trying to bring it up.

dmesg suggested it needed firmware from the drivers, so I went out and got bcm43xx-fwcutter. The only rpm was for FC5, so I compiled it again from the source rpm, and got it to work. Next was
bcm43xx-fwcutter BCMWL5.SYS
which complained about old drivers. Okay.... go to the Compaq site, download the Broadcom driver. It's an exe. unzip didn't work... on to cabextract. I have cabextract, right?

Download cabextract. Have it dump all of the files from the exe straight into the current directory. Clean it up and find a data2.cab file, which is an InstallShield file, and needs unshield. I have unshield, right?

Download unshield... and the ftp server gave me a 550 to boot, so I did it by yum. Fine. unshield the damn thing. 64 files, including a .inf and several .sys files. We're in business.

...except that bcm43xx-fwcutter can't use any of the new .sys files. Back to the old ones... Use
bcm43xx-fwcutter -w /lib/firmware BCMWL5.SYS
then an rmmod/modprobe to get the bcm43xx module reloaded.
dmesg | tail -n 30
nets me
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Unable to find matching network after scan!
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Queueing Authentication Request to 00:09:5b:9a:3a:c6
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:09:5b:9a:3a:c6.
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: 1/512
bcm43xx: DMA 0x0200 (TX) max used slots: 0/512


Unable to find matching network makes it sound like it's just not seeing anything. Huh. An
ifup eth1
nets me another "no link present".

Another unload/reload of the module (it reloads as soon as you unload it, apparently) got a "ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready". There we go. Then it tries four times with DHCPDISCOVER and ends up with "dhclient: No DHCPOFFERS received."

DHCP isn't working. A static IP shows a flaky association (more often than not it has to be told to hook up twice before it associates). Once it does, ifconfig shows eth1 as up with an IPv6 address but no standard IP.

However...
ifconfig eth1 10.0.1.70 netmask 255.255.255.0
once it associates nets me an IP address for eth1, and I can ping out. I'm up and running!

It's messy, and may not automate well, and can't use DHCP yet, but it works! On kernel drivers, yet. No more ndiswrapper.

Strike that about DHCP... another try got me an IP on 10.0.1.5 . Apparently it just has a short timeout, and may take more than one attempt. I can live with that for the moment. If it doesn't work the first time, give it another shot. And I'll look into association timeout intervals, see whether I can tune that to be a bit more patient.

Edit: Try
iwconfig eth1 rate 2M
the default is 11M, and the lower number corresponds to a slower bitrate for the network, telling it to be more patient. No idea whether it sticks, though.

Date: 2006-09-18 18:02 (UTC)
From: [identity profile] foogod.livejournal.com
I'm not much of a linux admin

Heh, that's funny.

I hate to be the one to tell you this, but you're a better linux admin than most of the people I've worked with. All you'd really need is a little practicing up answers to the standard interview questions and you could easily get a job doing this sort of thing for a living (and be pretty good at it, I think)...

Date: 2006-09-18 18:22 (UTC)
From: [identity profile] luna-torquill.livejournal.com
Don't tell me that. It's scary.

Does everyone else out there just work off what they find in Google searches? I know that that's where I spent more than half my time on this...

Profile

torquill: Art-deco cougar face (Default)
Torquill

May 2021

S M T W T F S
      1
234567 8
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Expand Cut Tags

No cut tags