Re: ModemManager and Thuraya XT



On Wed, 2015-06-17 at 02:47 +0200, Thomas Sailer wrote:
I had another go at getting the Thuraya XT Satphone to work with 
Modem/NetworkManager.

Firstly, I had to add another CREG regex (see the attached diff against 
1.4.6) due to the modem's response:
+CREG: 2, "0426", "F0,0F"

Oh yeah, I've still got that patch around including the testcases.  I'll
clean that up at some point here and post to the ModemManager list.

Secondly, the XT doesn't particularly like AT+COPS=0. If one sends that, 
it drops the already acquired satellite signal and then tries to 
reacquire the signal, which doesn't seem to finish within the timeout 
period.

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 ignored.

Now I seem to be able to connect using:
mmcli -m 0 --simple-connect apn="get"

I cannot however get an IP interface set up. Can anyone give me a hint 
about what's wrong here?

Without seeing the ModemManager debug logs I can't say for sure, but it
looks like the modem isn't returning the standard response to AT
+CGDCONT=?.  What does it return for that?  I'll bet it doesn't list
anything, or it may not list any result for "IPV4" contexts.  That would
be something I guess we should handle in the MM core, but we'd need to
see the MM debug output for the AT+CGDCONT=? query first.

Dan

Thanks,
Thomas


Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): modem state changed, 'searching' --> 'connecting' (reason: 
user-requested)
Jun 17 01:38:52 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): modem state changed, 'connecting' --> 'connected' (reason: 
user-requested)
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): Activation: starting connection 'Thuraya2'
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): Activation: Stage 1 of 5 (Device Prepare) scheduled...
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): Activation: Stage 1 of 5 (Device Prepare) started...
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): device state change: disconnected -> prepare (reason 'none') 
[30 40 0]
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <warn>  
(ttyACM0): Failed to connect 'Thuraya2': Connection requested IPv4 but 
IPv4 is unsuported by the modem.
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): device state change: prepare -> failed (reason 
'modem-init-failed') [40 120 28]
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <warn>  
(ttyACM0): Activation: failed for connection 'Thuraya2'
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): Activation: Stage 1 of 5 (Device Prepare) complete.
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): device state change: failed -> disconnected (reason 'none') 
[120 30 0]
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): deactivating device (reason 'none') [0]
Jun 17 01:40:00 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): modem state changed, 'connected' --> 'disconnecting' (reason: 
user-requested)
Jun 17 01:40:02 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): modem state changed, 'disconnecting' --> 'searching' (reason: 
user-requested)
Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): device state change: disconnected -> unmanaged (reason 
'removed') [30 10 36]
Jun 17 01:40:38 localhost.localdomain NetworkManager[8923]: <info>  
(ttyACM0): deactivating device (reason 'removed') [36]

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list




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