From owner-freebsd-current@FreeBSD.ORG Fri Dec 10 22:16:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3CF216A4CE for ; Fri, 10 Dec 2004 22:16:47 +0000 (GMT) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A3A943D69 for ; Fri, 10 Dec 2004 22:16:44 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: (qmail 23981 invoked from network); 11 Dec 2004 07:16:43 +0900 Received: from unknown (HELO localhost) (210.165.212.57) by wasley.bl.mmtr.or.jp with SMTP; 11 Dec 2004 07:16:43 +0900 Date: Sat, 11 Dec 2004 07:15:58 +0900 (JST) Message-Id: <20041211.071558.112592739.rushani@bl.mmtr.or.jp> To: sam@errno.com From: Hideyuki KURASHINA In-Reply-To: <41B9454F.9080903@errno.com> References: <200412081744.27539.sam@errno.com> <20041209.225041.63112571.rushani@bl.mmtr.or.jp> <41B9454F.9080903@errno.com> X-URL: http://www.rushani.jp/ X-PGP-Public-Key: http://www.rushani.jp/rushani.asc X-PGP-Fingerprint: A052 6F98 6146 6FE3 91E2 DA6B F2FA 2088 439A DC57 X-RC5-72-Stats: http://stats.distributed.net/participant/psummary.php?project_id=8&id=432320 X-Mailer: Mew version 4.1.52 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: WEP does not work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 22:16:47 -0000 Hi, >>> On Thu, 09 Dec 2004 22:42:23 -0800, Sam Leffler said: > Hideyuki KURASHINA wrote: > >>>>On Wed, 8 Dec 2004 17:44:27 -0800, Sam Leffler said: > >>On Wednesday 08 December 2004 05:00 pm, Hideyuki KURASHINA wrote: > > Just curiosity, `hw' MIBs print both regdomain and countrycode are 0. > > hw.ath mib entries define values used to initialize each new ath device. > You cannot set regdomain (yet) but countrycode can be overridden by > setting hw.ath.countrycode before loading a device. Thanks for clarification. I'm in Japan, so put following line hw.ath.countrycode=392 into /boot/loader.conf. However, after reboot sysctl says % sysctl hw.ath.countrycode dev.ath.0.countrycode hw.ath.countrycode: 392 dev.ath.0.countrycode: 395 I think dev.ath.0.countrycode will be same value as hw.ath.countrycode, but it won't. > > I tried > > > > # /sbin/ifconfig ath0 ssid MY-SSID wepmode on weptxkey 1 wepkey 1:0x01234567890123456789012345 wepkey 2:- wepkey 3:- wepkey 4:- media autoselect mode 11b > > > > but nothing changed (default router is still not reachable). > > > > I'll try to look tomorrow. I have a patch for fixing wep with ndis that > I need to review and this is probably the same thing. Is this patch included src/sys/net80211/ieee80211_ioctl.c in its rev. 1.15? I also tried this one, but no luck here. -- rushani