From owner-freebsd-current@FreeBSD.ORG Sat Jun 2 02:17:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C29E16A41F for ; Sat, 2 Jun 2007 02:17:43 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 4E64E13C44C for ; Sat, 2 Jun 2007 02:17:43 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id l522GLo0037683; Fri, 1 Jun 2007 19:16:21 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id l522GLct037682; Fri, 1 Jun 2007 19:16:21 -0700 (PDT) (envelope-from david) Date: Fri, 1 Jun 2007 19:16:21 -0700 From: David Wolfskill To: Sam Leffler Message-ID: <20070602021621.GI27746@bunrab.catwhisker.org> References: <46605C26.9090304@errno.com> <20070602013002.GH27746@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AptwxgnoZDC4KQWS" Content-Disposition: inline In-Reply-To: <20070602013002.GH27746@bunrab.catwhisker.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: CFT: major wireless changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 02:17:43 -0000 --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 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 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 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 ) 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--