Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2004 07:15:58 +0900 (JST)
From:      Hideyuki KURASHINA <rushani@bl.mmtr.or.jp>
To:        sam@errno.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: WEP does not work?
Message-ID:  <20041211.071558.112592739.rushani@bl.mmtr.or.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>> On Thu, 09 Dec 2004 22:42:23 -0800, Sam Leffler <sam@errno.com> said:

> Hideyuki KURASHINA wrote:
> >>>>On Wed, 8 Dec 2004 17:44:27 -0800, Sam Leffler <sam@errno.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041211.071558.112592739.rushani>