Problems getting mobile data in France with Dutch provider Simpel

Here an update:

In France are several networks:

  • Free (20815)
  • BYTEL (20820)
  • ??? (20816)
  • Orange (20801)
  • SFR (20810)

Doing this command:

mmcli -m any --3gpp-scan

usually timed out for me in France (in The Netherlands as well, by the way). The default timeout is 30 seconds.

However, you can set the timeout of the command, and I timed how long it usually took, with:

time mmcli -m any --3gpp-scan --timeout 6000

The command usually takes just a few seconds more than 30 seconds, so enough to timeout with the default timeout setting. But, IIRC, I noticed that one time it even took 2 minutes and 47 seconds.

So, I think that the default timeout should be increased. I would recommend to 3 minutes. The timeout also happens in GNOME Settings > Mobile Network > Network when you disable Automatic.

I’m not sure if in newer versions of mmcli or GNOME settings the default timeout is already increased. I use up to date Crimson on my Librem 5. I will try to figure out the defaults of the upstream mmcli and GNOME settings, and if they are also around 30 seconds create issues in their issue tracker.

The next problem that played a role with my issue of having no mobile data in France, is that the Librem 5 modem for some reason had a strong “preference” to connect to the BYTEL network. However even with the correct access point settings for Simpel (my provider) BYTEL does not work. Maybe this is an issue at Simpel’s side?

I noticed on the phone of someone else, who has also Simpel as provider that that phone was connected to the Free network, and mobile data worked there fine.

So, I tried to set the modem of the Librem 5 to connect to Free with this command:

time mmcli -m any --3gpp-register-in-operator=20815 --timeout 3600

but I always got a timeout after 30 seconds, regardless of the --timeout value.

But in the end I noticed that after resetting the modem with:

mmcli -m any --reset

and then immediately doing:

mmcli -m any --3gpp-register-in-operator=20815

This results in

error: modem not enabled yet

but I kept trying quickly until the modem was available again and the command worked, and then the modem was connected to Free.

How long the modem stayed connected to Free varied, sometimes around 30 seconds, sometimes for hours. But when on the Free network, mobile data worked.

So, the first thing that I think that should be improved is to increase the default timeout when scanning for networks in GNOME Settings. This will at least allow a regular user to show the networks in GNOME Settings and hopefully set a specific network.

Edit: see also: https://gitlab.gnome.org/GNOME/gnome-control-center/-/work_items/2129

Nice work. Thanks for the info.

Maybe you could set a small script to run periodically while you’re in France. (Unless and until the timeout interval gets officially increased.)

I’m back in the Netherlands now. I considered doing this, but I was on a short holiday :slight_smile:

Another update. I just found this document (in Dutch):

It states the networks that can be used in France with Simpel. Interestingly, the Free network is not mentioned, but it worked for me.

Document created in July 2023. It could be that it is just out-of-date i.e. noone updated it in the ensuing 3 years. You might need to contact Simpel and ask them.