Creating a WiFi Hotspot on Ubuntu

published onOctober 07, 2016
3minutes read
In Windows, we are familiar with applications like My WiFi Router, Connectify, Baidu WiFi Hotspot, and similar ones. In Ubuntu, we can achieve similar functionality using a combination of hostapd, dnsmasq, and iptables.
Make sure that your Wi-Fi device supports Access Point mode by entering the command
in the terminal for a check.
We can share a connection using the Create AP tool. However, before that, ensure the following dependencies are installed:
  • or
Install the tools:

Tool Usage:

Share Connection from Ethernet

Share Connection from Modem

Share Connection From Wireless Adapter (WiFi)


wlp3s0 is the name of the interface, which may vary for each computer.