netplan on ubunty 20.04 (also on a rpi4)
Oliver Grawert
ogra at ubuntu.com
Mon May 10 06:53:04 UTC 2021
hi,
Am Sonntag, den 09.05.2021, 17:03 -0600 schrieb R C:
> Hello,
>
>
> I am installing Ubuntu 20.04 on a raspberry pi 4 and want to use an
> external antenna (log range / directed wifi). The access point it
> must
> connect to does not require a password.
>
>
> I don't know if netplan is the best way to set it up
>
it surely is nowadays ...
> I am using "Ubuntu server" and want to do it on the commandline/cli,
> is
> there a write-up for how to do that?
there is a writeup somewhere on https://discourse.ubuntu.com
>
> (also, the accesspoint doesn't use a password (authentication is
> done
> differently))
>
i'm not sure how to configure wlan without passphrase, but below is a
netplan.yaml i use on all my pi's, just replace "your-ssid" and "your-
pssword", it will connect to your WLAN and also allow to plug in a
cable to use wired ... make sure ot get the indendation right, yaml is
very picky about this ... put the SD in your PC, mount it and place the
below file into /etc/netplan/ on the SD ... make sure it ends in .yaml
---- snip ----
network:
ethernets:
eth0:
dhcp4: true
optional: true
version: 2
wifis:
wlan0:
access-points:
your-ssid:
password: your-password
dhcp4: true
---- snap ----
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210510/caee6ff9/attachment.sig>
More information about the ubuntu-users
mailing list