Date: Sat, 31 Mar 2001 22:49:44 -0800 From: "Bruce A. Mah" <bmah@FreeBSD.ORG> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: David Wolfskill <david@catwhisker.org>, audit@FreeBSD.ORG, current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: Call for review... PR 25577 Message-ID: <200104010649.f316nix83661@bmah-freebsd-0.cisco.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <adhoc> DS/11Mbps DS/11Mbps <adhoc> DS/5.5Mbps DS/5.5Mbps <adhoc> DS/2Mbps DS/2Mbps <adhoc> DS/1Mbps DS/1Mbps <adhoc> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104010649.f316nix83661>