Skip to content

Instantly share code, notes, and snippets.

@GuySawyer
Last active September 7, 2017 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GuySawyer/de86e4b006e2778eb7aac1af9e0442d5 to your computer and use it in GitHub Desktop.
Save GuySawyer/de86e4b006e2778eb7aac1af9e0442d5 to your computer and use it in GitHub Desktop.
Raspberry Pi 3 - Wifi setup over bluetooth from Android App
1. Setup Bluetooth on Raspberry Pi 3:
https://hacks.mozilla.org/2017/02/headless-raspberry-pi-configuration-over-bluetooth/
2. Add these lines to startupScript in 1 to start bluetooth as discoverable:
#make bluetooth discoverable
sudo hciconfig hci0 piscan
3a. Install Python script which will receive wifi creds over bluetooth and write them to the necessary files:
https://github.com/brendan-myers/rpi3-wifi-conf
3b. Will likely be required to install python wifi module:
$sudo pip install python wifi
4. Pair phone with pi over bluetooth
5. Run wifiOverBluetooth script on pi:
$sudo ./run.py
6. Push wifi creds from Android App:
https://github.com/brendan-myers/rpi3-wifi-conf-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment