ubuntu:network_-_netplan:connection_to_wifi_wpa2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:network_-_netplan:connection_to_wifi_wpa2 [2019/11/30 19:26] – created peter | ubuntu:network_-_netplan:connection_to_wifi_wpa2 [2021/01/07 11:01] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Network - Netplan - Connection to Wifi WPA2 ====== | ||
- | Here is a working YAML file for connection to local WPA2 wifi Network. | ||
- | |||
- | Create this file in / | ||
- | |||
- | <file bash / | ||
- | network: | ||
- | version: 2 | ||
- | wifis: | ||
- | wlan0: | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | " | ||
- | | ||
- | </ | ||
- | |||
- | <WRAP center round info> | ||
- | An assumption is that there is only one wifi device in the system. | ||
- | |||
- | The "wpa2 network" | ||
- | </ | ||
- | |||
- | <WRAP center round important> | ||
- | In YAML, indentation matters, so ensure that this is maintained in the YAML config file. | ||
- | </ | ||
- | |||
- | |||
- | Run the following to enable the change: | ||
- | |||
- | <code bash> | ||
- | netplan generate; | ||
- | netplan apply | ||
- | </ | ||
- | |||
- | and things should work. |
ubuntu/network_-_netplan/connection_to_wifi_wpa2.1575142010.txt.gz · Last modified: 2020/07/15 09:30 (external edit)