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 #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

2 thoughts on “Netgear WG311 as AP on NetBSD

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

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

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

    – ?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>