From owner-freebsd-doc@FreeBSD.ORG Sat Sep 24 18:10:21 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8A3716A41F for ; Sat, 24 Sep 2005 18:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4600B43D53 for ; Sat, 24 Sep 2005 18:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8OIAK7C019510 for ; Sat, 24 Sep 2005 18:10:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8OIAKoN019509; Sat, 24 Sep 2005 18:10:20 GMT (envelope-from gnats) Resent-Date: Sat, 24 Sep 2005 18:10:20 GMT Resent-Message-Id: <200509241810.j8OIAKoN019509@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, George Hartzell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F7E416A41F for ; Sat, 24 Sep 2005 18:02:31 +0000 (GMT) (envelope-from hartzell@kong.alerce.com) Received: from kong.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD68943D58 for ; Sat, 24 Sep 2005 18:02:30 +0000 (GMT) (envelope-from hartzell@kong.alerce.com) Received: from kong.alerce.com (localhost [127.0.0.1]) by kong.alerce.com (8.13.4/8.13.4) with ESMTP id j8OI2I0K001023 for ; Sat, 24 Sep 2005 11:02:19 -0700 (PDT) (envelope-from hartzell@kong.alerce.com) Received: (from hartzell@localhost) by kong.alerce.com (8.13.4/8.13.1/Submit) id j8OI2HIP001022; Sat, 24 Sep 2005 11:02:17 -0700 (PDT) (envelope-from hartzell) Message-Id: <200509241802.j8OI2HIP001022@kong.alerce.com> Date: Sat, 24 Sep 2005 11:02:17 -0700 (PDT) From: George Hartzell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/86532: wpa_supplicant.conf man page should discuss WEP based setups. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George Hartzell List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 18:10:22 -0000 >Number: 86532 >Category: docs >Synopsis: wpa_supplicant.conf man page should discuss WEP based setups. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 24 18:10:20 GMT 2005 >Closed-Date: >Last-Modified: >Originator: George Hartzell >Release: FreeBSD 6.0-BETA5 i386 >Organization: none >Environment: System: FreeBSD kong.alerce.com 6.0-BETA5 FreeBSD 6.0-BETA5 #1: Fri Sep 23 17:37:01 PDT 2005 root@kong.alerce.com:/usr/obj/usr/src/sys/KONG i386 Sony Vaio laptop, 6,0-BETA5 >Description: I just moved from 6.0BETA-1 to 6.0-BETA5 and finally switched from my old crufty setting of WEP keys and stuff in the ifconfig_ath0 line to a WPA and DHCLIENT based setup. I couldn't find any mention of how to configure wpa_supplicant for simple wep keys, although it's gone by on the mailing list a bunch of times. Seems like it should be in the docs. Having it written down might head off a bunch of headaches and questions. >How-To-Repeat: Set up a wep based wpa managed network as a first timer and try to find the instructions. >Fix: Someone w/ better info about wpa_supplicant should check out the text for wep_key[0123], but here's a first cut at a patch. *** wpa_supplicant.conf.5 2005/09/24 01:41:12 1.1 --- wpa_supplicant.conf.5 2005/09/24 02:03:05 *************** *** 396,399 **** --- 396,403 ---- By default these workarounds are enabled. String EAP conformance can be configured by setting this to 0. + .It Va wep_key0, wep_key1, wep_key2, wep_key3 + The four WEP keys (quoted strings or hex digits). + .It Va wep_tx_keyidx + The index of the WEP key that should be used for transmitting. .El .Sh CERTIFICATES *************** *** 494,497 **** --- 498,516 ---- ca_cert="/etc/cert/ca.pem" phase2="auth=MD5" + } + .Ed + .Pp + Shared WEP key connection (no WPA, no IEEE 802.1X) + .Bd -literal + ctrl_interface=/var/run/wpa_supplicant + ctrl_interface_group=wheel + network={ + ssid="static-wep-test" + key_mgmt=NONE + wep_key0="abcde" + wep_key1=0102030405 + wep_key2="1234567890123" + wep_tx_keyidx=0 + priority=5 } .Ed >Release-Note: >Audit-Trail: >Unformatted: