Giter Site home page Giter Site logo

sibyperiyar / easy-hotspot Goto Github PK

View Code? Open in Web Editor NEW
56.0 8.0 49.0 1.71 MB

Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.

Home Page: http://hotspot.helloperiyar.com

PHP 96.09% CSS 2.89% JavaScript 1.02%
easy-to-use easy-hotspot wifi hotspot-user-management mikrotik mikrotik-routerboards mikrotik-routeros-script mikrotik-hotspot mikrotik-routeros-api wifi-network

easy-hotspot's Introduction

Components/Packages/Scripts used in this project
-------------------------------------------------
Elevator โ€“ Metro UI Inspired Free Bootstrap HTML5 Template by graygrids.com
https://graygrids.com/item/elevator-metro-ui-inspired-responsive-bootstrap-template/

Twitter Bootstrap (& Jquery) http://getbootstrap.com/, https://jquery.com/
Font Awesome http://fontawesome.io/

Google Fonts http://fonts.googleapis.com/

Pear2 PHP API Client by boenrobot [Vasil Rangelov, a.k.a. boen_robot (boen [dot] robot [at] gmail [dot] com)]
https://github.com/pear2/Net_RouterOS
https://github.com/pear2/Net_RouterOS/wiki
https://wiki.mikrotik.com/wiki/API_PHP_package
http://pear2.php.net/support/
-------------------------------------------------
Developed by: Siby P Varkey, [email protected]
Assistance: Sonal Siby, [email protected]
-------------------------------------------------
Visual Documentation at : http://hotspot.zetozone.com
-------------------------------------------------
Software and Hardware

HTML, CSS, JavaScript, PHP, MySql, PDO, Javascript/Ajax, Font Awesome, JQuery, Twitter Bootstrap ... &  PEAR2_Net_RouterOS API are the major software component parts of the utility.  Above all the Mikrotik Router OS Based router or PC working with Router OS configured to an IP is the most important Hardware part involved.  

Requirements: Any web server supports PHP 5.x and all the above.
-------------------------------------------------
Prerequisites
A MySql database need to be created prior to operation, if it doesn't exist will be created automatically on initialization in most cases.

The details of the database need to be updated in the file 'dbconfig.php' file before operation. (Host, DB name, DB Username and DB Password)

The Details of the Router has to be entered in the 'config.php' file before operation, like Host IP, username and password.  If they are not correct or the system is not able to connect to the Hotspot router, will ask for correct credentials in the first screen.
-------------------------------------------------
System Users: Who are operating this utility.
3 User levels: Administrator, Unit Head and System users.
Any number of users can be created by the system Admin.  They can be enabled/disabled, edited, deleted and can reset the password also by the admin. A default system admin with username 'admin' and password 'admin' will be created automatically on initialisation. Admin user can reset passwords of all other users.  On resetting a password, it will be reset to 'password' for that user. All users can change their own password using the change password option available in the system users section.
-------------------------------------------------
Documentation and Help
For more details of the operations and features of the utility please refer the visual documentation available at http://hotspot.zetozone.com
-------------------------------------------------
Major features:

Creation of vouchers for Single person. (Guest User Accounts/Hotspot users)
Creation of vouchers for Multiple persons.
Listing Active Users
Listing inactive Users
Remove Selected/All User Accounts
Remove all validity expired User Accounts
Server Log of Recent Activities
Removal of uninitiated guest accounts.  Accounts created earlier but no one has started using it yet.
Voucher Management and Printing.  6 Different Voucher modes are available for Printing vouchers satisfying the needs of all.
Management of System user Accounts by Admin: Creation, Listing, Activation/Deactivation, Updating details and deletion of System users.
Hotspot User Profiles Management:  Creation/Updation/Deletion of User profiles in the router. Options like Session Timeout, MAC binding of Account, Expiry mode, grace period, price, MAC Cookie Timeout, Keepalive Timeout, Download and Upload Speed Limits, Number of simultaneous user logins allowed per user account etc can be set for each profile.
Re-printing of Last Voucher/Vouchers List.
and many more...
Please visit http://hotspot.zetozone.com for a detailed visual documentation of the project.
-------------------------------------------------
How to Install in different OS based PCs
Linux / Unix variations
................
..................
Windows Based PCs
................
..................
MAC OSX based MACs
................
..................
................
..................

easy-hotspot's People

Contributors

sibyperiyar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easy-hotspot's Issues

Login issues

I have the one problem
Iโ€™m so many time try to login but not login
047F9BDA-5F14-45BF-9B6B-509800D89071
Like that showing
No active user account with the giving username/password combination

Error on user creatin during first login

During first login
Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value in /var/www/html/Easy-HotSpot/login.php:67 Stack trace: #0 /var/www/html/Easy-HotSpot/login.php(67): PDOStatement->execute() #1 {main} thrown in /var/www/html/Easy-HotSpot/login.php on line 67

Multi User add issue

Multiple Users Created

Notice: Undefined variable: username in /var/www/html/ajax_addusers.php on line 96

Notice: Undefined variable: password in /var/www/html/ajax_addusers.php on line 97

Notice: Undefined variable: username in /var/www/html/ajax_addusers.php on line 96

Notice: Undefined variable: password in /var/www/html/ajax_addusers.php on line 97
0 Users Accounts Added Successfully. Print the Vouchers from Voucher Printing Menu

In the variable I just add "_", like:
'name' => "$user_name",

PHP Warning: session_start(): Cannot start session when headers already sent in

Hello!

Any help in fixing this error is very appreciated

[error] 714#714: *30 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): Cannot start session when headers already sent in /var/www/easy-hotspot/login.php on line 2" while sending to client, client: , server: _, request: "GET /login.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: ""

Thank you!

unable to log in

Hello Sir, please I'm trying to log in but it keep telling me that $dB_con is undefined in login.php. how do I solve this problem

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.