Re: ModemManager and Thuraya XT

On Wed, Jun 17, 2015 at 9:22 AM, Thomas Sailer
<sailer sailer dynip lugs ch> wrote:
On 06/17/2015 04:58 PM, Dan Williams wrote:

That would seem to indicate that we need a ModemManager plugin for the XT
to selectively ignore COPS. Given that the modem probably only has one
operator and probably always searches automatically for it (unlike some
modems which the COPS=0 is designed to handle) it should probably be

I agree, COPS=0 should just be ignored / not sent. The Thuraya XT always
searches for its network, and there's only one provider.

I'll bet it doesn't list anything, or it may not list any result for
"IPV4" contexts.

Actually no, it does look relatively sane, it just likes to add lots of
spaces in its response...

ModemManager[13689]: <debug> [1434497907.217754] [mm-port-serial.c:1294]
_close_internal(): (ttyACM0) device open count is 2 (close)
ModemManager[13689]: <debug> [1434497907.217776] [mm-port-serial-at.c:440]
debug_log(): (ttyACM0): --> 'AT+CGDCONT=?<CR>'
ModemManager[13689]: <debug> [1434497907.252516] [mm-port-serial-at.c:440]
debug_log(): (ttyACM0): <-- '<CR><LF>+CGDCONT: ( 1 ) , "IP" ,,,
ModemManager[13689]: <debug> [1434497907.253963] [mm-port-serial-at.c:440]
debug_log(): (ttyACM0): <-- '<CR><LF>+CGDCONT: , "PPP" ,,,
ModemManager[13689]: <debug> [1434497907.254980] [mm-port-serial-at.c:440]
debug_log(): (ttyACM0): <-- '<CR><LF>OK<CR><LF>'

I added a few \\s* at the right places in the CGDCONT regexes. It works now!
Ping latencies around 3 to 5 seconds :)

How long did it take to establish the PPP session? When I wrote the
Iridium plugin for Iridium satellite modems one of the things I had to
do is request NetworkManager to setup a longer 'ip-timeout' as the
default of 20s was really not enough, I updated it in the "iridium"
plugin to be 200s:

Also, due to the COPS=0 thingy, we'll likely need to setup a full new
"thuraya" plugin. Thomas, would you be up to do that?

BTW; please post these patches in the ModemManager specific mailing list:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]