From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: PPP LCP configuration issue
Date: Thu, 01 Apr 2010 18:00:17 -0700 [thread overview]
Message-ID: <1270170017.22331.52.camel@localhost.localdomain> (raw)
In-Reply-To: <1270106746.22331.28.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]
Hi Kristen,
> so I added some debug code to actually print the options during the
> configuration stage. And something seems to be wrong here.
>
> lcp: pppcp_open_event: current state 0:INITIAL
> lcp: pppcp_up_event: current state 1:STARTING
> lcp: pppcp_initialize_restart_count: current state 1:STARTING
> lcp: pppcp_send_configure_request: current state 1:STARTING
> lcp: option 2 len 6 (Async-Control-Character-Map) 00 00 00 00
> lcp: pppcp_process_configure_request: current state 6:REQSENT
> lcp: option 2 len 6 (Async-Control-Character-Map) 00 00 00 00
> lcp: option 3 len 5 (Authentication-Protocol) c2 23 05
> lcp: option 5 len 6 (Magic-Number) 01 ff ef e0
> lcp: option 7 len 2 (Protocol-Field-Compression)
> lcp: option 8 len 2 (Address-and-Control-Field-Compression)
> lcp: pppcp_rcr_plus_event: current state 6:REQSENT
> lcp: pppcp_send_configure_ack: current state 6:REQSENT
> lcp: option 2 len 6 (Async-Control-Character-Map) 00 00 00 00
> lcp: option 3 len 5 (Authentication-Protocol) c2 23 05
> lcp: option 5 len 6 (Magic-Number) 01 ff ef e0
> lcp: option 7 len 2 (Protocol-Field-Compression)
> lcp: option 8 len 2 (Address-and-Control-Field-Compression)
> lcp: pppcp_process_configure_ack: current state 8:ACKSENT
> lcp: option 2 len 6 (Async-Control-Character-Map) 00 00 00 00
> oops -- found acked option 2 we didn't request
> lcp: pppcp_rca_event: current state 8:ACKSENT
> lcp: pppcp_initialize_restart_count: current state 8:ACKSENT
>
> I see the oops comment here, but we clearly requested the async control
> character map. So why does it get recognized as not requested? This is
> clearly a bug and needs to be fixed.
so I added pppdump support to GAtPPP and gsmdial. This allows us to
create log files that can be read by pppdump and Wireshark. The method
of debugging with strace is just not feasible. The attached log file is
one of these. I see a couple of confirmation requests that were send
twice in a row. That seems to be wrong. Can you explain what is going
on.
Regards
Marcel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ppptest.log --]
[-- Type: text/x-log, Size: 4018 bytes --]
\aKµ\x12û\x01\0\x1d~ÿ}#À!}!}!} }*}"}&} } } } X{~\aKµ\x12û\x02\0U~ÿ}#À!}!} } }9}"}&} } } } }#}%Â#}%}%}&}!}]+}'}"}(}"Ú~~ÿ}#À!}"}!} }*}"}&} } } } 1}/~\aKµ\x12û\x01\08~ÿ}#À!}"} } }9}"}&} } } } }#}%Â#}%}%}&}!}]+}'}"}(}"}5Ö~\aKµ\x12û\x01\0\x12~ÿ\x03!\x01\x01\0
\x03\x06\0\0\0\0\x13(~\aKµ\x12û\x02\0D~ÿ}#À!}+}!} }(}!}]+}-}5~~ÿ\x03Â#\x01\x01\0#\x10\x1cÚ!\0Tdv®F µÞäEZEUMTS_CHAP_SRVR[¦~\aKµ\x12û\x01\0\x1d~ÿ\x03Â#\x02\x01\0\x15\x10\x155Ü=ïW
×GÉ/ê½®äò~\aKµ\x12û\x02\0\f~ÿ\x03Â#\x03\x01\0\x04y~\aKµ\x12ü\x02\0$~ÿ\x03!\x03\x01\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eåº~\aKµ\x12ü\x01\0*~ÿ\x03!\x01\x02\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eüB~\aKµ\x12ý\x02\0$~ÿ\x03!\x03\x02\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e=L~\aKµ\x12ý\x01\0*~ÿ\x03!\x01\x03\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e\x02~\aKµ\x12þ\x02\0$~ÿ\x03!\x03\x03\0\x1c\x06
\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Kµ\x13\x11\x01\0*~ÿ\x03!\x01\x11\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e-¤~\aKµ\x13\x12\x02\0$~ÿ\x03!\x03\x11\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e0¶~\aKµ\x13\x12\x01\0*~ÿ\x03!\x01\x12\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0ed~\aKµ\x13\x13\x01\0*~ÿ\x03!\x01\x12\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0ed~\aKµ\x13\x14\x02\0$~ÿ\x03!\x03\x12\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eè@~\aKµ\x13\x14\x01\0*~ÿ\x03!\x01\x13\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eë$~\aKµ\x13\x15\x02\0$~ÿ\x03!\x03\x13\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e \x12~\aKµ\x13\x15\x01\0*~ÿ\x03!\x01\x14\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eÓí~\aKµ\x13\x16\x01\0*~ÿ\x03!\x01\x14\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eÓí~\aKµ\x13\x17\x02\0$~ÿ\x03!\x03\x14\0\x1c\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0eI¥~\aKµ\x13\x17\x01\0*~ÿ\x03!\x01\x15\0"\x03\x06\0\0\0\0\x06
\v\f\r\x06
\v\f\x0e\x06
\v\f\r\x06
\v\f\x0e°~\aKµ\x13\x18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~\aKµ\x13x\x02\0\x0e
NO CARRIER
next prev parent reply other threads:[~2010-04-02 1:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 7:25 PPP LCP configuration issue Marcel Holtmann
2010-04-02 1:00 ` Marcel Holtmann [this message]
2010-04-02 20:51 ` Kristen Carlson Accardi
2010-04-02 21:01 ` Marcel Holtmann
2010-04-02 23:17 ` Kristen Carlson Accardi
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=1270170017.22331.52.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--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.