Code Monkey home page Code Monkey logo

raspiwifi_modified's Introduction

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).

It can also be used as a method to connect wirelessly point-to-point with your Pi when a network is not available or you do not want to connect to one. Just leave it in Configuration Mode, connect to the RaspiWiFi Setup access point. The Pi will be addressable at https://10.0.0.1 and https://raspiwifisetup.com using all the normal methods you might use while connected through a network.

RaspiWiFi has been tested with the Raspberry Pi B+, Raspberry Pi 3, and Raspberry Pi Zero W.

Script-based installation instructions:

Clone and install RaspiWiFi

$ cd
$ git clone https://github.com/danielcharrua/RaspiWiFi.git
$ cd RaspiWiFi
$ sudo python3 initial_setup.py

This script will install all necessary prerequisites and copy all necessary config and library files, then reboot. When it finishes booting it should present itself in Configuration Mode as a WiFi access point with the name RaspiWiFi Setup.

The original RaspiWiFi directory that you ran the Initial Setup is no longer needed after installation and can be safely deleted. All necessary files are copied to /usr/lib/raspiwifi/ on setup.

Configuration:

After installation the configuration file can be found at /etc/raspiwifi/raspiwifi.conf

newtok_ssid=RaspiWiFi Setup
auto_config=1
auto_config_delay=60
wpa_key=password

Usage:

  • Connect to the RaspiWiFi Setup access point using any other WiFi enabled device.

  • Navigate to https://10.0.0.1 or to https://raspiwifisetup.com 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. You may also manually specify your network information by clicking on the "manual SSID entry ->" link.

  • Click the "Connect" button.

  • At this point your Raspberry Pi will reboot and connect to the access point specified.

  • You can view the current WPA encryption settings and change them from the main Web Configuration interface. The current settings are visible in a panel in the upper left corner of the screen. If you click the values in this display you will be taken to a page where you can change them. If you change them your device will reboot to enable the new configuration.

  • You can also use the Pi in a point-to-point connection mode by leaving it in Configuration Mode. All services will be addresible in their normal way at 10.0.0.1 while connected to the RaspiWiFi Setup AP.

Resetting the device:

You can reset the device by running:

sudo python /usr/lib/raspiwifi/reset_device/manual_reset.py

Uninstallation:

You can uninstall RaspiWiFi at any time by running:

sudo python3 /usr/lib/raspiwifi/uninstall.py

You can also run it from the libs/ directory from a fresh clone if you've installed from a previous version and don't have /usr/lib/raspiwifi/uninstall.py available.

raspiwifi_modified's People

Contributors

jasbur avatar danielcharrua avatar alranel avatar tiito78 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.