Subscribe to UbuntuBuzz Telegram Channel https://telegram.me/ubuntubuzz to get article updates directly.
Requirements
In this tutorial, I use these stuffs:
- A smartphone capable to do USB tethering
- A working internet access in my smartphone
- Two laptops, one as hotspot and one as client
- Neon OS with KDE Plasma 5.9 in hotspot laptop
- Ubuntu MATE in client laptop
1. Enable The Internet Source
Connect your smartphone to the KDE laptop > enable its USB tethering > make sure the KDE laptop connected to the internet.
2. Create WLAN Hotspot
Open KDE System Settings > Networks > Connections > press "+" (PLUS) button > select "WIFI (Shared)" > press "Create" > name the "Connection name:" e.g. WLAN Hotspot (seen on hotspot laptop) > name the "SSID" e.g. my_hotspot (seen on client laptop) > OK.
3. Hotspot Laptop Connects to WLAN Hotspot
In KDE Plasma, click network icon on panel > connect to "WLAN Hotspot" (the connection name you have determined) > leave the "my_hotspot" (the SSID you have determined) untouched.
4. Client Laptop Connects to WLAN Hotspot
In client laptop, for any operating system, just find out the WLAN hotspot name ("my_hotspot") and connect to it. Now you can browse the internet on the client laptop. You can also connect any other device to it.
Additional Info
For further use, you can consider these information:
- You may share your internet to any number of client laptops/computers/devices.
- You may limit user access by giving your hotspot a password.
- You can transfer files (via SFTP protocol) between computers connected via the hotspot.
- You may configure a captive portal if you want to create e.g. a paid public hotspot using Chilispot (advanced).
- And there is even a GNU/Linux distro designed to be an instant captive portal called EasyHotspot.