From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 13:59:16 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 24C5C16A4CE for ; Tue, 26 Oct 2004 13:59:16 +0000 (GMT) Received: from web53606.mail.yahoo.com (web53606.mail.yahoo.com [206.190.37.39]) by mx1.FreeBSD.org (Postfix) with SMTP id AF78743D2D for ; Tue, 26 Oct 2004 13:59:15 +0000 (GMT) (envelope-from flexble2547@yahoo.com) Message-ID: <20041026135914.88852.qmail@web53606.mail.yahoo.com> Received: from [68.100.162.26] by web53606.mail.yahoo.com via HTTP; Tue, 26 Oct 2004 06:59:14 PDT Date: Tue, 26 Oct 2004 06:59:14 -0700 (PDT) From: scott renna To: "Daan Vreeken [PA4DAN]" In-Reply-To: <200410260910.37774.Danovitsch@Vitsch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 13:59:16 -0000 Here's what I got: This is my ifconfig for this device ath0 before executing a new ifconfig command: pluto# ifconfig ath0 ath0: flags=8843 mtu 1500 inet6 fe80::20f:3dff:fea9:3645%ath0 prefixlen 64 scopeid 0x2 ether 00:0f:3d:a9:36:45 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid XXXX 1:XXXX channel 5 authmode OPEN powersavemode OFF powersavesleep 100 wepmode MIXED weptxkey 1 wepkey 1:40-bit See it says it's associated and has picked up a channel, but no IP! pluto# ifconfig ath0 inet 192.168.2.180 netmask 255.255.255.0 ssid XXXX wepmode on weptxkey 1:0x123456789 ifconfig: ioctl (SIOCAIFADDR): File exists So I gave that command a shot and still looks like an issue. very strange. I've turned the ath0 interface up and back down again several times, any thoughts on why this card can't pull an IP? Note: I'm running MAC Address control on the Wireless router I'm using and ath0 is in there and allowed. Also, I've set the router to use 40 bit WEP encryption and open authentication. I'm not sure this card does 128 bit or if FreeBSD does. any where else I might check for problems? --- "Daan Vreeken [PA4DAN]" wrote: > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail