No mobile data connection for mako on wily
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ofono (Ubuntu) |
High
|
Simon Fels | ||
Bug Description
Mako does not connect to the mobile network anymore starting with wily(-proposed) image r229.
You can find some information in the following discussion on the Ubuntu Phone mailing list: https:/
list-modem and list-contexts results can be found here: https:/
And here: https:/
| Steven Austen (ausbuscon) wrote : | #2 |
Deb doesn't connect to mobile network anymore using vivd
| Steven Austen (ausbuscon) wrote : | #3 |
I am using a Nexus 7 2013 (LTE)/Mobile. It worked fine on 14.10 and yes I am using the same APN settings.
| Steven Austen (ausbuscon) wrote : | #4 |
sudo ubuntu-device-flash --server="http://
| Niklas Wenzel (nikwen) wrote : | #5 |
That's because the ubuntu-rtm builds are very outdated.
Something bad is happening in latest mako wily image. After updating from a working image, ofono and network-manager packages are the same version, but if I do ifconfig I see interfaces that were certainly not up previously:
enx928c129913fb Link encap:Ethernet HWaddr 92:8c:12:99:13:fb
inet6 addr: fe80::908c:
UP BROADCAST RUNNING MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:2154 (2.1 KB)
enxd221b0f110e3 Link encap:Ethernet HWaddr d2:21:b0:f1:10:e3
inet6 addr: fe80::d021:
UP BROADCAST RUNNING MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:2154 (2.1 KB)
enxfebb828f5529 Link encap:Ethernet HWaddr fe:bb:82:8f:55:29
inet6 addr: fe80::fcbb:
UP BROADCAST RUNNING MULTICAST MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:2496 (2.4 KB)
$ system-image-cli -i
current build number: 235
device name: mako
channel: ubuntu-
last update: 2015-06-24 06:00:55
version version: 235
version ubuntu: 20150624
version device: 20150529.1
version custom: 20150624
| Niklas Wenzel (nikwen) wrote : | #7 |
I also saw that I was unable to make any calls with the phone, even though the indicator showed four bars. The phone application displayed the "no network" label.
| Dennis O'Flaherty (doflah) wrote : | #8 |
I'm seeing the same behavior. Also when I try to send a text message, I get "No SIM card selected. You need to select a SIM card."
| Dennis O'Flaherty (doflah) wrote : | #9 |
If I enable wifi, my phone app now says "T-Mobile" instead of "No network" and I am able to send text messages
| Aaron Honeycutt (aaronhoneycutt) wrote : | #10 |
I'm on r232 and just tried to get working Data with no avail.
| Tony Espy (awe) wrote : | #11 |
Here are my observations running image #237 ( devel-proposed/
First, as Alfonso pointed out in comment #6, there are some new devices that appear when running wily vs. vivid.
Here's a diff of the output of 'ip addr' on rc vs. devel-proposed:
espy@shrike:% diff mako-vivid-
24,27c24,28
< 24: rmnet_usb0: <> mtu 2000 qdisc noop state DOWN group default qlen 1000
< 25: rmnet_usb1: <> mtu 2000 qdisc noop state DOWN group default qlen 1000
< 26: rmnet_usb2: <> mtu 2000 qdisc noop state DOWN group default qlen 1000
< 27: rmnet_usb3: <> mtu 2000 qdisc noop state DOWN group default qlen 1000
---
> 24: enx0af53fef2539: <BROADCAST,
> 25: enxda4f6c1d2a6d: <BROADCAST,
> 26: enxea43c82d167a: <BROADCAST,
> 27: enx66b76e767656: <BROADCAST,
Turns out this is due to the recent landing in wily of "stateless persistant network interface names", by Martin Pitt. See:
https:/
As these devices are owned by rild, we need to investigate how to exclude these devices from being re-named. Also our current version of NetworkManager uses hard-coded paths in NMManager to ignore these devices, we need to prevent the re-name for the time-being. Note, we also need to come up with a more generic mechanism to keep network-manager from touching rild-owned devices.
| Tony Espy (awe) wrote : | #12 |
Next clue... I disabled network-manager via a manual upstart override file, and rebooted. When I try to activate a GPRS context directly via the ofono script ( /usr/share/
Error activating /ril_0/context1: org.ofono.
At the same time, I see the following syslog error messages from ofono:
Jun 26 15:46:39 ofonod[1518]: ril_setup_
Jun 26 15:46:39 ofonod[1518]: ril_gprs_
Jun 26 15:46:39 ofonod[1518]: ril_deactivate_
Here's the corresponding ril trace:
ofonod[12095]: [0,0143]> RIL_REQUEST_
ofonod[12095]: [0,0143]< RIL_REQUEST_
So the DATA_CALL is clearly failing.
And yet another clue from the logcat radio log whenever I try to activate a context:
E/RILQ ( 1160): (0/20): [main] qcril_data_
E/RILQ ( 1160): (0/20): [main] qcril_data_
E/RILQ ( 1160): (0/20): [main] qcril_data_
E/RILQ ( 1160): (0/20): [main] qcril_data_
E/RILQ ( 1160): (0/20): [main] qcril_data_
E/RILQ ( 1160): (0/20): [main] qcril_data_
This might be related to the following kernel error in the syslog:
Jun 26 15:42:46 ubuntu-phablet kernel: [ 13.529528] mipi_dsi_
My bet is that the data failure is related to the "unable to get dsi hndl" error, not the devices being re-named. The next thing we should try and reverting the device-rename to see allows data calls to be made.
| Tony Espy (awe) wrote : | #13 |
Finally in reference to voice and SMS, these are working at the low-level. The modem registers properly, and I'm able to dial out via the dial-number script and send an SMS via the send-sms script.
The dialer-app shows "No Network", so my guess is that there's a telephony-service problem that needs to be resolved. If someone could file a separate bug for against 'telephony-service' stating the neither the dialer-app nor messaging-app can see the network, that would be appreciated.
| Tony Espy (awe) wrote : | #14 |
Finally, one last comment... I'm not sure what the state of systemd is on our wily-based images. I did notice that changes to the ofono.override file weren't being picked up, yet a network-manager manual override file did seem to work...
| Changed in ofono (Ubuntu): | |
| importance: | Undecided → High |
| importance: | High → Medium |
| importance: | Medium → High |
| Tony Espy (awe) wrote : | #15 |
While testing on mako/rc, I can confirm that the rmnet_usbX devices are those configured for data calls over the cellular connection, and that these are the devices being re-named. As mentioned above, we should try reverting the new USB re-naming scheme first...
| Aaron Honeycutt (aaronhoneycutt) wrote : | #16 |
Image r234 has no working Data, and the phone application says "No Network" but the signal bars show full bars. If anyone needs me to run some scripts let me know.
| Tony Espy (awe) wrote : | #17 |
@Arron
Thanks, but I think we have a handle on what's broken...
| Tiago Salem Herrmann (tiagosh) wrote : | #18 |
The "No network"/no calls issue on dialer-app can be resolved by manually installing telepathy-
It should be automatically pulled by the metapackage, but the MR adding it to the metapackage didn't land yet on wily:
https:/
I will ask Timo to take care of it.
Thanks.
| Martin Pitt (pitti) wrote : | #19 |
This was discussed a while ago, see https:/
If there is a reason to exclude rmnet_* from that schema, i. e. we have a place which hardcodes the device names instead of selecting them by properties, you can add a file /lib/systemd/
---------- 8< -----------
[Match]
OriginalName=
[Link]
NamePolicy=kernel
MACAddressPolic
---------- 8< -----------
I'll change /lib/systemd/
| Tony Espy (awe) wrote : | #20 |
@Martin
I was aware of the change, but hadn't considered the possible effects on rild at the time.
If possible, I'd rather disable the re-naming whole-sale for touch images. Adding devices to a black-list won't scale... and would require us to add configuration files to the device tarballs that get copied to the Ubuntu filesystem. If this is the only option available to us, then c'est la vie, but its a less than ideal...
| Martin Pitt (pitti) wrote : | #21 |
Right, that was my concern -- the ofono package could ship that /lib/systemd/
If you want to disable it wholesale, then either boot with "net.ifnames=0" on the kernel command line, or create an empty /etc/udev/
| zubozrout (zubozrout) wrote : | #22 |
Hmm, glad to find this thread. I've got probably the same issuhe here with Nexus 7: https:/
I'm also affected by this bug. Is there any temporary workaround? The phone is hardly usable if it's not possible to make calls or send sms. Or is a fix going to be released in the near future? Thank you!
| Simon Fels (morphis) wrote : | #24 |
@simon: You could follow what pitti proposed above:
1. Remount roofs rw
$ sudo mount -o remount,rw /
2. Create an /etc/udev/
$ sudo touch /etc/udev/
3. Reboot
$ sudo reboot
That will give you mobile connectivity back until a fix is out.
| Changed in ofono (Ubuntu): | |
| assignee: | nobody → Simon Busch (morphis) |
| status: | Confirmed → In Progress |
| Tony Espy (awe) wrote : | #25 |
This fix was implemented per comment #19 by adding the file:
/etc/systemd/
to our images via the lxc-android-config package ( version 0.228 ) on wily.
See attached file for the details.
Changing Status to FixReleased as this has landed in wily.
| Changed in ofono (Ubuntu): | |
| status: | In Progress → Fix Released |
| K1773R (k1773r) wrote : | #26 |
#25 nor #19 does fix the issue that you cant receive/send calls/messages.
If cellular data/wifi isnt connected, its sill an issue!
So we have a weird dependcy that we either need wifi/cellular?!
You cant force people who use prepaid systems to cost them alot of money. If they dont enable cellular data they cant use the basic functions of the phone!
Im on OTA5 @ mako with the patch applied manually.
| K1773R (k1773r) wrote : | #27 |
Wrong bug, creating a new one...


Status changed to 'Confirmed' because the bug affects multiple users.