Create Wifi Hotspot on Debian 9 Xfce
Creating WiFi hotspot on Debian 9 Xfce is pretty easy for it comes with the Network Manager preinstalled. Follow the instructions below to create WiFi hotspot on Debian:
- Right click on the Network Manager icon from the Xfce panel. You’d find Edit Connections at the end of the list. Click on it.
- Click Add.
- Select Wi-Fi from the drop-down list and click on Create.
- A window will appear. You can change the connection name or keep it like that. That’s up to you.
- Give any name to SSID. Your hotspot would be named after that name.
- Mode would be Infrastructure.
- Click on the drop-down button on the Device MAC address and select your wireless card.
- Go to Wi-Fi Security tab. From there select WPA & WPA2 Personal as the Security type. Set a password.
- Go to IPv4 Settings tab. Select Shared to other computers from the drop-down menu of the Method.
- Click Save.
Now open the terminal window and execute the following command:
sudo mousepad /etc/NetworkManager/system-connections/name_of_the_wifi_hotspot
- I’ve used Mousepad as the text editor for example purpose. You can use anything else as long else you use that name in the aforementioned command. Also, replace name_of_the_wifi_hotspot with the name you chose as the Connection Name.
- A file would open in your text editor (in this case, Mousepad text editor). Find mode=infrastructure line and replace it with mode=ap
- Now Save the file.
- You might want to restart your system for the WiFi hotspot to work.
- After a restart, your computer should be automatically connected to the WiFi hotspot you’ve just created. If not, then select Connect to Hidden Wi-Fi Network and select your hotspot from the drop-down list.