← Back to team overview

ubuntu-phone team mailing list archive

Re: Switching from WiFi to 3G causes network loss

 

El día Thursday, May 12, 2016 a las 09:38:47AM +0200, Fabio Colella escribió:

> Hello,
> I'm experiencing a critical problem with BQ Aquaris E4.5.
> 
> When connected to a WiFi network it can connect to Internet (surf the web,
> send and receive telegram messages). If I turn the WiFi off the mobile
> switches to use the 3G network, but now it's not connected to Internet any
> more.
> 
> I found that rebooting with the WiFi off solves the issue temporarily, as
> when booted the device works correctly with my 3G network. If I turn the
> WiFi on and connect to a WiFi network, it continues to work, but turning it
> off (and so switching back to 3G network) causes the issue again. This is
> particularly annoying as it means that a reboot is required each time
> there's the need to use the 3G.
> 
> Has ever been reported a similar issue?

No.

> To which package could I file a bug report?
> What kind of logs can be useful for that?
> 
> I can also try to debug that by myself if someone shows me where to start
> from ;)
> 

I would start with SSH into the device and check the state of the
interfaces ccmni0, ccmni1 with ifconfig and the routing with netstat -rn
mine looks reight now as:

phablet@ubuntu-phablet-bq:~$ ifconfig  ccmni0
ccmni0    Link encap:Ethernet  HWaddr c6:39:1f:c8:da:dc  
          inet addr:10.79.89.121  Mask:255.255.255.0
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:125009 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:80658148 (80.6 MB)  TX bytes:9120874 (9.1 MB)

phablet@ubuntu-phablet-bq:~$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
0.0.0.0         10.79.89.121    0.0.0.0         UG        0 0          0 ccmni0
10.42.0.0       0.0.0.0         255.255.255.0   U         0 0          0 ap0

The ap0 exists because I switched on Hotspot; ccmni0 is the data mobile
interface.

	matthias

-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
8 мая 1945: Спасибо, Советского Союза!  --  May 8, 1945: Thank you, Soviet Union! 


Follow ups

References