User Tools

Site Tools


ubuntu:network_-_netplan:connection_to_wifi_wpa2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:network_-_netplan:connection_to_wifi_wpa2 [2019/11/30 19:26] – created peterubuntu: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 /etc/netplan. 
- 
-<file bash /etc/netplan/wpa2.yaml> 
-network: 
-    version: 2 
-    wifis: 
-        wlan0: 
-             renderer: NetworkManager 
-             match: {} 
-             dhcp4: true 
-             access-points: 
-                 "wpa2 network": 
-                     password: "the wifi password goes here" 
-</file> 
- 
-<WRAP center round info> 
-An assumption is that there is only one wifi device in the system.  If this is not true, replace **match: {}** with something more specific. 
- 
-The "wpa2 network" part is actually the SSID. 
-</WRAP> 
- 
-<WRAP center round important> 
-In YAML, indentation matters, so ensure that this is maintained in the YAML config file. 
-</WRAP> 
- 
- 
-Run the following to enable the change: 
- 
-<code bash> 
-netplan generate;  
-netplan apply 
-</code> 
- 
- and things should work.  
ubuntu/network_-_netplan/connection_to_wifi_wpa2.1575142010.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki