From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 07:10:47 2004 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 A798A16A4CE for ; Tue, 26 Oct 2004 07:10:47 +0000 (GMT) Received: from amsfep12-int.chello.nl (nl-ams-slo-l4-01-pip-3.chellonetwork.com [213.46.243.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id F016C43D41 for ; Tue, 26 Oct 2004 07:10:45 +0000 (GMT) (envelope-from Danovitsch@Vitsch.net) Received: from Vitsch.net ([212.187.78.35]) by amsfep12-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041026071043.CDUX16455.amsfep12-int.chello.nl@Vitsch.net>; Tue, 26 Oct 2004 09:10:43 +0200 Received: from localhost (IDENT:1001@b83007.upc-b.chello.nl [212.83.83.7]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id i9Q7AZun043488; Tue, 26 Oct 2004 09:10:37 +0200 (CEST) (envelope-from Danovitsch@Vitsch.net) From: "Daan Vreeken [PA4DAN]" To: scott renna Date: Tue, 26 Oct 2004 09:10:37 +0200 User-Agent: KMail/1.5.2 References: <20041026014718.32328.qmail@web53609.mail.yahoo.com> In-Reply-To: <20041026014718.32328.qmail@web53609.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410260910.37774.Danovitsch@Vitsch.net> cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Dlink-g520 Wireless and WEP more 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: Tue, 26 Oct 2004 07:10:47 -0000 On Tuesday 26 October 2004 03:47, scott renna wrote: > So I am still having a go at getting this Dlink card > to work here's what i got: > > pluto# ifconfig ath0 inet 192.168.2.180 netmask > 255.255.255.0 ssid XXXX wepmode on authmode open > wepkey 0x1234567890 > ifconfig: SIOCS80211: Invalid argument Try changing : wepkey 0x1234567890 into : weptxkey 1 wepkey 1:0x1234567890 Which tells the device to use key 1, and then specifies key 1. You need to start the argument of "wepkey" with the key number, it's a bit confusing. > pluto# ifconfig ath0 remove > ifconfig: ioctl (SIOCDIFADDR): Can't assign requested > address > > I can't remove the interface nor configure it. "remove" isn't a valid option to ifconfig. If you want to remove the ip-address you have assigned to ath0, try : ifconfig ath0 delete 192.168.2.180 or ifconfig ath0 delete (to delete all addresses assigned to ath0) > any ideas? Try the above, if something fails, let me (and the list) know. A last tip : You can turn on/off the wireless card by entering : ifconfig ath0 down ifconfig ath0 up grtz, Daan