Hi Sanket,
Thanks for the reply. I hope all is well with you.
With the following configurations, I am attempting to assign a static IP address to the wlan0 interface using netplan. However, it does not assign an IP address. Would any additional steps be required to accomplish this?
root@imx8mpsolidrun:~# cat /etc/netplan/50-cloud-init.yaml
network:
version: 2
renderer: NetworkManager
wifis:
wlan0:
addresses: [182.168.4.10/16]
access-points:
Mywifi1:
password: G4XJdbuBVsQeq6Rz
dhcp4: true
With this configurations, I am now experiencing a different error,
root@imx8mpsolidrun:~# netplan --debug apply
** (generate:899): DEBUG: 20:06:43.238: starting new processing pass
** (generate:899): DEBUG: 20:06:43.243: wlan0: adding wifi AP 'Mywifi1'
** (generate:899): DEBUG: 20:06:43.244: We have some netdefs, pass them through a final round of validation
** (generate:899): DEBUG: 20:06:43.244: wlan0: setting default backend to 2
** (generate:899): DEBUG: 20:06:43.244: Configuration is valid
** (generate:899): DEBUG: 20:06:43.244: Generating output files..
** (generate:899): DEBUG: 20:06:43.244: networkd: definition wlan0 is not for us (backend 2)
** (generate:899): DEBUG: 20:06:43.244: openvswitch: definition wlan0 is not for us (backend 2)
DEBUG:no netplan generated networkd configuration exists
DEBUG:netplan generated NM configuration changed, restarting NM
DEBUG:wlan0 not found in {}
DEBUG:Merged config:
network:
renderer: NetworkManager
version: 2
wifis:
wlan0:
access-points:
Mywifi1:
password: G4XJdbuBVsQeq6Rz
addresses:
- 182.168.4.10/16
dhcp4: true
DEBUG:Link changes: {}
DEBUG:netplan triggering .link rules for lo
DEBUG:netplan triggering .link rules for eth0
DEBUG:netplan triggering .link rules for wlan0
DEBUG:netplan triggering .link rules for eth1
** (process:896): DEBUG: 20:06:44.070: starting new processing pass
** (process:896): DEBUG: 20:06:44.075: wlan0: adding wifi AP 'Mywifi1'
** (process:896): DEBUG: 20:06:44.076: We have some netdefs, pass them through a final round of validation
** (process:896): DEBUG: 20:06:44.076: wlan0: setting default backend to 2
** (process:896): DEBUG: 20:06:44.076: Configuration is valid
DEBUG:wlan0 not found in {}
DEBUG:Merged config:
network:
renderer: NetworkManager
version: 2
wifis:
wlan0:
access-points:
Mywifi1:
password: G4XJdbuBVsQeq6Rz
addresses:
- 182.168.4.10/16
dhcp4: true
Thanks,
Sureshkumar R