User Tools

Site Tools


ubuntu:networking:netplan:connection_to_wifi_open_network

Ubuntu - Networking - Netplan - Connection to Wifi Open Network

Here is a working YAML file for connection to local WPA2 wifi Network.

Create this file in /etc/netplan.

/etc/netplan/open.yaml
network:
    version: 2
    wifis:
        wlan0:
             renderer: NetworkManager
             match: {}
             dhcp4: true
             access-points:
                 "open network": {}

An assumption is that there is only one wifi device in the system. If this is not true, replace match: {} with something more specific.

In YAML, indentation matters, so ensure that this is maintained in the YAML config file.

Run the following to enable the change:

netplan generate; 
netplan apply

and things should work.

You can file bugs on Launchpad.

ubuntu/networking/netplan/connection_to_wifi_open_network.txt · Last modified: 2021/01/07 11:01 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki