A clumsy workaround for autoconnecting (and auto-reconnecting):

As root or with sudo, create a text file /ect/cron.d/keep-it-up with the
following contents: (as one line!)

*/2 * * * * root nmcli dev|grep -q '\bconnected *'|| nmcli con up id
my_connection_id > /dev/null 2>&1

Every other minute, it checks whether you have a connected network
connection. If not, it brings one up. Replace my_connection_id with the
name of your mobile (or bluetooth) connection. Get a list of id's with
the command:

grep ^id= /etc/NetworkManager/system-connections/*

If the name of the connection contains eg. spaces, try using quotes or
renaming the connection.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/875075

Title:
  NetworkManager does not auto connect mobile broadband network

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cnetworkmanager/+bug/875075/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to