ubuntu hotspot start on boot automatically

Ubuntu hotspot start on system reboot automatically

When we restart or suspend the computer, we need to activate the hotspot manually each time automatically by some option script or command to launch the hotspot automatically after wakeup .

We can do it with the help of Network Manager let’s first check the name of the connection which represents the hotspot that we want to start when its activated.

#nmcli con show
chandan@home-PC:~$ nmcli con show
NAME                UUID                                  TYPE      DEVICE
Hotspot             b4b6abe1-8b53-4fbe-baf5-169398bb9702  wifi      wlp2s0

Now let's make it start automatically

root@home-PC:# cat /etc/NetworkManager/system-connections# cat Hotspot-1


Just change this false to true or remove this entry from this file. 

After making changes to the hotspot configuration file we have to restart Network Manager using this command:- 

#systemctl restart NetworkManager

It will make your Ubuntu Hotspot always enable on restart or shutdown or your Machine. 

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *