• Stars
    star
    3,185
  • Rank 14,100 (Top 0.3 %)
  • Language
    C
  • License
    BSD 2-Clause "Sim...
  • Created over 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).

Linux Wifi Hotspot

Build Gitter FOSSA Status

What's new

  • Use aa-complain instead of complain to fix permission issue for dnsmasq
  • Fix some 5Ghz band not working issue

Thank you for all the contributions made while I'm not active on this repository.

Features

  • Share your wifi like in Windows - Use wifi and enable hotspot at the same time.
  • Share a wifi access point from any network interface
  • Create a hotspot with VPN - The hotspot has the traffic tunnelled through VPN. Useful for devices with no VPN app support like TV or gaming consoles.
  • Share wifi via QR code
  • MAC filter
  • View connected devices
  • Includes Both command line and gui.
  • Support both 2.4GHz and 5GHz (Need to be compatible with your wifi adapter). Ex: You have connected to the 5GHz network and share a connection with 2.4GHz.
  • Customise wifi Channel, Change MAC address, etc.
  • Hide SSID
  • customize gateway IP address
  • Enable IEEE 80211n, IEEE 80211ac modes

screenshot

Command line help and documentation

Read Command line help and documentation here.

If you only need the command-line without GUI run make install-cli-only as root user.

Notes

  • Sometimes there are troubles with 5Ghz bands due to some vendor restrictions. If you cannot start hotspot while you are connected to 5Ghz band, Unselect Auto and select 2.4Ghz in frequency selection.

  • If any problems with RealTeK Wifi Adapters see this

  • Unable to allocate IP: firewalld issue: Please check for potential fixes: #209 #166

  • dnsmasq: cannot read /tmp/create_ap.wlo1.conf.*/dnsmasq.conf: Permission denied, on Manjaro or ArchLinux ; check #183

Installation

Debian/Ubuntu

Download the debian package from latest release

OR

# For ubuntu only
sudo add-apt-repository ppa:lakinduakash/lwh
sudo apt install linux-wifi-hotspot

Arch based distributions

Linux Wifi Hotspot is available as an AUR package. You can install it manually or with your favourite AUR helper.
For example, if you use yay you can do:
yay -S linux-wifi-hotspot

Dependencies

General

  • bash
  • util-linux (for getopt)
  • procps or procps-ng
  • hostapd
  • iproute2
  • iw
  • iwconfig (you only need this if 'iw' can not recognize your adapter)
  • haveged (optional)

Make sure you have those dependencies by typing them in terminal. If any of dependencies fail install it using your distro's package manager

For 'NATed' or 'None' Internet sharing method

  • dnsmasq
  • iptables

To build from source

  • make
  • gcc and g++
  • build-essential
  • pkg-config
  • gtk
  • libgtk-3-dev
  • libqrencode-dev (for qr code generation)
  • libpng-dev (for qr code generation)

On Ubuntu or debian install dependencies by,

sudo apt install -y libgtk-3-dev build-essential gcc g++ pkg-config make hostapd libqrencode-dev libpng-dev

On Fedora/CentOS/Red Hat Enterprise Linux/Rocky Linux/Oracle Linux

sudo dnf install -y gtk3-devel gcc gcc-c++ kernel-devel pkg-config make hostapd qrencode-devel libpng-devel

Installation

git clone https://github.com/lakinduakash/linux-wifi-hotspot
cd linux-wifi-hotspot

#build binaries
make

#install
sudo make install

Uninstallation

sudo make uninstall

Running

You can launch the GUI by searching for "Wifi Hotspot" in the Application Menu or using the terminal with:

wihotspot

Create VPN Hotspot

After connecting to VPN, Open wihotspot GUI. Select the virtual interface created by the VPN. In this case it is tun0

image

Run on Startup

The wihotspot GUI uses create_ap to create and manage access points. This service and core logic was originally created by @oblique, and are now maintained in this repository.

Start the hotspot service on startup (using your saved configuration) with:

systemctl enable create_ap

Contributing

If you found a bug or you have an idea about improving this make an issue. Even a small contribution make open source world more beautiful. Please read CONTRIBUTING.md for more info.

Disclaimer

Icons made by Freepik from www.flaticon.com

Stargazers over time

Stargazers over time

License

FreeBSD

Copyright (c) 2013, oblique

Copyright (c) 2021, lakinduakash

FOSSA Status

More Repositories

1

wadec12

Decrypt WhatsApp database files with the key
Java
42
star
2

asus-screenpad-control

This repository contains a GUI utility for the brightness control on secondary screens ("ScreenPad Plus") on ASUS Zenbook Duo notebooks. This also includes the asus-wmi kernel module.
C
35
star
3

gravity

A fancy JavaScript animation based on gravity basics
JavaScript
10
star
4

go-chat-api

Real time chat sever using websockets with go.
Go
8
star
5

8-bit-pic-muc-IO

Set and read digital IO pins with Arduino style in 8-bit pic microcontrollers
C
6
star
6

swimming-pool-res

Swimming pool reservation web application with admin panel (Angular and Firebase)
TypeScript
6
star
7

SmartHome

Control light over wifi with android app
Java
5
star
8

mi-band-hr-monitor

Notify Heart Rate Level Using MI band 2
Java
4
star
9

AES-RSA-TextLib

Manipulate string with AES and RSA cryptographic methods
Java
4
star
10

WifiRouterSignal

Calculate broadband data consumed directly from notification bar with Huawei 4g routers
Java
3
star
11

pes

Automate project evolution system for universities- using Angular 7
TypeScript
2
star
12

common-scripts

Python
2
star
13

sslforfree-ssl-automate

Simple script for automate ssl certificate installation to Apache server with sslfor free certificate generator.
Shell
2
star
14

pes-eval

Evaluator application for Pes
SCSS
2
star
15

yolov3-new

Python
1
star
16

psiphon-vpn-client

C
1
star
17

Rest-your-eyes

notify user to 20-20-20 rule.
C++
1
star
18

save-the-earth

1
star
19

magento-install

Shell
1
star
20

javaFxUniversityPortal

Student,Course and Staff management system with javaFx for universities
Java
1
star
21

qt-bluetooth-serach

Serial Bluetooth server for linux which send keystroke to kernel
C++
1
star
22

be-ionic

Basic ionic project
TypeScript
1
star
23

v-len

Small cmd utility for finding total length of video list in a folder or list of folders
Python
1
star
24

mit-iap-environment-platform

Environmental Management Platform for Environmental Ministry of Sri Lanka which is developed with collaboration of WSO2 and MIT-IAP Program
Ballerina
1
star