I have installed Ubuntu 19.10 Server on my Raspberry Pi 4. This seems to be working mostly fine but I am unsure how to connect to WiFi through it's terminal-only interface.
I've seen a few instructions on various articles and forums but they all seem to be reliant on downloading things to do the job, which I can't do without WiFi.
Does anyone have any suggestions?
Thanks!
You should check the netplan program, available at least since ubuntu bionic 18.04, and also included on the base image.
For the wireless configuration, you may follow the example:
/usr/share/doc/netplan/examples/wireless.yaml
Probably you want to enable the dhcp configuration and remove the static parts. Just copy the example to the /etc/netplan/
directory and edit it, so it may looks like this:
network:
version: 2
wifis:
wlan0:
dhcp4: yes
dhcp6: no
access-points:
"<your network ESSID>":
password: "<your wifi password>"
Later you execute the netplan with:
sudo netplan try
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments