Powered by coANDco UK

How to set up wifi on Ubuntu MATE on a Raspberry 3

From How2s

This is for version 18.04 using netplan

sudo apt update
sudo apt full-upgrade
sudo reboot


ip link show
# 1: lo: <LOOPBACK,UP,LOWER_UP> … 
# 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> … state UP … 
# 3: wlan0: <BROADCAST,MULTICAST> … state DOWN 


cd /etc/netplan/
ls -l 
# -rw-r--r-- 1 root root 666 May 15 22:00 50-cloud-init.yaml
### note your *cloud-init.yaml file name
### backup *cloud-init.yaml file
cp 50-cloud-init.yaml 50-cloud-init.yaml.bak
### edit *cloud-init.yaml
sudo vim 50-cloud-init.yaml


network:
   version: 2
   ethernets:
       eth0:
           optional: true
           dhcp4: true
   # add wifi setup information here ...
   wifis:
       wlan0:
           optional: true
           access-points:
               "YOUR-SSID-NAME":
                   password: "YOUR-NETWORK-PASSWORD"
           dhcp4: true

Test, generate and apply the changed your-cloud-init.yaml config:

Testing:

sudo netplan --debug try

(continue even if successful)

Generate:

sudo netplan --debug generate 

(provides more details in case of issues with the previous command)

Apply:

sudo netplan --debug apply 

(if no issues during the previous commands)

sudo reboot
Please check out our sponsor, thanks to whom How2s.org is FREE: