0

I am trying to configure the network in Ubuntu 20.04. I would like to set up several wifi access points under the same interface.

I am using the following configuration right now:

# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    ethernets:
        eth0:
            dhcp4: true
            addresses: [x.y.z.w/24]
            optional: true
    version: 2
    wifis:
      wlan0:
        dhcp4: false
        gateway4: x.y.z.w
        addresses: [x.y.z.w/24]
        access-points:
          "SSID":
            password: "pass"

But only one access point can be specified. Is it possible to set up a list of wifi networks with corresponding credentials?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.