From owner-freebsd-audit Sat Mar 31 22:50: 7 2001 Delivered-To: freebsd-audit@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 5669B37B719; Sat, 31 Mar 2001 22:49:57 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id WAA08667; Sat, 31 Mar 2001 22:49:44 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f316nix83661; Sat, 31 Mar 2001 22:49:44 -0800 (PST) (envelope-from bmah) Message-Id: <200104010649.f316nix83661@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Brooks Davis Cc: David Wolfskill , audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 In-Reply-To: <20010330164815.A26890@Odin.AC.HMC.Edu> References: <20010330163530.A23549@Odin.AC.HMC.Edu> <200103310042.f2V0gmo26654@bunrab.catwhisker.org> <20010330164815.A26890@Odin.AC.HMC.Edu> Comments: In-reply-to Brooks Davis message dated "Fri, 30 Mar 2001 16:48:15 -0800." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1819147488P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 31 Mar 2001 22:49:44 -0800 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_1819147488P Content-Type: text/plain; charset=us-ascii If memory serves me right, Brooks Davis wrote: > If anyone wants to try it one -stable, there's a patch against it at: > > http://www.one-eyed-alien.net/~brooks/FreeBSD/ifconfig.diff-stable Cool, thanks for making this available. > The fact that wi hasn't been repo-copied in to sys/dev in stable plus > the spl->mutex changes mean the patches against -current don't apply > cleanly. The patches work great for me under -stable with a Lucent (wi) > card, but I couldn't get my Cisco (an) card to work with or without > them. It's probably something to do with the ancient pile of junk I'm > using for stable laptop testing. I just re-built world with your patches on an IBM T20 with a Cisco Aironet 342 PCMCIA card. Basic send and receive seem OK, I used the new ifconfig to turn on WEP and set the SSID and I am now typing over the an0 interface to send this mail. Few comments here: 1. Seems like I needed to ifconfig the interface up before my other commands would take effect. I don't recall needing to do any such thing with the old driver before I could do ancontrol. Is this a change in behavior or did I miss something? 2. I think there is an off-by-one error in the listing of wepkeys. I have exactly one 128-bit key set, which I'm using as the transmit key. I'm pretty sure that this is key was configured as number 3 (if starting from 1) or 2 (if starting from 0). I'm not using any of the other four keys supported, but I do not know their exact configurations. "ifconfig an0" returns (santized): constellation:bmah% ifconfig an0 an0: flags=8843 mtu 1500 inet6 fe80::XX:XX:XX:XX%an0 prefixlen 64 scopeid 0x5 inet XX.XX.XX.XX netmask 0xffffff00 broadcast XX.XX.XX.XX inet6 fec0::XX:XX:XX:XX: prefixlen 64 ether XX:XX:XX:XX:XX:XX media: autoselect (DS/11Mbps) status: associated supported media: autoselect autoselect DS/11Mbps DS/11Mbps DS/5.5Mbps DS/5.5Mbps DS/2Mbps DS/2Mbps DS/1Mbps DS/1Mbps ssid XXX stationname "" channel 6 authmode OPEN powersavemode OFF powersavesleep 200 wepmode ON weptxkey 3 wepkey 1:64-bit wepkey 2:128-bit wepkey 3:64-bit Just for the record, I think there's a similar problem in ancontrol(8). The tail of "ancontrol -C" is: WEP Key status: Key 0 is set 40 bits Key 1 is set 128 bits Key 2 is set 40 bits Key 3 is unset The active transmit key is 2 If I had to guess, I'd say that if there is an array of WEP keys, the programs are starting to read one key too late into the array when they display them. There also seems to be a little disagreement as to whether keys are numbered starting from 0 or 1. I did all the key management from within Windows 2000, using the Cisco-supplied utilities. If it's helpful, I can reboot and take some notes from that side. 3. In the "SEE ALSO" section of ieee80211, there is a hanging comma after the cross-reference to wicontrol(8). Thanks for taking the time to do a -STABLE patch...much appreciated. Bruce. --==_Exmh_1819147488P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6xs+I2MoxcVugUsMRArtpAKC38c8XmMPyVIpGj3DedO27Fz6ZKgCggJE8 VvL9wvShDGPvczIiXK/tSgI= =yN5I -----END PGP SIGNATURE----- --==_Exmh_1819147488P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message