So confirmed that adding a case for NM_DEVICE_STATE_REASON_MODEM_NO_CARRIER in device_state_changed ( nm- device-modem.c ), causes the connection to be blocked from auto- connecting.
I still see the initial retries decrement log message in device_state_changed ( nm-policy.c ), I mentioned this is due to the transition of the device from 'Activated' to 'Failed', it's not a new activation attempt. When this is logged( w/retries=4 ), I don't see any subsequent attempts to retry, ever. nm-policy controls the clearing of the connection's 'autoconnect_blocked_reason' ( which is what gets used in this scenario to block autoconnect ), and at the moment, nothing done by the NM ofono code is triggering the right state changes to clear the reason when 'Attached' becomes TRUE again. Nor is there a timer set, as is done when an autoconnect sequence exceeds it's retry count ( ie. the ~5m timer mentioned above ). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1418077 Title: After radio technology is changed, mobile-data takes ~5m to re-connect Status in the base for Ubuntu mobile products: In Progress Status in network-manager package in Ubuntu: In Progress Bug description: Steps to reproduce: 1. Confirm cellular data (disable wifi) 2. Change TechnologyPreference on online SIM 3. Confirm no cellular data 4. Wait ~10 minutes 5. Confirm cellular data What happens: Changing something on the modem causes cellular data to disappear for 10 minutes What should happen: It should behave as before, i.e. cellular data should come back immediately current build number: 97 device name: krillin channel: ubuntu-touch/devel-proposed alias: ubuntu-touch/vivid-proposed last update: 2015-02-02 12:48:25 version version: 97 version ubuntu: 20150202 version device: 20150128-5379bdb version custom: 20150202 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1418077/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

