Cellular allows data to be turned off but not back on

Bug #1220450 reported by Pat McGowan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In build from 0903 on mako, using the panel to turn off cellular data works and the action is clearly shown in the log an nmcli nm status. Selecting the option to re-enable data has no effect. It also also not possible to use the command line to turn wwan on. (nmcli nm wwan on)

description: updated
Revision history for this message
Tony Espy (awe) wrote :

I just tested this on mako with today's build and confirmed the behavior both via the new UI and the command-line ( using dbus-send to set NM's WwanEnabled property to 'true' ).

I also tried without network-manager and was able to disable/re-enable gprs using the ofono-scripts 'disable/enable-gprs'.

Changed in ubuntu-system-settings:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Tony, shouldn't that bug be reassigning to network-manager (or at least made to affect it as well) then? Do you recommend using another method in system-settings or just getting nm fixed and keep doing what the code currently does?

Revision history for this message
Sebastien Bacher (seb128) wrote :

(Tony, not sure you were getting updates, I subscribed you to the bug in case you didn't see the previous question)

Revision history for this message
Tony Espy (awe) wrote :

@Seb

Sorry, my bad for not reviewing my bug email more often. Re-assigned per your request.

affects: ubuntu-system-settings → network-manager
affects: network-manager → network-manager (Ubuntu)
Revision history for this message
Tony Espy (awe) wrote :

I'm pretty sure this is due to the fact that when this feature was implemented in the system settings, it was implemented as a 3-way choice for mobile data:

- Off
- 2G Only
- 2G/3G/4G (faster)

While this is nice, the technology selection ofono/rilmodem code hasn't been implemented, so I'm nos sure what the setting page does when the setting is changed back to 2G or 2G/3G/4G.

It would have been preferable if this was implemented first as a simple On/Off toggle ( which was previously implemented in the indicator and known to work ). The previous implementation just toggled NM's WwanEnabled property. Here's the dbus send commands to toggle it off, and then back on again:

Off:
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:"org.fr
eedesktop.NetworkManager" string:"WwanEnabled" variant:boolean:false

On:
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set string:"org.fr
eedesktop.NetworkManager" string:"WwanEnabled" variant:boolean:true

Note, I think this is really

Tony Espy (awe)
Changed in network-manager (Ubuntu):
assignee: nobody → Tony Espy (awe)
Tony Espy (awe)
Changed in network-manager (Ubuntu):
assignee: Tony Espy (awe) → nobody
Revision history for this message
Dave Morley (davmor2) wrote :

I'm pretty sure this is now working Pat Tony if you want to confirm and close the bug that would be good

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.