Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 622 Bytes

connect-network.md

File metadata and controls

39 lines (29 loc) · 622 Bytes

Connecting to a Network

Wi-Fi

[root@nixos:~]# systemctl start wpa_supplicant.service

[root@nixos:~]# wpa_cli
wpa_cli v2.10
Copyright (c) 2004-2022, Jouni Malinen <[email protected]> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.


Selected interface 'wlp1s0'

Interactive mode

> add_network
0
> set_network 0 ssid "<network-name>"
OK
> set_network 0 psk "<network-key>"
OK
> set_network 0 key_mgmt WPA-PSK
OK
> enable_network 0
OK
> save
OK
> quit