Re: WEP does not work?

From: Hideyuki KURASHINA <rushani_at_bl.mmtr.or.jp>
Date: Sat, 11 Dec 2004 07:15:58 +0900 (JST)
Hi,

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

> Hideyuki KURASHINA wrote:
> >>>>On Wed, 8 Dec 2004 17:44:27 -0800, Sam Leffler <sam_at_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
Received on Fri Dec 10 2004 - 21:16:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC