Using wpa_supplicant.conf to predefine a wifi connection

Tom H tomh0665 at gmail.com
Sun Jun 28 15:09:19 UTC 2020


On Sun, Jun 28, 2020 at 3:44 PM Colin Law <clanlaw at gmail.com> wrote:
> On Sun, 28 Jun 2020 at 14:38, Colin Law <clanlaw at gmail.com> wrote:
>> On Sun, 28 Jun 2020 at 14:33, Oliver Grawert <ogra at ubuntu.com> wrote:
>>> Am Sonntag, den 28.06.2020, 14:48 +0200 schrieb Bo Berglund:
>>>>
>>>> So how can I preconfigure the WiFi network on the machine so it
>>>> can connect when it is powered on at the location?
>>>
>>> ubuntu uses netplan since a while for commandline based system
>>> configuration, see:
>>>
>>> https://netplan.io/
>>>
>>> and edit /etc/netplan/*.yaml to your needs ...
>>
>> I am running 19.10 (upgraded over several years) and /etc/netplan is
>> empty on my system. Will that be because I have upgraded from
>> before netplan rather than doing a fresh install?
>
> Sorry, have just read Oliver's post again, he was referring to server
> type systems rather than Desktop systems I think.
>
> I think the Desktop installations still use Network Manager.

Yes, via netplan.

A desktop 20.04 installation has
"/etc/netplan/01-networkmanager-all.yaml with "renderer:
NetworkManager".

A server 20.04 installation has
"/etc/netplan/00-installer-config.yaml" without a "renderer:" line, so
it defaults to networkd.




More information about the ubuntu-users mailing list