lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] PPP connect to T-Mobile GPRS (Hungary) problem


From: Szabó András
Subject: [lwip-users] PPP connect to T-Mobile GPRS (Hungary) problem
Date: Wed, 15 Mar 2006 18:25:37 +0100

Hi!

I'm trying to connect to gprs using the CVS code PPP, and i've managed to get to the point IPCP starts to do something, but suddenly an LCP terminate arrives, and NO CARRIER. Bah :)

It's a hack of the unix port in the contrib to work on my linux with my irda Siemens S45 phone. I have a GPRS account at T-Mobile, that has no user/password (under windows it works with user/pass leaved blank). I'm in Hungary, Europe.

Read: means the serial input characters from the serial port in hex
Write: ---"--- to the serial port.

I'm not an expert about these fancy protocols, such as LCP, IPCP, PAP and so on, i'm a bit stuck :) Maybe one of you see some sense on these codes and can help me, it would be great!


Some debug info:
---------------------------------------
tcp init donelcp_init: xmit_accm=0 0 0 0
upap_init: 0
Expecting: OK
Expecting: CONNECT
lcp_init: xmit_accm=0 0 0 0
[New Thread -1218192464 (LWP 3582)]
pppMain: unit 0: Connecting
Read:
  7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 3D 7D 21 7D 24 7D 27 D0 7D
22 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 27 7D 22 7D 28 7D 22 7D 25 7D 26
8A 4A 9D 7D 25 7D 23 7D 25 C2 23 7D 25 7D 29 75 7E
pppInProc[0]: got 62 bytes
pppInProc[0]: tcpip_callback() failed, dropping packet
pppStartCB: unit 0
ppp_set_xaccm[0]: outACCM=0 0 0 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
lcp_lowerup: asyncmap=0 0 0 0
LCP: lowerup state 0 -> 2
auth_reset: 0
lcp_addci: L opt=2 0
lcp_addci: L opt=5 70A012B6
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: len=46
Write:
  7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 7D 34 7D 22 7D 26 7D 20 7D 20
7D 20 7D 20 7D 25 7D 26 70 A0 7D 32 B6 7D 27 7D 22 7D 28 7D 22 32 53
7E
fsm_sdata(LCP): Sent code 1,1,20.
LCP: sending Configure-Request, id 1
LCP: open state 2 -> 6
Read:
  7E FF 7D 23 C0 21 7D 23 7D 21 7D 20 7D 2A 7D 22 7D 26 7D 20 7D 2A
7D 20 7D 20 6C 50 7E
pppInProc[0]: got 29 bytes
pppInput[0]: LCP len=10
fsm_input(LCP):3,1,10
fsm_rconfnakrej(LCP): Rcvd id 1 state=6
lcp_addci: L opt=2 A0000
lcp_addci: L opt=5 70A012B6
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: len=45
Write:
  FF 7D 23 C0 21 7D 21 7D 22 7D 20 7D 34 7D 22 7D 26 7D 20 7D 2A 7D
20 7D 20 7D 25 7D 26 70 A0 7D 32 B6 7D 27 7D 22 7D 28 7D 22 CA C8 7E
fsm_sdata(LCP): Sent code 1,2,20.
LCP: sending Configure-Request, id 2
Read:
  7E FF 7D 23 C0 21 7D 22 7D 22 7D 20 7D 34 7D 22 7D 26 7D 20 7D 2A
7D 20 7D 20 7D 25 7D 26 70 A0 7D 32 B6 7D 27 7D 22 7D 28 7D 22 21 A1
7E
pppInProc[0]: got 46 bytes
pppInput[0]: LCP len=20
fsm_input(LCP):2,2,20
fsm_rconfack(LCP): Rcvd id 2 state=6
lcp_acki: Ack
Read:
  7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 3D 7D 21 7D 24 7D 27 D0 7D
22 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 27 7D 22 7D 28 7D 22 7D 25 7D 26
8A 4A 9D 7D 25 7D 23 7D 25 C2 23 7D 25 7D 29 75 7E
pppInProc[0]: got 62 bytes
pppInput[0]: LCP len=29
fsm_input(LCP):1,3,29
fsm_rconfreq(LCP): Rcvd id 3 state=7
lcp_reqci: rcvd MRU 2000 ASYNCMAP=A0000 PCOMPRESSION ACCOMPRESSION
lcp_reqci: Nak AUTHTYPE CHAP not allowed
lcp_reqci:  MAGICNUMBER (8A4A9D05)
lcp_reqci: returning CONFNAK.
pppWrite[0]: len=22
Write:
  FF 7D 23 C0 21 7D 23 7D 23 7D 20 7D 28 7D 23 7D 24 C0 23 99 7F 7E
fsm_sdata(LCP): Sent code 3,3,8.
Read:
  7E FF 7D 23 C0 21 7D 21 7D 25 7D 20 7D 3C 7D 21 7D 24 7D 27 D0 7D
22 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 27 7D 22 7D 28 7D 22 7D 25 7D 26
8A 4A 9D 7D 25 7D 23 7D 24 C0 23 22 F9 7E
pppInProc[0]: got 59 bytes
pppInput[0]: LCP len=28
fsm_input(LCP):1,5,28
fsm_rconfreq(LCP): Rcvd id 5 state=7
lcp_reqci: rcvd MRU 2000 ASYNCMAP=A0000 PCOMPRESSION ACCOMPRESSION
lcp_reqci:  MAGICNUMBER (8A4A9D05) PAP (C023)
lcp_reqci: returning CONFACK.
pppWrite[0]: len=59
Write:
  FF 7D 23 C0 21 7D 22 7D 25 7D 20 7D 3C 7D 21 7D 24 7D 27 D0 7D 22
7D 26 7D 20 7D 2A 7D 20 7D 20 7D 27 7D 22 7D 28 7D 22 7D 25 7D 26 8A
4A 9D 7D 25 7D 23 7D 24 C0 23 7D 31 A3 7E
fsm_sdata(LCP): Sent code 2,5,28.
ppp_send_config[0]: outACCM=0 0 A 0
ppp_recv_config[0]: inACCM=0 0 A 0
link_established: 0
upap_lowerup: 0 s=0
IPCP: lowerup state 0 -> 2
upap_authwithpeer: 0 user=none password=none s=1
pppWrite[0]: len=21
Write:
  FF 3 C0 23 1 1 0 E 4 6E 6F 6E 65 4 6E 6F 6E 65 DE 60 7E
pap_sauth: Sent id 1
Read:
  7E C0 23 2 1 0 5 0 FD 30 7E
pppInProc[0]: got 11 bytes
pppInput[0]: PAP len=5
pap_rauthack: Rcvd id 1 s=3
Remote message:
auth_withpeer_success: 0 proto=C023
pppWrite[0]: len=29
Write:
  FF 3 80 21 1 1 0 16 3 6 0 0 0 0 81 6 0 0 0 0 83 6 0 0 0 0 6E DB 7E
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 -> 6
Read:
  7E FF 7D 23 C0 21 7D 25 7D 25 7D 20 7D 24 5C A4 7E
pppInProc[0]: got 17 bytes
pppInput[0]: LCP len=4
fsm_input(LCP):5,5,4
fsm_rtermreq(LCP): Rcvd id 5 state=9
LCP terminated by peer                           <------------ why is this happening? :(
link_down: 0
upap_lowerdown: 0 s=4
IPCP: lowerdown state 6 -> 1
IPCP: close reason=LCP down state 1 -> 0
pppMainWakeup: unit 0
sio_read_abort: not yet implemented for unix
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 A 0
pppWrite[0]: len=16
Write:
  FF 7D 23 C0 21 7D 26 7D 25 7D 20 7D 24 91 81 7E
fsm_sdata(LCP): Sent code 6,5,4.
Read:
  7E FF 7D 23 C0 21 7D 25 7D 25 7D 20 7D 24 5C A4 7E
pppInProc[0]: got 17 bytes
pppInput[0]: LCP len=4
fsm_input(LCP):5,5,4
fsm_rtermreq(LCP): Rcvd id 5 state=5
pppWrite[0]: len=16
Write:
  FF 7D 23 C0 21 7D 26 7D 25 7D 20 7D 24 91 81 7E
fsm_sdata(LCP): Sent code 6,5,4.
Read:
  D A 4E 4F 20 43 41 52 52 49 45 52 D A
pppInProc[0]: got 14 bytes
--------------------- connection terminated here.

Thanks a lot!
András


reply via email to

[Prev in Thread] Current Thread [Next in Thread]