Port forced closed after DEACT
Aleksander Morgado
aleksander at aleksander.es
Fri Jun 5 15:56:51 UTC 2020
Hey!
>> I thought this should have been fixed in
>> 5f29bd64de8127cb326488d68a2a2b64a45e1f45, but I don't see the relevant
>> "PPP is required for connection, will ignore disconnection reports"
>> message that should happen once the modem gets connected in PPP mode.
>>
>> If you have the setup with you, could you check why this message is
>> not being logged?
>
>
> that log is under the condition of ipv4/ipv6_config method being PPP, is it the same method printed by print_bearer_info, right?
>
> However, I see the log "Launching 3GPP connection attempt with APN ...", so I expect that the rest of the call chain is called up to `dial_3gpp_ready` which sets the method to PPP for AT ports. I still don't understand why the "PPP is required" log does not show up.
>
> In MM 1.12.8, I cannot also find the following message, which is in the log instead (disclaimer, I have no access to the very same environment right now)
>
> "Found PDP context with CID 1 and PDP type ipv4v6 for APN 'internet'"
>
> I guess it is a composed message, but even so, I cannot find it. Was it maybe in an older version?
That would actually make sense. That message was logged with that
format in MM 1.10.x, but not in MM 1.12.x:
aleksander at poseidon:~/Development/foss/ModemManager:(mm-1-12)$ grep -r
"Found PDP" .
aleksander at poseidon:~/Development/foss/ModemManager:(mm-1-12)$ git
checkout mm-1-10
Switched to branch 'mm-1-10'
Your branch is up to date with 'origin/mm-1-10'.
aleksander at poseidon:~/Development/foss/ModemManager:(mm-1-10)$ grep -r
"Found PDP" .
./src/mm-broadband-bearer.c: mm_dbg ("Found PDP context
with CID %u and PDP type %s for APN '%s'",
./src/mm-broadband-bearer.c: mm_dbg ("Found PDP context
with CID %u and no APN",
Could it be that the log is really from a MM 1.10 run instead of a MM
1.12 run? The fix to ignore disconnection reports when PPP is used was
only added in MM 1.12.0 IIRC.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list