Sim card re-reading via commandline?
-
Had issues in France using roaming and beeing cut off the phone/data net (no sim card detected...) many times during the day. Is it possible to re-read the sim card with a command in the terminal? Or is the only solution restarting the phone?
pixel 3a xl, 20.04 dev -
Any suggestions?
-
Can you do emergency call (is it available)?
Did you tried to insert it in another phone (could be an hardware problem) or a misplaced card or a connector problem?
Is your card compatible with french network (2G voLTE switch)?
Reinsert the card should detect it. -
@Vlad-Nirky The card works well again since I am back from France = no cut offs any more.
Sim card itself and contacts inside phone were o.k.
Card worked in France flawlessly. But it was completely cut off up to 5 times a day with the phone lying on the desk without touching it and I had to restart the phone to get it working again...
So I thought on the possibility (?) to re-read the sim card from command line without restarting the phone... -
@uwahl You could try restarting the ofono service with
$ sudo systemctl restart ofono
-
@uwahl said in Sim card re-reading via commandline?:
Or is the only solution restarting the phone?
You can also try to put plane mode on then off.
-
@Keneda Putting plane mode on then off does not work/ doesn't change the "no sim card detected"...
-
@uwahl
Did you try what @arubislander told you ? -
@Keneda ...not yet. I will try later and tell you. Please let me a few hours..., thanks...
-
@Keneda @arubislander
I tried to reproduce the behaviour in France:
Getting the state " no simcard present", I removed the simcard while ubuntu touch running. But when reinserting the simcard, it was automatically re-read flawlessly...so there was no chance for me to test under the conditions I had in France - that was a running ubuntu touch with a simcard correctly in place and the phone showing "no sim card present"...
Of course, the command given by arubislander worked, the simcard was re-read; but the conditions were different from France, where the sim was not re-read/ couldn't be reactivated, although being in place untouched.
Here in Germany there is no more problem. The phone has still its secretsas it seems...
-
@uwahl
I would say that each mobile service provider has its own infrastructure, its own configurations, and its own problems.
From Belgium to France, with Orange, I haven't had any issues. -
@Vlad-Nirky I will mark the thread as solved although I couldn't reproduce the orginal faulty conditions of France (Orange/ 1&1).- Maybe next time...
Thank you for your answers! -