Trigger the Wi-Fi Hotspot every Time I start up my os

every time I want to open the wifi hotspot to my mobile device I go to settings -> wifi -> Turn on Wifi hotspot, but this start to be boring for me especially when I'm doing this a lot, what I want to accomplish is to write a bash script to automate this process every time I boot up my Ubuntu.

1 Answer

If you're using a modern version of Ubuntu, then you can do this with "Startup Applications":

  1. Open "Startup Applications":Startup Applications
  2. Add a new record like this:nmcli To the RescueNote: Be sure to replace <Your SSID> with the SSID (name) that you gave to your hotspot.
  3. Press [Add] (or [Save]) and close the application

That's all there is to it. Now, every time you log into Ubuntu, the hotspot will be started.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like