trying to connect to different operators using --3gpp-register-in-operator

Marcel mahik18 at gmx.de
Fri Dec 8 17:29:17 UTC 2017


Do you think it could help if I provide you another log of an execution 
of my script with specific parameters? Or should I go through my logs 
searching for specific parts? I'm not really sure what I should look for.

Is there anything I could do to stabilize the network switching? Maybe 
do some stuff between the connects? Or quickly restart the mm? Would it 
help to quickly stop the mm and then start again? Or is it even the 
modem which is busy, so the mm doesn't have to do anything with the error?



Am 06.12.2017 um 23:03 schrieb Marcel:
> Hey,
>
>> In your logs I see a connection attempt with an explicit operator id
>> (26203) at 1511990328.384995. The logic goes through the manual
>> registration process, trying to get registered in that specific
>> network. At 1511990345.704504 I see another connection attempt to the
>> same operator, that is approx 17s after the previous attempt.
>> Are you waiting some specific time between connection attempts?
> Yes, I'm using the simple-connect function with a 15 sec timeout.
> The first operator 26201 connects without any problems at all, then 
> when disconnecting and connecting to 26202, the first, maybe also the 
> second try to simple-connect fails. But then when I disconnect again 
> from 26202 and try to connect to 26203 again it just won't connect.
> It seems like the mm is still busy doing some other stuff in the 
> background.
> At the end of my script, I disconnect again and disable the modem. 
> Disconnecting works fine, but the modem doesn't disable, but seems to 
> hang on state 'disabling'. Around 1 minute after my script finished 
> the mm seems to be done with its background stuff and disables the modem.
>> Those two attempts seem too close to each other. You should leave 
>> much more
>> time for the connection attempt to go on, because re-registration in a
>> different operator, especially when doing it manually, may take some
>> time. The logs show that the registration in the operator didn't
>> happen in those 17s, and it looks like the actual COPS command used to
>> request manual registration didn't reply in that time either. Are you
>> able to manually reproduce these issues running the AT commands in
>> minicom?
> Well I just tried a script setup with 8 tries to connect each with a 
> 50 seconds timeout, same result, operators 26201 and 26202 worked 
> perfectly, 26203 didn't succeed at any of the 8 connect attempts.
> I also tried a setup with a 15 seconds timeout and a 60 second sleep 
> between each operator with the same result.
> And right now I tried a setup where I also used the 
> 3gpp-register-in-operator function, but that didn't work either.
> Weell about the reproduction with AT commands: I'm don't really know 
> which commands I would have to use, I already thought about just doing 
> the whole script with AT commands, but then I recognized that it's a 
> lot more complicated than I thought and so I just used mmcli which 
> already is very simple and efficient.
> So about that, I'm sorry, but no, I unfortunately can't reproduce the 
> issues, sorry.
>
>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20171208/6a718cdc/attachment.html>


More information about the ModemManager-devel mailing list