Hi,

I have two cards using the atheros chipset. However, setting up one as access point and the other as client only yields a connection when I enforce 11b mode on both cards.

I am using a 3.8 GENERIC  kernel (dated 27 Oct):
OpenBSD 3.8 (GENERIC) #1: Thu Oct 27 18:22:38 CEST 2005

It detects the ath card on both machines:
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5212 5.9 phy 4.3 rf5112 3.6, FCC1A, address 00:0b:6b:36:fd:a6

ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5212 5.9 phy 4.3 rf5112 3.6, FCC1A, address 00:0b:6b:36:fe:43

I then clear the ath card settings as indicated in the man page:
ifconfig ath0 -bssid -chan media autoselect nwid "" -nwkey -powersave down

I set up the hostap with:
ifconfig ath0 10.4.0.1 netmask 0xff000000 media autoselect mode 11a mediaopt hostap nwid foo nwkey bar up

ifconfig shows that the hostap is running:
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0b:6b:36:fd:a6
        media: IEEE802.11 autoselect mode 11a hostap
        status: active
        ieee80211: nwid foo chan 36 bssid 00:0b:6b:36:fd:a6 nwkey bar
        inet6 fe80::20b:6bff:fe36:fda6%ath0 prefixlen 64 scopeid 0x2
        inet 10.4.0.1 netmask 0xff000000 broadcast 10.255.255.255

I start the client with:
ifconfig ath0 10.4.0.2 netmask 0xff000000 media autoselect mode 11a nwid foo nwkey bar up

but it does not find any network (I let it wait awhile to do some scanning): ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0b:6b:36:fe:43
        media: IEEE802.11 autoselect mode 11a (OFDM6 mode 11a)
        status: no network
        ieee80211: nwid foo nwkey bar
        inet6 fe80::20b:6bff:fe36:fe43%ath0 prefixlen 64 scopeid 0x2
        inet 10.4.0.2 netmask 0xff000000 broadcast 10.255.255.255

Same story with enforced mode 11g

However setting mode "11b" in the same command line as above immediately yields a connection on the client: ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0b:6b:36:fe:43
        media: IEEE802.11 autoselect mode 11b (DS11 mode 11b)
        status: active
        ieee80211: nwid foo chan 1 bssid 00:0b:6b:36:fd:a6 nwkey bar
        inet6 fe80::20b:6bff:fe36:fe43%ath0 prefixlen 64 scopeid 0x2
        inet 10.4.0.2 netmask 0xff000000 broadcast 10.255.255.255

Not setting any mode at all starts the hostap in 11a mode and the client is not able to connect as well.

Note: The boxes are standing right next to each other. I tried it in several buildings so I do not think that this might be due to interference.

I wonder if this is a driver issue? Or could it be a problem with the hardware?

Thanks a lot,
Robert

Reply via email to