On Mon, Oct 17, 2022 at 5:37 AM tux2bsd <tux2...@protonmail.com> wrote:

> > nwid puffyuberalles wpakey passwordhere
> > inet autoconf
> >
> > Or, for multiple access points:
> >
> > join home-net wpakey passwordhere
> > join work-net wpakey passwordhere
> > join cafe-wifi
> > inet autoconf
>
> It isn't clear why one uses 'nwid' and the other uses 'join',
> I think it would be better to be consistent for either use case -
> all 'nwid' or all 'join' (I prefer 'join').
>

Not every detail gets into the FAQ. The difference between
'join' and 'nwid' is described in the ifconfig(8) man page.

'join' is used to add a network to the 'join list' which is a list
of networks the system will try to connect to, when not already
connected to another network.

'nwid' is used when you want to immediately connect to an
access point without disturbing the join list.  For example,
you might use 'nwid' to connect to a public network such as
one provided by a hotel or a cafe, without modifying your
'join' list which might normally have only your private home
and office networks.

-ken

Reply via email to