This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple bash script to set up Debian Buster with personal preferences. | |
# Usage: bash -c "$(curl -sL https://gist.githubusercontent.com/aceisace/bf5aa79fe99591e2ea1624168d470006/raw/3e1da5eb81a1ceb95eebdefbb45eb8a698c17dce/debian-buster.sh)" | |
# Expand filesystem and set resolution? | |
echo -e "Set desired resolution and expand filesystem now? A reboot is required after that." | |
echo -e "Press [Y] to continue or anything else to skip this" | |
read -r -p 'Waiting for input... ' option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This version uses Debian Stretch, please use that version. | |
# Usage: curl -sSL https://gist.githubusercontent.com/aceisace/b53e93924c969ac47e2333e970c132b0/raw/b4fbeed6cbe74d306c1951dc03435b38132b034e/Raspberry-AP-Setup.sh | bash | |
echo -p "Please enter a SSID for your AP, followed by [ENTER]:" | |
read APSSID | |
echo "Your AP will be named $APSSID" | |
echo -p "Please enter a password for your AP, followed by [ENTER]:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# The script configures simultaneous AP and Managed Mode Wifi on Raspberry Pi Zero W (should also work on Raspberry Pi 3) | |
# Usage: curl https://gist.githubusercontent.com/aceisace/b7ca22b50531f43d48c74d86eb62c89a/raw | sh -s WifiSSID WifiPass APSSID APPass | |
# Licence: GPLv3 | |
# Author: Darko Lukic <[email protected]> | |
# Special thanks to: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/ | |
MAC_ADDRESS="$(cat /sys/class/net/wlan0/address)" | |
CLIENT_SSID="${1}" | |
CLIENT_PASSPHRASE="${2}" |