Date: Fri, 1 Jun 2007 19:16:21 -0700 From: David Wolfskill <david@catwhisker.org> To: Sam Leffler <sam@errno.com> Cc: freebsd-current@freebsd.org Subject: Re: CFT: major wireless changes Message-ID: <20070602021621.GI27746@bunrab.catwhisker.org> In-Reply-To: <20070602013002.GH27746@bunrab.catwhisker.org> References: <46605C26.9090304@errno.com> <20070602013002.GH27746@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--AptwxgnoZDC4KQWS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Jun 01, 2007 at 06:30:02PM -0700, David Wolfskill wrote:
> ...
> Summmary:
>=20
> * 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]=20
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=3D8843<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]=20
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
=2E..
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=3D8843<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=3D8843<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]=20
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
--=20
David H. Wolfskill david@catwhisker.org
Anything and everything is a (potential) cat toy.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
--AptwxgnoZDC4KQWS
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iEYEARECAAYFAkZg0vQACgkQmprOCmdXAD1hRwCeO5vJTh84xT/pyraXQDg0SXsp
LIkAn2VbvtNnUOpmhEe2a+7LAXNE1w4N
=4k/J
-----END PGP SIGNATURE-----
--AptwxgnoZDC4KQWS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070602021621.GI27746>
