Date: Fri, 29 Feb 2008 13:43:07 +0100 From: Jeremie Le Hen <jeremie@le-hen.org> To: Sam Leffler <sam@errno.com> Cc: freebsd-current@freebsd.org Subject: Re: Wireless adapter associated, rx ok, tx ko Message-ID: <20080229124307.GC94339@obiwan.tataz.chchile.org> In-Reply-To: <47C77915.7050804@errno.com> References: <20080226225652.GE56090@obiwan.tataz.chchile.org> <20080227213137.GG56090@obiwan.tataz.chchile.org> <47C60721.9090609@errno.com> <20080228224019.GA94339@obiwan.tataz.chchile.org> <47C77915.7050804@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sam, On Thu, Feb 28, 2008 at 07:16:37PM -0800, Sam Leffler wrote: > Jeremie Le Hen wrote: > > Thanks for your reply. You are right indeed. It was not obvious to me > > that I should set a tx keyid manually, partly because when setting the > > WEP key, ifconfig(8) assumes key 1 if no index is specified. > > Would it be correct to set the default tx keyid to 1? On the contrary, > > I will provide an update to the manpage stating setting the default tx > > keyid is mandatory. > > Yes, it seems the man page doesn't call out that you need to setup a > deftxkey in order for outbound traffic to be encrypted when using WEP. If > you use wpa_supplicant it will do that for you. > > Please send me something for ifconfig(8). You will find a diff against the ifconfig(8) manpage attached. Feel free to reword what you feel necessary, as I'm not a native english speaker. Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > --tThc/1wpZn/ma/RB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="mandatory_deftxkey.diff" Index: sbin/ifconfig/ifconfig.8 =================================================================== RCS file: /mnt/space/freebsd-cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.145 diff -u -r1.145 ifconfig.8 --- sbin/ifconfig/ifconfig.8 10 Dec 2007 02:31:00 -0000 1.145 +++ sbin/ifconfig/ifconfig.8 29 Feb 2008 12:40:31 -0000 @@ -777,7 +777,8 @@ To disable 802.11h use .Fl doth . .It Cm deftxkey Ar index -Set the default key to use for transmission. +Set the default key to use for transmission, which is mandatory +for full duplex operation. Typically this is only set when using WEP encryption. The .Cm weptxkey @@ -1236,11 +1237,15 @@ .Cm mixed . Modes are case insensitive. .It Cm weptxkey Ar index -Set the WEP key to be used for transmission. +Set the WEP key to be used for transmission, which is mandatory +for full duplex operation. This is the same as setting the default transmission key with .Cm deftxkey . .It Cm wepkey Ar key Ns | Ns Ar index : Ns Ar key Set the selected WEP key. +Yet using +.Cm deftxkey +is required for full duplex operation. If an .Ar index is not given, key 1 is set. --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080229124307.GC94339>