Hi All,
I have some issue at ppp phrase from huawei EM560.
Here is the log, does anyony have any idea or give me some correct log to me to 
compare with. Thanks!

[root@localhost gatchat]# ./gsmdial -l -a cmnet -c 1 -n /dev/ttyACM0 -m 
/dev/ttyACM2
Control: /dev/ttyACM0
Modem: /dev/ttyACM2
fd=3 by hyqfd=4 by hyqAPN: cmnet
CID: 1
Modem: < \r\n*PHBI: 0,1\r\n
Control: > ATE0Q0V1\r
Modem: < \r\n^MODE: 15\r\n
Modem: < \r\n+CREG: 1,"0007","0D0A"\r\n
Control: < ATE0Q0V1\r
Modem: < \r\n+CGREG: 2\r\n
Modem: < \r\n+CGREG: 1,"0007","0D0A"\r\n
Control: < \r\nOK\r\n
Control: > AT+CFUN?\r
Control: < \r\n+CFUN: 1\r\n
Control: < \r\nOK\r\n
Current modem mode is 1
Control: > AT+CPIN?\r
Control: < \r\n+CPIN: READY\r\n
Control: < \r\nOK\r\n
Control: > AT+CREG=2\r
Control: < \r\nOK\r\n
Control: > AT+CGREG=2\r
Control: < \r\nOK\r\n
Control: > AT+COPS=0\r
Control: < \r\nOK\r\n
Waiting for network registration...
Control: > AT+CREG?\r
Modem: < \r\n+CREG: 1,"0007","0D0A"\r\n
Control: < \r\n+CREG: 1,"0007","0D0A"\r\n
Control: < \r\n+CREG: 2,1,"0007","0D0A"\r\n
Control: < \r\nOK\r\n
Registered to network, roaming=false
Activating GPRS network...
Control: > AT+CGATT=1\r
Control: < \r\nOK\r\n
Control: > AT+CGREG?\r
Control: < \r\n+CGREG: 2,1,"0007","0D0A"\r\n
Control: < \r\nOK\r\n
Registered to GPRS network, roaming=false
Control: > AT+CGDCONT=1,"IP","cmnet"\r
Control: < \r\nOK\r\n
Modem: > ATD*99***1#\r
Modem: < ATD*99***1#\r
Modem: < \r\nCONNECT 2800000\r\n
Entering new phase: 1
PPP: lcp: pppcp_generate_event: current state 0:INITIAL
PPP: event: 0 (Up), action: 2, new_state: 2 (CLOSED)
new_state=2
PPP: lcp: pppcp_generate_event: current state 2:CLOSED
PPP: event: 2 (Open), action: 1026, new_state: 6 (REQSENT)
new_state=6
PPP: lcp: pppcp_initialize_restart_count: current state 2:CLOSED
PPP: lcp: pppcp_send_configure_request: current state 2:CLOSED
ppp_receive protocol=c021
PPP: lcp: pppcp_process_configure_request: current state 6:REQSENT
ppp_option_iter_get_type =saohuo:ppp_option_iter_get_type 
=ddddddddddddAUTH_PROTO:PPP: lcp: pppcp_generate_event: current state 6:REQSENT
PPP: event: 7 (RCR-), action: 4006, new_state: 6 (REQSENT)
new_state=6
PPP: lcp: pppcp_send_configure_nak: current state 6:REQSENT
ppp_receive protocol=c021
PPP: lcp: pppcp_process_configure_ack: current state 6:REQSENT
PPP: lcp: pppcp_generate_event: current state 6:REQSENT
PPP: event: 8 (RCA), action: 27, new_state: 7 (ACKRCVD)
new_state=7
PPP: lcp: pppcp_initialize_restart_count: current state 6:REQSENT
ppp_receive protocol=c021
PPP: lcp: pppcp_process_configure_request: current state 7:ACKRCVD
ppp_option_iter_get_type =saohuo:ppp_option_iter_get_type=AUTH_PROTO: proto == 
CHAP_PROTOCOLppp_option_iter_get_type =ACCM:ppp_option_iter_get_type 
=AUTH_PROTO:Entering ppp_set_auth
PPP: lcp: pppcp_generate_event: current state 7:ACKRCVD
PPP: event: 6 (RCR+), action: 2109, new_state: 9 (OPENED)
new_state=9
PPP: lcp: pppcp_send_configure_ack: current state 7:ACKRCVD
Entering new phase: 2
ppp_drop_packet ppp->phase=PPP_PHASE_AUTHENTICATION:ppp_drop_packet 
ppp->phase=PPP_PHASE_AUTHENTICATION:c223=protocol
ppp_receive protocol=c223
ppp_drop_packet ppp->phase=PPP_PHASE_AUTHENTICATION:ppp_drop_packet 
ppp->phase=PPP_PHASE_AUTHENTICATION:c223=protocol
ppp_receive protocol=c223
Entering new phase: 3
ppp_auth_notify asdfasdfasdfsuccess
PPP: ipcp: pppcp_generate_event: current state 0:INITIAL
PPP: event: 2 (Open), action: 401, new_state: 1 (STARTING)
new_state=1
PPP: ipcp: pppcp_generate_event: current state 1:STARTING

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PPP: event: 0 (Up), action: 1026, new_state: 6 (REQSENT)
new_state=6
PPP: ipcp: pppcp_initialize_restart_count: current state 1:STARTING
PPP: ipcp: pppcp_send_configure_request: current state 1:STARTING
Control: < \r\n+CGREG: 1,"0007","0D0A"\r\n
Control: < \r\n*PHBI: 0,2\r\n
PPP: ipcp: pppcp_timeout: current state 6:REQSENT
PPP: ipcp: pppcp_generate_event: current state 6:REQSENT
PPP: event: 4 (TO+), action: 1006, new_state: 6 (REQSENT)
new_state=6
PPP: ipcp: pppcp_send_configure_request: current state 6:REQSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 6:REQSENT
PPP: ipcp: pppcp_generate_event: current state 6:REQSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 6:REQSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 4 (TO+), action: 1008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_request: current state 8:ACKSENT
ppp_drop_packet ppp->phase=PPP_PHASE_NETWORK: protocol=8021
ppp_receive protocol=8021
PPP: ipcp: pppcp_process_configure_request: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
new_state=8
PPP: ipcp: pppcp_send_configure_ack: current state 8:ACKSENT
PPP: ipcp: pppcp_timeout: current state 8:ACKSENT
PPP: ipcp: pppcp_generate_event: current state 8:ACKSENT
PPP: event: 5 (TO-), action: 803, new_state: 3 (STOPPED)
new_state=3
actions TLF
PPP: ipcp: pppcp_this_layer_finished: current state 3:STOPPED
PPP: ipcp: pppcp_generate_event: current state 3:STOPPED
PPP: event: 3 (Close), action: 2, new_state: 2 (CLOSED)
new_state=2
PPP: lcp: pppcp_generate_event: current state 9:OPENED
PPP: event: 3 (Close), action: 8224, new_state: 4 (CLOSING)
new_state=4
PPP: lcp: pppcp_initialize_restart_count: current state 9:OPENED
PPP: lcp: pppcp_send_terminate_request: current state 9:OPENED
actions TLD
PPP: ipcp: pppcp_generate_event: current state 2:CLOSED
PPP: event: 1 (Down), action: 0, new_state: 0 (INITIAL)
new_state=0
Entering new phase: 5
ppp_receive protocol=c021
PPP: lcp: pppcp_process_terminate_ack: current state 4:CLOSING
PPP: lcp: pppcp_generate_event: current state 4:CLOSING
PPP: event: 11 (RTA), action: 802, new_state: 2 (CLOSED)
new_state=2
actions TLF
PPP: lcp: pppcp_this_layer_finished: current state 2:CLOSED
Entering new phase: 0
PPP Link down: 2
Modem: < \r\nNO CARRIER\r\n
Control: > AT+CFUN=0\r
Control: < \r\nOK\r\n



--------

Regards!
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to