ubuntu:network_-_netplan:connection_to_wifi_wpa2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:network_-_netplan:connection_to_wifi_wpa2 [2020/07/15 09:30] – external edit 127.0.0.1 | 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.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1