To use a atheros wireless card and NetBSD, as a wireless AP simply do:
ifconfig ath0 ssid YouSSID mode 11g mediaopt hostap ifconfig ath0 192.168.2.1 #ip of the AP # allow forwarding sysctl -w net.inet.ip.forwarding=1
This is pretty simple no ? In fact, it take me a while to find the mediaopt option.
What if the speed then ? 11Mbps ? 54Mbps ?
Mine doesn’t seem to be 54Mbps… How to force 54Mbps ?
mode 11g force the speed to 54Mbps. Please note that, only latest drivers seems to work at 54Mbps. I use this drivers backported to Linux (madwifi) and I’m unable to use it at 54Mbps too. I think this is a bug in the speed selection, and madwifi seems to only support ‘autoselect’.
– ?