Netgear WG311 as AP on NetBSD

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.

Related posts :

admin November 6th, 2004


2 Responses to “Netgear WG311 as AP on NetBSD”

  1. Joel CARNATon 09 Nov 2004 at 4:10 pm

    What if the speed then ? 11Mbps ? 54Mbps ?

    Mine doesn’t seem to be 54Mbps… How to force 54Mbps ?

  2. Jkxon 09 Nov 2004 at 4:34 pm

    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’.

    – ?

Comments RSS

Leave a Reply