All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Smirnov <asmirnov@ilbers.de>
To: ofono@ofono.org
Subject: U-Blox modem reconnect
Date: Fri, 01 Jul 2016 13:22:07 +0300	[thread overview]
Message-ID: <5776444F.6070307@ilbers.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]

Dear all,

could you please help me with the following issue. I use U-Blox 
SARA-U270 modem. I'm able to online it and connect to GPRS using both: 
connman and ofono-tests. The problem occurs when modem loses GSM link.

What I did:

  - Boot board with ofono 1.18
  - activate-context & process-context-settings
  - ifconfig shows ppp0, everything works
  - Disconnect physical GSM antenna, network strength becomes 0 (in 
list-modems)
  - Connect antenna, network strength becomes 40

Problem:

  After these steps, modem doesn't reconnect to GPRS, while 
list-contexts shows correct settings:

[ /ublox_0 ]
     [ /ublox_0/context1 ]
         Username = t-mobile
         AuthenticationMethod = chap
         Protocol = ip
         Name = Internet
         Settings = { Interface=ppp0 Netmask=255.255.255.255 
Method=static DomainNameServers=10.74.210.210,10.74.210.211, 
Address=10.23.6.118 }
         IPv6.Settings = { }
         Active = 1
         AccessPointName = internet.t-mobile
         Password = tm
         Type = internet

But I don't see ppp0 interface.

An attempt to activate-context doesn't do anything, just empty output 
(with enabled debugging).

Attempt to deactivate-context failed with:

Error deactivating /ublox_0/context1: 
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible 
causes include: the remote application did not send a reply, the message 
bus security policy blocked


The only hard modem reset helps.

Moreover, after antenna disconnect, there is no more cellular service in 
ConnMan. Only daemon restart helps.


How should I handle lose GSM network events to keep ppp0 up? Why ofonod 
hangs with the steps mentioned above?


-- 
With best regards,
Alexander Smirnov

ilbers GmbH
Baierbrunner Str. 28c
D-81379 München
+49 (89) 122 67 24-0
http://ilbers.de/
Commercial register Munich, HRB 214197
General manager: Baurzhan Ismagulov

             reply	other threads:[~2016-07-01 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 10:22 Alexander Smirnov [this message]
2016-07-01 19:58 ` U-Blox modem reconnect Denis Kenzior
2016-07-01 21:15   ` Alexander Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5776444F.6070307@ilbers.de \
    --to=asmirnov@ilbers.de \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.