Giter Site home page Giter Site logo

captive-portal-wpa's Introduction

Captive Portal on Rapsberry Pi

The following script will create an open wifi network and when you connect to it, it will automatically open the browser. Make sure you don't have the internet on your device you are connecting it from. This is originally designed to only provide local website from the RPI.

This is based on https://github.com/tretos53/Captive-Portal and adds a posibility to switch between AP mode and connecting to external wifi mode.

Awesome thanks to https://github.com/Autodrop3d/raspiApWlanScripts for helping with switching networks.

Instructions

Flash microsd card with etcher

Connect to the SSH and run below command. You can get the IP address from IP scanner.

sudo -i

Before running below command REPLACE ExternalWiFiSSID and ExternalWiFiPassword with the wifi you want RPI to connect to.

curl -H 'Cache-Control: no-cache' -sSL https://raw.githubusercontent.com/tretos53/Captive-Portal-wpa/master/captiveportal-wpa.sh | bash $0 ExternalWiFiSSID ExternalWiFiPassword

By default this will run in Captive Portal Mode. To change the mode, SSH to the pi and run bash wlan.sh or bash ap.sh respectively.

To Do

A lot to do. Please send any suggestions and issues.

captive-portal-wpa's People

Contributors

23ewrdtf avatar

Watchers

James Cloos avatar  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.