All Projects → t1m0thyj → PiBootstrapper

t1m0thyj / PiBootstrapper

Licence: MIT license
Windows app to configure Raspbian SD card image before first boot

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to PiBootstrapper

Piwheels
Python package repository providing wheels (pre-built binaries) for Raspberry Pi
Stars: ✭ 180 (+350%)
Mutual labels:  raspbian
Cattlepi
effortlessly boot, configure, update and monitor your raspberry pi ☁️
Stars: ✭ 250 (+525%)
Mutual labels:  raspbian
Bazel bin
Bazel's pre-built binaries for armv7l / aarch64 / x86_64.
Stars: ✭ 23 (-42.5%)
Mutual labels:  raspbian
Wirehome.core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
Stars: ✭ 180 (+350%)
Mutual labels:  raspbian
Pivccu
piVCCU is a project to install the original Homematic CCU2 firmware inside a virtualized container (lxc) on ARM based single board computers.
Stars: ✭ 230 (+475%)
Mutual labels:  raspbian
pi-top-setup
Using Raspbian Buster and Raspbian Stretch on the pi-top
Stars: ✭ 45 (+12.5%)
Mutual labels:  raspbian
Flash cc2531
flash CC2531 USB dongle from your Raspberry, without Arduino nor CC Debugger.
Stars: ✭ 154 (+285%)
Mutual labels:  raspbian
TensorFlow-Raspberry-Pi
TensorFlow installation wheels for Raspberry Pi 32-bit OS
Stars: ✭ 18 (-55%)
Mutual labels:  raspbian
Berrylan
Raspberry Pi WiFi setup
Stars: ✭ 243 (+507.5%)
Mutual labels:  raspbian
raspbian10-buster
Raspbian 10 (Buster) Lite Setup: with Wireguard, Pi-hole, Unbound
Stars: ✭ 54 (+35%)
Mutual labels:  raspbian
Briarids
An All-In-One home intrusion detection system (IDS) solution for the Raspberry PI.
Stars: ✭ 187 (+367.5%)
Mutual labels:  raspbian
Pi Timelapse
Time-lapse app for Raspberry Pi computers.
Stars: ✭ 220 (+450%)
Mutual labels:  raspbian
client
Stream-Pi Client
Stars: ✭ 222 (+455%)
Mutual labels:  raspbian
Raspberrypi Ua Netinst
RaspberryPi (minimal) unattended netinstaller
Stars: ✭ 179 (+347.5%)
Mutual labels:  raspbian
clusterhat-image
Converts Raspbian/Raspberry Pi OS images to support Cluster HAT
Stars: ✭ 71 (+77.5%)
Mutual labels:  raspbian
Pimusicbox
An image (SD-card) to turn the Raspberry Pi into an easy to use MusicBox with Spotify playback and AirTunes streaming
Stars: ✭ 1,967 (+4817.5%)
Mutual labels:  raspbian
pihut-xmas-asyncio
Demonstration driving The Pi Hut Raspberry Pi 3D Xmas tree using Python Asyncio
Stars: ✭ 15 (-62.5%)
Mutual labels:  raspbian
pidp11-2.11bsd
Using the historical unix 2.11 BSD operating system on the PiDP-11. With examples such as cool-retro-weatherstation.
Stars: ✭ 57 (+42.5%)
Mutual labels:  raspbian
Argon40-ArgonOne-Script
Script for the Argon ONE (V2) Pi 4 Raspberry Pi Case
Stars: ✭ 125 (+212.5%)
Mutual labels:  raspbian
fresh-coffee-listener
Using a raspberry pi, we listen to the coffee machine and count the number of coffee consumption
Stars: ✭ 52 (+30%)
Mutual labels:  raspbian

PiBootstrapper

Windows app to configure Raspbian SD card image before first boot

Download

Screenshot

Setting up Wi-Fi on a Raspberry Pi with a display connected is usually easy to do in Raspbian. However, if you want to setup a headless Pi or connect to a university's enterprise network, this requires editing configuration files manually and is less straightforward. This app lets you set up Wi-Fi right after flashing an SD card image for your Pi while the SD card is still in your PC.

PiBootstrapper can automatically generate the Wi-Fi configuration for both personal and enterprise networks and also enable SSH (Secure Shell) login. After bootstrapping the Pi with this app, it should connect to Wi-Fi right away when it boots and be accessible remotely over the network without any further setup necessary.

This app only runs on Windows; follow the instructions below to manually setup a headless Pi on Linux or macOS. If you want to set up more than just Wi-Fi and SSH on the SD card image, try the cross-platform app PiBakery which allows all sorts of customizations.

Manual Instructions

The following instructions explain how to manually configure Wi-Fi and enable SSH on a Raspbian SD card the same way that PiBootstrapper does.

Warning: If you have already booted your Pi and connected to Wi-Fi networks, creating a wpa_supplicant.conf file on the boot partition will overwrite any existing network configuration the next time it boots. In this case, it is recommended to edit the file /etc/wpa_supplicant/wpa_supplicant.conf directly on your Pi (requires sudo privileges). You can skip creating a new file at the beginning of the next section and only add the network={...} portion to the existing one.

Configure Wi-Fi

Create a file called wpa_supplicant.conf on the SD card boot partition starting with the following lines:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev"
update_config=1
country={COUNTRY_CODE}

(Replace {COUNTRY_CODE} with your 2 character long ISO country code. A list of them can be found here, some common ones are "US" for United States and "GB" for United Kingdom.)

After adding the lines shown above, configure your personal or enterprise wireless network as shown in the corresponding section below.

WPA/WPA2 Personal

Add the following lines to wpa_supplicant.conf:

network={
	ssid="{NETWORK_NAME}"
	scan_ssid=1
	key_mgmt=WPA-PSK
	psk="{PASSWORD}"
}

(Replace {NETWORK_NAME} and {PASSWORD} with the actual values.)

If you don't want the network password stored in plain text, run the command wpa_passphrase {NETWORK_NAME} {PASSWORD} and use the output as the password (without quote marks around it).

WPA/WPA2 Enterprise

Add the following lines to wpa_supplicant.conf:

network={
	ssid="{NETWORK_NAME}"
	scan_ssid=1
	key_mgmt=WPA-EAP
	eap=PEAP
	identity="{USERNAME}"
	password="{PASSWORD}"
	phase1="peaplabel=0"
	phase2="auth=MSCHAPV2"
}

(Replace {NETWORK_NAME}, {USERNAME}, and {PASSWORD} with the actual values.)

If you don't want the network password stored in plain text, run the command echo -n {PASSWORD} | iconv -t utf16le | openssl md4 and use the output as the password with "hash:" added in front of it (and without quote marks around it). This will not work if the password is more than 14 characters long.

Enable SSH

Create a blank file with no extension called ssh on the SD card boot partition.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].