mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2026-02-03 23:30:48 +00:00
first Pivivlion config and scripts
This commit is contained in:
parent
e046535f8c
commit
1599a2b753
61 changed files with 7014 additions and 0 deletions
11
usr/local/bin/pikey
Normal file
11
usr/local/bin/pikey
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Enter SSID"
|
||||
read name
|
||||
echo "Enter password"
|
||||
read password
|
||||
wpa_passphrase "$name" "$password" >> /home/pi/pivilion/config/wpa_supplicant.conf
|
||||
sudo bash -c "cp /home/pi/pivilion/config/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
echo "Configured Wifi networks"
|
||||
sudo bash -c "cat /etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
echo "If this is correct set your Pi to restart in onion mode by running the onion command!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue