Creating a Wi-Fi Hotspot
To create a wireless network from the device terminal:- Check the name of your wireless network interface (Usually it is
wlan0). You can use theip aorifconfigcommand to find out. - Run the following command by customizing it for your needs to create your network:
ssid: Represents your network name that will be visible to nearby devices.password: The password required to connect to your network.
nmcli) are configured by default to share the device’s internet (e.g., Ethernet) over Wi-Fi.
Activating Internet Sharing (NAT)
If devices can connect to the network you created but cannot access the internet, you might need to explicitly forward (share) the Ethernet (wired internet) connection on the Gemstone to the Wi-Fi network. To assign the Internet sharing feature to your Hotspot connection, use the following commands. (Replace the connection name with thessid you provided when creating the Hotspot):
Additional Step: Enabling IP Forwarding
In rare cases, IP forwarding might be disabled at the Linux Kernel level. If the internet is still not being shared, enable IP forwarding:-
To enable it temporarily:
-
To make this setting permanent, open the
/etc/sysctl.conffile with a text editor (e.g.,nano) as a privileged user, remove the#sign at the beginning of the line#net.ipv4.ip_forward=1, and save the file. Run the following command to apply the changes:

