UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Bug: data mobile interface looses ip

    Scheduled Pinned Locked Moved OS
    5 Posts 2 Posters 28 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • pparentP Online
        pparent
        last edited by pparent

        I've mentioned in Smooth Edges a bug that drives me mad concerning the fact that I regularly loose mobile data on my Vollaphone 22 on 24.04-1.1 ( with "free mobile"), and I have to switch to 2G then go back to LTE to have it working again.

        I have investigated and now I know more. It seems to be an IP adress problem. When the bug appears I see "L" (for LTE) in the status bar but I have:

        ccmni1: flags=193<UP,RUNNING,NOARP>  mtu 1280
                inet6 fe80::58e:ee25  prefixlen 64  scopeid 0x20<link>
                unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
                RX packets 123325  bytes 160619148 (160.6 MB)
                RX errors 0  dropped 0  overruns 0  frame 0
                TX packets 47763  bytes 4939925 (4.9 MB)
                TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        

        And ip route is null.

        After swtiching to 2G and then 4G I get

        ccmni0: flags=193<UP,RUNNING,NOARP>  mtu 1500
                inet 10.15.62.187  netmask 255.0.0.0
                unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
                RX packets 834  bytes 79443 (79.4 KB)
                RX errors 0  dropped 0  overruns 0  frame 0
                TX packets 22  bytes 5869 (5.8 KB)
                TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        
        phablet@ubuntu-phablet:~$ ip route
        default via 10.15.62.187 dev ccmni0 proto static metric 700 
        10.0.0.0/8 dev ccmni0 proto kernel scope link src 10.15.62.187 
        10.15.62.187 dev ccmni0 proto static scope link metric 700
        

        Next time I see the problem I will see if running a simple dhclient solves it (I think it will). If so I might write a simple script to detect when I loose the IP while the LTE network is connected, and trigger automatically a dhclient as a temporary fix for my own use. Even if including a fix to the system would be ideal.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          domubpkm @pparent
          last edited by

          @pparent Sometimes (not always) I don't have internet after stopping - starting or restarting my Volla 22 even if the icon shown is L. I also occasionally lose internet even with L in the indicators. The simplest solution is to turn off the cellular data and turn it back on and the internet comes back. Bouygues for me. This since i have Noble.

          pparentP 1 Reply Last reply Reply Quote 0
          • pparentP Online
            pparent @domubpkm
            last edited by

            @domubpkm said in Bug: data mobile interface looses ip:

            The simplest solution is to turn off the cellular data and turn it back

            Yes I know but this is a workaround not a real solution, it's not convenient at all, especially if you expect to receive notifications Internet needs to run always in background without manual action. Especially in the context of VoLTE I wonder what impact it has on incoming calls.

            D 1 Reply Last reply Reply Quote 0
            • pparentP pparent referenced this topic
            • D Offline
              domubpkm @pparent
              last edited by domubpkm

              @pparent said in Bug: data mobile interface looses ip:

              this is a workaround not a real solution

              totally agree

              I don't know if this currently has an impact on telephone communications since I can call and receive calls with disconnected cellular data. And for 4G calls, Volte is not working for me currently.

              1 Reply Last reply Reply Quote 0
              • pparentP Online
                pparent
                last edited by

                By the way I've just noticed something else strange in the logs:
                sometimes I have 2 interfaces called "ccmni1" and "ccmni2". But sometimes I have "ccmni0" and "ccmni2" . I'm not sure if it is related to this bug or not, as both possibilities seem to be able to work if the interface has proper IP.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post