I'm on Ubuntu 18.04 and I'm able to setup a wifi hotspot in the UI (as described for example here) which works perfectly. I now want to change the SSID and the password of the hotspot. I tried doing this using the UI which you get when running
nm-connection-editor. Changing the password works, but somehow the SSID is reverted to the default name (
librem) after starting the hotspot again.
I confirmed this by looking at the file
/etc/NetworkManager/system-connections/Hotspot. I manually changed the
ssid in that file to
myawesomehotspot. I then rebooted the whole machine to make sure the default name isn't cached anywhere. And then I enabled the hotspot in the wifi settings screen again. Upon checking, the ssid in the file
/etc/NetworkManager/system-connections/Hotspot was changed/overwritten with the default name
librem again (the file datetime also showed that it was rewritten).
Why does opening the hotspot overwrite the ssid? Where does this name come from? And how can I permanently rename the hotspot? All tips are welcome!
The outputs as asked by @Marmayogi in the comments:
$ nmcli device DEVICE TYPE STATE CONNECTION wlp1s0 wifi connected Hotspot br-63805314ad4c bridge connected br-63805314ad4c docker0 bridge connected docker0 lo loopback unmanaged -- $ networkctl status WARNING: systemd-networkd is not running, output will be incomplete. ● State: n/a Address: 10.42.0.1 on wlp1s0 172.18.0.1 on br-63805314ad4c 172.17.0.1 on docker0 fe80::fa30:17ec:448:579a on wlp1s0 $ sudo lshw -short -class network H/W path Device Class Description ==================================================================== /0/100/1c/0 wlp1s0 network AR9462 Wireless Network Adapter /1 docker0 network Ethernet interface /2 br-63805314ad4c network Ethernet interface $ ls -l /etc/resolv.conf lrwxrwxrwx 1 root root 39 Mar 11 2018 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
nmcli device, 2.
networkctl status, 3.
sudo lshw -short -class network, and 4.
ls -l /etc/resolv.conf. Thanks.
Settings? Have you configured
/etc/netplan/yamlfile by any chance?
nm-connection-editorand in the Hotspot file. Would you be so kind to show me a screenshot of the cog icon you're talking about?