forked from jasbur/RaspiWiFi
-
Notifications
You must be signed in to change notification settings - Fork 0
Headless WiFi configuration for the Raspberry Pi (or most other devices running Linux) by using a temporary WiFi access point and web interface
License
mstieg/RaspiWiFi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
RaspiWiFi RaspiWiFi is a program to headlessly configure a Raspberry Pi's WiFi connection using using any other WiFi-enabled device (much like the way a Chromecast or similar device can be configured). RaspiWiFi has been tested with the Raspberry Pi B+ (using an Edimax USB WiFi adapter with modified driver as outlined in the "Prerequisites" section on this page http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/) and the Raspberry Pi 3. Although, it should technically work with any Raspberry Pi that has WiFi hardware. INSTALLATION INSTRUCTIONS: == Update your apt cache: sudo apt update == Install dependencies: sudo apt install python3 bundler libsqlite3-dev isc-dhcp-server hostapd == Change to the "Configuration App" directory and install Rails gems: cd Configuration\ App/ sudo bundle install == Change back to RaspiWiFi's root directory and run the initial setup: cd .. sudo python3 initial_setup.py == At this point your Raspberry Pi will reboot. When it finishes booting it should present itself in "Configuration Mode" as a WiFi access point with the name "RaspiWiFi Setup". USAGE: == Connect to the "RaspiWiFi Setup" access point using any other WiFi enabled device. == Navigate to http://10.0.0.1 using any web browser on the device you connected with. == Select the WiFi connection you'd like your Raspberry Pi to connect to from the drop down list and enter its wireless password on the page provided. If no encryption is enabled, leave the password box blank. == Click the "Connect" button. == At this point your Raspberry Pi will reboot and connect to the access point specified. RESETTING THE DEVICE: == If GPIO 18 is pulled HIGH for 10 seconds or more the Raspberry Pi will reset all settings, reboot, and enter "Configuration Mode" again. It's useful to have a simple button wired on GPIO 18 to reset easily if moving to a new location, or if incorrect connection information is ever entered. Just press and hold for 10 seconds or longer. == You can also reset the device by re-running the initial_setup.py as instructed above.
About
Headless WiFi configuration for the Raspberry Pi (or most other devices running Linux) by using a temporary WiFi access point and web interface
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 66.2%
- HTML 13.9%
- Python 9.0%
- Shell 5.2%
- CSS 3.6%
- JavaScript 1.6%
- CoffeeScript 0.5%