Re: CFT: major wireless changes

From: David Wolfskill <david_at_catwhisker.org>
Date: Fri, 1 Jun 2007 19:16:21 -0700
On Fri, Jun 01, 2007 at 06:30:02PM -0700, David Wolfskill wrote:
> ...
> Summmary:
> 
> * ifconfig dumped core; not sure why, and debug version doesn't.
> * wi(4) device didn't associate; will poke around and see if I
>   can  figure out what's broken -- it may just be something I
>   need to tweak in my script.

After loading everry kernel module that looked possibly relevant:

d146(7.0-C)[12] kldstat
Id Refs Address    Size     Name
 1   20 0xc0400000 86f700   kernel
 2    1 0xc0c70000 283ac    linux.ko
 3    1 0xc0c99000 69c24    acpi.ko
 4    1 0xc473a000 21000    radeon.ko
 5    1 0xc475b000 f000     drm.ko
 6    1 0xc4c36000 3000     wlan_scan_ap.ko
 7    1 0xc4c39000 2000     wlan_xauth.ko
 8    1 0xc4c3b000 3000     wlan_acl.ko
 9    1 0xc4c3e000 5000     wlan_scan_sta.ko
d146(7.0-C)[13] 

and issuing the same commands the script did (by hand) and verifying
exit code 0 from each, and still seeing "no carrier":

d146(7.0-C)[13] ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
        ether 00:02:2d:5b:2c:78
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
        status: no carrier
        ssid lmdhw-net channel 2 (2417 Mhz 11b)
        stationname 0x4c414e2f49454545206e6f64650000003a6920c0a0fd0508b3dc
        authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpowmax 100
        bmiss 7 scanvalid 60 bintval 100
d146(7.0-C)[14] 

I plugged in the PCcard ed(4) device [note -- not "de(4)," as I
previously reported) and re-ran the script:

d146(7.0-C)[14] sudo sh /usr/local/etc/rc.d/nic_init faststart
...
DHCPREQUEST on ed1 to 255.255.255.255 port 67
DHCPACK from 172.16.8.1
bound to 172.16.8.146 -- renewal in 302400 seconds.
d146(7.0-C)[15] ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:02:2d:5b:2c:78
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
        status: associated
        ssid lmdhw-net channel 2 (2417 Mhz 11b) bssid 00:04:5a:cd:d4:17
        stationname 0x4c414e2f49454545206e6f64650000003a6920c0a0fd0508b3dc
        authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit txpowmax 100
        bmiss 7 scanvalid 60 bintval 100
d146(7.0-C)[16] ifconfig ed1
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:40:05:0a:17:33
        inet 172.16.8.146 netmask 0xffffff00 broadcast 172.16.8.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
d146(7.0-C)[17] 

Huh?  Why would poking at ed1 change anything in wi0??!?

I tried pulling the ed1 devvice out (afterward) and running the script
again, but the result is still (or is that "again?") "no carrier."

> * an(4) associates, but appears to "hang" for several seconds
>   every once in a while.
> * Wired devices I used for reality checks (xl(4) and de(4))
>   seem OK,but I didn't actually try using them for traffic yet.

I tried the xl0 and ed1 devices, they appear to work without anything
special, as expected.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Anything and everything is a (potential) cat toy.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Sat Jun 02 2007 - 00:17:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC