Linux Lite Forums

Full Version: Run "nmcli nm wwan on" at startup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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