(fixed) LTE connectivity lost very often

Update, my 34 year old computer now has a static IP and can be reached at empire.game-host.org, the old web page is back also.

3 Likes

That’s good news.

1 Like

You have the Broadmobi modem right?

1 Like

Yes, the BM818-E1, indeed. I never had time to measure the power consumption impact of this always on policy…

2 Likes

So rules should be the same for the US version of the card I assume

1 Like

It should be… Run lsusb to make sure that productID and vendorID are the same.

2 Likes

Understood

1 Like

How can I make it work under Mobian? I think that I have the same problem.

2 Likes

I never tried mobian, but it should be the same. udev is common between lots of linux.
Try sudo udevadm control --reload to force rules reload, flip the modem button off then on, wait a few seconds, and check with cat /sys/bus/usb/devices/1-1.2/power/control. It should now return “on”.

3 Likes

Thank you. I moved the file into /usr/lib/udev/rules.d, cat /sys/bus/usb/devices/1-1.2/power/control returns on.

P.S: It doesn’t solve my connectivity problem. cat /sys/bus/usb/devices/1-1.2/power/control still returns on, “4G” is displayed but I can’t use Internet, I can’t send SMS.

1 Like

What’s your provider? Are your APN settings set properly?

1 Like

My provider is Orange France and yes, my APN settings are correct as I can use Internet, send SMS and MMS for a few minutes after a reboot. I’m going to try other suggestions mentioned in this thread.

P.S: The workaround suggested by the original poster sudo mmcli -m any --reset works in my case… just for a few seconds :roll_eyes:

1 Like

Is that a direct provider or MVNO? Aalso, good luck with your hunt for a ssettings coombinaation that wootkks fooor you.

1 Like

It’s a direct provider. I’m surprised because the switching the power control from auto to on worked was enough to make things work on my Pinephones but not on the Librem 5.

2 Likes

I never tried Orange.

  • Bouygues: clunky for one main reason: No IPv4, need clatd.
  • SFR (or red) : OK. With this fix on librem5, it is still not perfect, but it works a few days without problems.

So, you may have another problem… Try SFR or red, to be sure, if you can borrow someone else SIM :slight_smile:

2 Likes

If Mobile Data drops while I am on a call, will adding this rule cause the phone call to drop out?

I am going to give this a try tonight. Mobile Data dropping is my last big pain point with the L5.

1 Like

I still have a Lycamobile SIM card somewhere. When I put my brand new Orange nano SIM card into a plastic frame to use it as a micro SIM card into my Pinephone, I can keep LTE connectivity for hours whereas I still lose connectivity after about 5 minutes on the Librem 5 :frowning: I wanted to be sure that the problem doesn’t come from my brand new SIM card.

2 Likes

After 2+ days, I haven’t experienced my connection dropping even once. Usually it could happen multiple times per day.

THANK YOU :slight_smile:

3 Likes

Is that exactly what I have to type into terminal edit/…and all the rest there? The the add stuff bit?

Could you possibly explain a little why that has to be typed? If at all possible it would be helpful if you copied exactly what needs to be done and in what order.

I think you meant edit and everything should be in that greyed out quote.

Thanks in advance

1 Like

The easiest way is one line in the terminal, then reboot. Here is the line to copy paste:

echo 'ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/control", ATTR{power/control}="on"' | sudo tee /etc/udev/rules.d/99-usb-modem-always-on.rules

(the terminal will ask for your password, that’s normal. The password is your PIN code, not the disk encryption password). After the reboot, you can check that the usb is forced to “on” with this command:

cat /sys/bus/usb/devices/1-1.2/power/control

If this does not solve any problem for you after a few days of test, you can rollback with this command:

sudo rm /etc/udev/rules.d/99-usb-modem-always-on.rules
5 Likes