From owner-freebsd-doc@FreeBSD.ORG Mon Aug 11 12:05:02 2008 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FDE310656E0 for ; Mon, 11 Aug 2008 12:05:02 +0000 (UTC) (envelope-from gkmohan@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 258F28FC16 for ; Mon, 11 Aug 2008 12:05:01 +0000 (UTC) (envelope-from gkmohan@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so585990yxb.13 for ; Mon, 11 Aug 2008 05:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PWNtFONPyl5fjlJX0X6jjrFd5td9PVk/Wrv40jF+qEY=; b=wEZoE4HtcDMf7nj4KlI2FRWOBS+cukdWKS5rCVqVWP7DOtLPqPmvB0QXutZ34nybps FVT5w2u+RAQanPbeyYC8zyHq02mlDXiLCnQa9d4MFp+tUOrVnP4D7RCZBCqYNc30YB6W +B/5nUUtoklsWYJJJebTZ9cFFkpvvy4AiOJew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=cPDzHmgtgnfIRSlqF9dZgru2qSUJCdDvGWtlZjL6/MU+8LdV+X8YSySqVH0gCqzS3F K736Z+UgxBFznmXVXN/o+LQUgshRpOrZ3/TE0U59pGX5GKPwNyfqtrhIjOoKQ4XyCA7f frvrkp4haJqJnzq7uJ0dLue5ue+kwitSchWm4= Received: by 10.150.12.3 with SMTP id 3mr12192104ybl.18.1218456301225; Mon, 11 Aug 2008 05:05:01 -0700 (PDT) Received: by 10.65.254.17 with HTTP; Mon, 11 Aug 2008 05:05:01 -0700 (PDT) Message-ID: <70ec82800808110505r4b2840c7tfab4ff456e890653@mail.gmail.com> Date: Mon, 11 Aug 2008 05:05:01 -0700 From: "Krishna Mohan Gundu" To: "Marc Fonvieille" , freebsd-doc@freebsd.org In-Reply-To: <20080811103525.GA1022@gothic.blackend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70ec82800808110235g293bd777i647e13873d640f35@mail.gmail.com> <20080811103525.GA1022@gothic.blackend.org> Cc: Subject: Re: wep key index in examples of section 29.3 in handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 12:05:05 -0000 Hi Marc, At the outset let me just say that I understand the perspective of your argument. However I still feel there is room for improvement in the document. >> 1) A novice would not know that WEP access points can use any of the >> four keys it uses for encryption and that all these keys have to be >> set correctly. I got to know this only after reading the wikipedia >> page on WEP at http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy . >> Further that most access points only use one key and I believe the >> index of this key is mostly 1. This discussion could be added to some >> subsection. > > But if we read this section we have: > > --- > WEP can be set up with ifconfig: > > # ifconfig ath0 ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \ > inet 192.168.1.100 netmask 255.255.255.0 > > - The weptxkey means which WEP key will be used in the > transmission. Here we used the third key. This must match the > setting in the access point. > --- > Regarding the reason why we used an example with the third key and not > the default 1, it's to push people to really check their config to make > sure what key they use. I did read this note. My wireless router configuration has no mention of different keys. It simply takes a key for encryption. So I was immediately thrown off this key business. Third key did not make any sense to me. The fact that some access points have provision for only one key is not clear from any documentation. Probably it helps here if a note like this is added "Some access points take only one key, in which case use 1 for key index" >> 2) The above discussion can be deemed to be too technical to be >> included in the document. However changing the wep key index from 3 to >> 1 would save many more novices like me hours of searching, reading, >> agony etc. >> > > The same will happen for people who have a config with a different key > from the number 1 :) In this case, I believe people will be aware of the fact that access points use multiple keys. If they have configured the router themselves, they will be aware that for some reason they have chosen such and such keys. cheers, Krishna.