I made a workaround based on rpr-nospam's(#12) post.

It's a bash script for detecting the modem and then connecting it.

#---------------------------------------
#!/bin/bash
wwanstatus=`nmcli nm wwan`
wwadevnstatus=`nmcli dev`

until [[ $wwadevnstatus == *ttyUSB2* ]]; do
        sleep 5
        wwadevnstatus=`nmcli dev`
done
sleep 5
until [[ $wwanstatus != *deaktiveret* ]]; do
        nmcli nm wwan on
        nmcli con up id "CBB Mobil Standard"
        sleep 2
        wwanstatus=`nmcli nm wwan`
done
#---------------------------------------

Note 1: "CBB Mobil Standard" is my connection's name.

Note 2: You can use the modem's device name as I did or just use "gsm".
Use "$ nmcli dev" to find out what the modem is called.
Then replace "ttyUSB2" with the correct name or just "gsm"

Note 3: Replace "deaktiveret" (Danish for disabled) with what your translation 
of "disabled".
Find it by entering: "$ nmcli nm wwan"

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

Title:
  "Enable mobile broadband" option gets unchecked

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to