Skip to content

Instantly share code, notes, and snippets.

View aceisace's full-sized avatar

Ace aceisace

View GitHub Profile
#!/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
@aceisace
aceisace / Raspberry-AP-Setup.sh
Last active January 2, 2021 19:41 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/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]:"
@aceisace
aceisace / commands.sh
Last active July 11, 2018 16:28 — forked from lukicdarkoo/configure.sh
Raspberry Pi: AP + client mode
#!/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 <lukicdarkoo@gmail.com>
# 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}"