Autosave: 2024-06-12 19:00:04
This commit is contained in:
parent
811cabc825
commit
0e4efa3cad
2 changed files with 32 additions and 0 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
32
zk/Headless network setup.md
Normal file
32
zk/Headless network setup.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
id: hb10
|
||||
title: Headless network setup
|
||||
tags: [networks, Linux]
|
||||
created: Wednesday, June 12, 2024
|
||||
---
|
||||
|
||||
# Headless network setup
|
||||
|
||||
If you are using a headless system and you aren't using an ethernet connection,
|
||||
you face a chicken-egg issue of how to connect the device to WiFi via `ssh` when
|
||||
the device isn't yet on the network.
|
||||
|
||||
You can get around this by saving a file called `wp_supplicant.conf` to the
|
||||
`/boot` directory of the device. This specifies the SSID name and password and
|
||||
will be used to auto-connect when the device boots.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
country=GB
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
update_config=1
|
||||
network={
|
||||
ssid="SKYVL7XP"
|
||||
scan_ssid=1
|
||||
psk="WIFI_PASSWORD"
|
||||
key_mgmt=WPA-PSK
|
||||
}
|
||||
```
|
||||
|
||||
## Related notes
|
Loading…
Add table
Reference in a new issue