Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
run.sh
set_pw.sh

README.md

Raspbian wifi pw writer

See this blog post for more details.

If you want to set up a Raspberry Pi without using a screen or keyboard, also known as headless, and you have a Pi with wifi, you will need to edit the downloaded Raspbian image file before booting up. This is easier said than done on some operating systems, like OSX. Docker to the rescue!

This image can be used for writing the wpa_supplicant.conf to the correct location in the image. It also enables ssh access. Find the Pi's IP address in your router.

Usage:

docker run --rm --privileged --tty --interactive --volume "/full/path/to/unzipped/image.img:/images/image.img" remmelt/docker-rpi-wifi-pw-setter

or use the supplied script:

./run.sh image.img

Good luck and let me know if this worked for you!