Linux Lite Forums
Run "nmcli nm wwan on" at startup? - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: Run "nmcli nm wwan on" at startup? (/showthread.php?tid=1608)



Run "nmcli nm wwan on" at startup? - sebastian - 03-04-2015

I have tried to get the system to run "nmcli nm wwan on" at startup so the wwan modem in the computer does not start in airplane mode all the time, but it does not matter if I put the command in ~/.profile or /etc/rc.local . wwan is still disabled.

However running nmcli nm wwan on in a terminal activates wwan, so it seems like the system disables wwan at some later stage.

Any ideas?


Re: Run "nmcli nm wwan on" at startup? - Wirezfree - 03-04-2015

Hi,

May not be the same as my situation..??
But I had an issue binding my NAS Drives at start up.

I found if I put a: sleep 10  (10 secs)
Before the mount command in my rc.local
It now works every time.

Code:
# Sleep allows Network to establish before binding
sleep 10
mount -t cifs -o username=dave,password=xxxxx,uid=dave,gid=users //NAS1-SYN/linux /home/dave/ZShares/nas-linux

Maybe stick a sleep XX before your nmcli
??

Dave