Home

Awesome

license last-commit patreon paypal follow

Introduction

Hotspotd is a small daemon to create a wifi hotspot on linux. It depends on hostapd for AP provisioning and dnsmasq to assign IP addresses to devices.

Hotspotd works by creating a virtual NAT (Network address transation) table between your connected device and the internet using linux iptables.

Installation

To install hotspotd, just follow these steps:

wget https://github.com/prahladyeri/hotspotd/raw/master/dist/hotspotd-latest.tar.gz
tar xvf hotspotd-latest.tar.gz
cd hotspotd-latest/
sudo python setup.py install

To uninstall hotspotd, just say:

sudo python setup.py uninstall

Dependencies

To install hostapd on ubuntu:

apt-get install hostapd

Or on RHEL based distros:

yum install hostapd

Usage

To start hotspot:

sudo hotspotd start

To stop hotspot:

sudo hotspotd stop

The first time you run hotspotd, it will ask you for configuration values for SSID, password, etc. Alternatively, you may also run:

sudo hotspotd configure

Troubleshooting

Testing status

This package has been tested on Qualcomm Atheros adapter on the following distros:

In theory, it should work with all other distros too (on machines having wifi adapters supported by hostapd), but you will have to try that out and tell me!

Notes

Donation

Please consider donating if this tool has helped you in any way. You can also hire me through upwork or fiverr to get professional support and customization.