Bug: Mobile network disappearing
Greetings,
On my Jolla, the Mobile Data network only works at first boot.
After investigations, I can confirm that it only work at the first launch of connman services: breaking the Mobile Data can be done by launching systemctl restart connman.service
.
I used the connman-test
package to provide further data.
When the Mobile Data network worked, the command /usr/lib/connman/test/test-connman services
lists a single service, which identifier starts with "cellular".
When it stops working, the command doesn't list any service anymore.
Everything else seems fine as far as I know. The rmnet device still exist (ip link show
), and the interface can be set up properly.
In the System Settings, this results with the Mobile data shortcut being greyed out. The interface works as usual, and it's even possible to detect available networks. But the connection cannot ever be enabled. And the connection picker (Mobile data/WLAN) also lost the Mobile data tab: only WLAN appears.
It is possible to set up the rmnet interface using ifconfig, but udhcpc -i rmnet0
doesn't seem to find anything: it just 'sends discovery' endlessly.
Any clue what I should do ? I've reset to factory tens of times already, but haven't been able to get more data than that.
EDIT:
Note that when listing supported technologies with connman-test, the cellular technology do not disappear, even after a restart of the connman service.
Listing supported technologies is done using: dbus-send --system --dest=net.connman --print-reply / net.connman.Manager.GetTechnologies
I also found that the config file /etc/connman/main.conf blacklists any interface which name's start with rmnet. Though removing 'rmnet' from the blacklist doesn't fix the issue. I don't know if it's link in any way with the issue at hand.
fyi, there is another issue that looks very similar: https://together.jolla.com/question/8587/mobile-data-is-disabled-when-out-of-range-of-wifi-network/ It could be that it is the same, the only thing is that it is mostly observed when moving out of wifi range and need for mobile network arises.
Hess ( 2014-01-26 15:13:36 +0200 )editI do see the same thing as them in the Settings. But I don't use Wifi at all (haven't been able to connect to my home wifi), and once the Mobile Data disappears, it never reappears again. No amount of reboot fixes it, I have to reset the device. It's not very handy.
plaristote ( 2014-01-26 15:40:07 +0200 )editall right, if even reboot does not help to bring the mobile data back, then this is different (and worse)
Hess ( 2014-01-26 16:48:44 +0200 )editYou said you cannot update your system and you're stuck on 1.0.0.5. I still strongly suggest you to update your Jolla, by sharing internet from your PC via USB cable. See the beginning of the article: https://wiki.merproject.org/wiki/Nemo/USBNetworking Ask any questions as you go (You will need a Linux host PC for sake of simplicity)
sledges ( 2014-01-29 13:21:39 +0200 )editThat would be helpful indeed. If I manage to set it up on my own (the documentation doesn't cover my distribution, I use Archlinux). EDIT: I'll have to give up. I have no clue what they are doing, thus I have no clue what I am even looking for.
plaristote ( 2014-01-29 18:18:53 +0200 )editI use Arch Linux as well, however I set my NetworkManager (via GUI settings) to assign a static IP to Ethernet devices. Funnily, it does the same to USB network devices (those interfaces begin with enp0s... like enp0s29f7u1 - 'u' for USB), so all I do is manually re-adjust ifconfig enp0s29f7u1 192.168.2.2; and perform ssh nemo@192.168.2.1 ) If however your Eth is on DHCP, also all your manually set usb connections will lose their IP every so often :/ MAC filtering possible, but I haven't tried
sledges ( 2014-01-29 18:29:11 +0200 )editThanks, it's working now ! Though the check for update doesn't seem to work now... I've been able to do it once, but since then it always hangs forever. There must be a way to do this from the command line, but I haven't found any...
plaristote ( 2014-01-29 20:22:36 +0200 )editWould this help: http://www.jollausers.com/2013/12/27-dec-2012-sailfish-os-update-read-if-you-have-trouble-updating/ ?
sledges ( 2014-01-29 20:35:49 +0200 )editIt does, I can restart the update, but it still doesn't update anything. I went for a factory reset, like some people suggest in the comments. It might be a day or two before I can enable developer mode.
plaristote ( 2014-01-29 20:42:38 +0200 )edit