From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 11:35:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0885516A4CE for ; Wed, 16 Mar 2005 11:35:56 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA04143D53 for ; Wed, 16 Mar 2005 11:35:54 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 24669 invoked from network); 16 Mar 2005 11:35:51 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.67.56]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 16 Mar 2005 11:35:51 -0000 Date: Wed, 16 Mar 2005 12:35:26 +0100 From: Fabian Keil To: shih@math.jussieu.fr Message-ID: <20050316123526.259df11e@localhost> In-Reply-To: <20050316105837.GA27361@math.jussieu.fr> References: <20050316105837.GA27361@math.jussieu.fr> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: FB 5.3 with wireless connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 11:35:56 -0000 Albert Shih wrote: > With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ? > > My wifi card is > > wi0: at port 0xe000-0xe03f irq 5 function 0 config 1 on pccard1 > > When I use > > root@io# ifconfig wi0 wepkey xxxxxxxxxxxxxxxxxxxxxxxxxx up > ifconfig: string too long > root@io# ifconfig wi0 weptxkey xxxxxxxxxxxxxxxxxxxxxxxxxx up > ifconfig: SIOCS80211: Invalid argument The recommended way is to specify the wepkey in hexadecimal digits. ifconfig wi0 wepkey 0x1deadc0dedeadc0dedeadc0de1 man ifconfig: > wepkey key|index:key > For IEEE 802.11 wireless interfaces, set the selected WEP key. > If an index is not given, key 1 is set. A WEP key will be either > 5 or 13 characters (40 or 104 bits) depending of the local net- > work and the capabilities of the adaptor. It may be specified > either as a plain string or as a string of hexadecimal digits > proceeded by `0x'. For maximum portability, hex keys are recom- > mended; the mapping of text keys to WEP encryption is usually > driver-specific. In particular, the Windows drivers do this map- > ping differently to FreeBSD. A key may be cleared by setting it > to `-'. If WEP is supported then there are at least four keys. > Some adaptors support more than four keys. If that is the case, > then the first four keys (1-4) will be the standard temporary > keys and any others will be adaptor specific keys such as perma- > nent keys stored in NVRAM. Regards Fabian -- http://www.fabiankeil.de