Problems with WiFi on Ubuntu Server 20.04
by zogthegreat from LinuxQuestions.org on (#556WE)
Hi everyone!
So I'm trying to set up an Ubuntu Server for running NextCloud and I'm having problems with WiFi. I've tried several solutions similar to what is here:
https://askubuntu.com/questions/1105...-18-04-via-cli
However, I keep having problems with netplan. I've edited my configuration in /ect/netplan/00-installer-config.yaml but I keep getting an error whe I run "sudo netplan generate":
zog@test:/etc/netplan$ sudo netplan generate
/etc/netplan/00-installer-config.yaml:12:11: Error in network definition: expected mapping (check indentation)
wifis:
^
I've tried using a couple of yaml validators, and they keep telling me that my yaml is valid:
Code:network:
ethernets:
enp1s0:
dhcp4: true
version: 2
wifis:
wlp1s0b1:
access-points:
XXXXXXX:
password: XXXXXXXXXX
dhcp4: trueCan anyone help me figure out what I'm doing wrong?
Thanks!
zog


So I'm trying to set up an Ubuntu Server for running NextCloud and I'm having problems with WiFi. I've tried several solutions similar to what is here:
https://askubuntu.com/questions/1105...-18-04-via-cli
However, I keep having problems with netplan. I've edited my configuration in /ect/netplan/00-installer-config.yaml but I keep getting an error whe I run "sudo netplan generate":
zog@test:/etc/netplan$ sudo netplan generate
/etc/netplan/00-installer-config.yaml:12:11: Error in network definition: expected mapping (check indentation)
wifis:
^
I've tried using a couple of yaml validators, and they keep telling me that my yaml is valid:
Code:network:
ethernets:
enp1s0:
dhcp4: true
version: 2
wifis:
wlp1s0b1:
access-points:
XXXXXXX:
password: XXXXXXXXXX
dhcp4: trueCan anyone help me figure out what I'm doing wrong?
Thanks!
zog