NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wifi adapter setup documentation?

On Fri, Jan 21, 2011 at 01:29:10PM -0700, Andy Ruhl wrote:
> Sorry if this is a stupid question...
> Where do I go in the NetBSD documentation to learn how to set up a
> modern wifi adapter? I haven't done it for a while, and the last time
> I did it there was no WPA yet. It was pretty easy back then. I'm aware
> that there are man pages, but it would be nice to assemble something
> with some order to it as a starting point.
> I sorta know what to look for just because I read these lists, so I
> don't need someone to explain how to do it... I'm just asking about
> documentation.

Besides the regular network documentation (e.g., ifconfig(8)), there seems to
4 man pages strictly for wpa_supplicant:

For me, it was as easy as creating this wpa_supplicant.conf:

    # default wireless network

and then adding this to my rc.conf:

    # This is for wireless
    wpa_supplicant_flags="-B -i wpi0 -c /etc/wpa_supplicant.conf"
    critical_filesystems_local="/var /usr"

You can learn what each of those settings means in the above mentioned
manpages. Also note that this only sets up the wireless interface. Normal
configuration that applies to any network interface (e.g., DHCP) will still
need to be taken care of.
Hope this helps.

Christopher Berardi

Be still, and know that I am God (Psalms 46:10)

Home | Main Index | Thread Index | Old Index