Browse Source

wpa_supplicant → wpa_passphrase

master
Andreas Linz 2 years ago
parent
commit
7a4c242bbe
No known key found for this signature in database GPG Key ID: 8DEF5099A0822620
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      copy.sh

+ 1
- 1
README.md View File

@ -15,7 +15,7 @@ modiy date variables in `./prepare-image.sh` accordingly.
Prepare wifi configuration:
```sh
$ wpa_supplicant <ssid> <password> > wpa_supplicant.conf
$ wpa_passphrase <ssid> <password> > wpa_supplicant.conf
```
Download raspbian image, mount root partition and copy wifi credentials and public SSH key.

+ 1
- 1
copy.sh View File

@ -10,7 +10,7 @@ if [[ $EUID -ne 0 ]]; then
fi
touch root/boot/ssh
# wpa_supplicant <ssid> <password> > wpa_supplicant.conf
# wpa_passphrase <ssid> <password> > wpa_supplicant.conf
cp wpa_supplicant.conf root/etc/wpa_supplicant/
mkdir -p root/home/pi/.ssh
cat "$SSH_PUBLIC_KEY" > root/home/pi/.ssh/authorized_keys

Loading…
Cancel
Save