Coder Social home page Coder Social logo

lucked / kupiki-hotspot-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pihomeserver/kupiki-hotspot-script

0.0 2.0 0.0 81 KB

Create automatically a full Wifi Hotspot with a Raspberry Pi

Home Page: http://www.pihomeserver.fr

License: Other

Shell 100.00%

kupiki-hotspot-script's Introduction

What is Kupiki Hotspot

This project is the latest version of the tutorial created first on my blog Pi Home Server Created on a Raspberry Pi 2, some functionalities and tools where not available for the Raspberry Pi 3. Also the tutorial was a little bit difficult to implement because of too many steps. That's why i decided to create a script that will help you to build your own hotspot automatically.

Once the script is executed, you will get :

  • A Wifi hotspot using the integrated wifi chipset
  • A custom captive portal based on coovachilli
    • The portal is served by the high performance web server Nginx
    • The design of the portal can be easily modified for anyone who has knowledge in HTML and Javascript
  • An authentication process based on freeRadius
  • An interface for freeRadius management
    • daloRadius is installed by default, served by Nginx web server
    • A full management of the hotspot, with batch for user creation, vouchers, NAS, etc.

Requirements

What are the requirements ?

  • A Raspberry Pi 3
  • An ethernet cable
  • A power supply for the Raspberry Pi
  • An internet access of course
  • A micro SD card with a raspbian-like OS installed like the official Raspbian Stretch Lite ). No warranty that it will work with OSes like Official Raspbian, Ubuntu Mate Xenial, etc.

Usage

You just have to download the script, edit it to update it's parameters, execute and wait ... If the wifi on the Raspberry is not already configured, don't worry, the script will do it

  • Download the script with the following command
    git clone https://github.com/pihomeserver/Kupiki-Hotspot-Script.git
  • Edit the script and update the first lines to define your own configuration (take care that an ethernet link is required)
  • Execute the script using the following command : sudo chmod +x pihotspot.sh && sudo ./pihotspot.sh

A log file named pihotspot.log will be created in the folder /var/log. Open a new session on the Pi and run the following command tail -f /var/log/pihotspot.log

Full distro

Warning

The image is using the script v1.1 on Debian Jessie (not the last Stretch release). So you should have some bugs in it. It's recommanded to use the script instead this image.

If you don't want to install the script yourself, you can download a ready-to-use image with this link

Credentials are user : pi / password : pihotspot

Then

Once installed use your favorite browser to connect to daloRadius installed on your Raspberry Pi. http://<mypi_ip>/daloradius or http://<my_hotspot_name>.local/daloradius if your system supports Bonjour. The exact address will be displayed at the end of the script execution.

Do not try to connect to daloRadius throught your new hotspot network

Screenshots

Connexion screen

Successful connexion

Daloradius

Support

Please use input your requests or issues in the GIT repository

Any contribution is welcome !

kupiki-hotspot-script's People

Contributors

pihomeserver avatar gagan0123 avatar reigelgallarde avatar

Watchers

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