I'm having some problems setting up the "access-points": in netplan
, when the renderer:
NetworkManager .
My yaml is
cat /etc/netplan/00-installer-config.yaml
network:
version: 2
renderer: NetworkManager
wifis:
wlp58s0:
dhcp4: true
optional: true
access-points:
"VCRoom065":
password: "xxXXxx"
When I
sudo netplan --debug generate
sudo netplan --debug apply
** (generate:1259): DEBUG: 18:58:22.019: Processing input file /etc/netplan/00-installer-config.yaml..
** (generate:1259): DEBUG: 18:58:22.019: starting new processing pass
** (generate:1259): DEBUG: 18:58:22.020: wlp58s0: adding wifi AP 'VCRoom065'
** (generate:1259): DEBUG: 18:58:22.020: Generating output files..
** (generate:1259): DEBUG: 18:58:22.020: networkd: definition wlp58s0 is not for us (backend 2)
(generate:1259): GLib-DEBUG: 18:58:22.020: posix_spawn avoided (fd close requested)
DEBUG: no netplan generated networkd configuration exists
DEBUG: netplan generated NM configuration exists, restarting NM
DEBUG: wlp58s0 not found in {}
DEBUG:Merged config:
network:
bonds: {}
bridges: {}
ethernets: {}
vlans: {}
wifis:
wlp58s0:
access-points:
VCRoom065:
password: xXXxxXX
dhcp4: true
optional: true
DEBUG: Skiping non-physical interface: lo
DEBUG: {}
DEBUG: netplan triggering .link rules for lo
DEBUG: netplan triggering .link rules for wlp58s0
If I go and check ip addr
I'm connected to my previous AP .
I have followed the instructions in here and got some advatanges
Failed to start netplan-wpa-wlan0.sevice: Unit netplan-wpa-wlan0.service not found
If I
sudo systemctl start wpa_supplicant
sudo shutdown now
sudo netplan generate
sudo netplan apply
It does solve the problem for renderer: networkd
but for renderer: NetworkManager
it doesn't.
I have tried disabling sudo systemctl stop systemd-networkd
in order to sanitise the problem.
Any ideas?.
Thank you
It sounds like you have previously set this interface up directly through NetworkManager, and therefore you have conflicting configuration under /etc/NetworkManager. Try removing that config and trying again.