← Back to team overview

ubuntu-phone team mailing list archive

Re: Ubuntu Touch Summary (week 26)

 

Ok... glad you guys mentioned it... Would have been a big surprise on my trip 
to Spain tomorrow if the device establishes a data connection without me even 
knowing.

Any hint how to disable the autoconnect feature and revert back to manual 
conections?

Thanks

On Wednesday 10 July 2013 09:09:19 Mathieu Trudel-Lapierre wrote:
> On Tue, Jul 9, 2013 at 10:22 PM, Jono Bacon <jono@xxxxxxxxxx> wrote:
> > On Tue, Jul 9, 2013 at 8:58 AM, Michael Zanetti <
> > 
> > michael.zanetti@xxxxxxxxxxxxx> wrote:
> >> Hi Sergio,
> >> 
> >> On Tuesday 09 July 2013 12:51:37 Sergio Schvezov wrote:
> >> > - Network Manager now automatically enables the data connection.
> >> 
> >> Uh... That sounds scary. At least for people without a data flatrate.
> >> Afaik
> >> there is no 3G indicator yet. How do I know if current traffic is routed
> >> through
> >> WiFi or 3G data?
> 
> When you're connected to Wifi, you're using Wifi. The routing priority is
> made so that wifi is always preferred since it's "free".
> 
> Otherwise you may be connected to 3G and in that case, you'll use 3G.
> 
> > Agreed, might be best not to switch on by default until at least there is
> > a switch.
> > 
> > Can anyone provide an update on when the switch is likely to land?
> 
> There is a code branch with updates to the indicator to enable/disable wifi
> and mobile data. I expect it would be landing soon.
> 
> 
> However, you can already control the behavior of NetworkManager via nmcli,
> for instance:
> 
> nmcli dev disconnect iface /ril_0      # disconnect the modem interface
> (get offline)
> 
> nmcli con up id <connection>          # connect to the data network (you
> need to provide the name of the connection[1]
> 
> 
> [1] The name of the connection to bring up is a /, followed by a set of
> numbers (your IMEI), followed by a / and "contextX" which is a value
> specific to connections available from your provider. The list can be seen
> via the command:
> 
> nmcli con
> 
> 
> Regards,
> 
> Mathieu Trudel-Lapierre <mathieu-tl@xxxxxxxxxx>
> Freenode: cyphermox, Jabber: mathieu.tl@xxxxxxxxx
> 4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93



Follow ups

References