-------- Original Message  --------
From: "Janusz U." <[EMAIL PROTECTED]>
To: "Mailing list for lwIP users" <[email protected]>
Subject: Re:[lwip-users] PPP connect to T-Mobile GPRS (Hungary) problem
Date: Wed Dec 20 2006 23:21:53 GMT+0800


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.

hi,
did you set GPRS context (APN) by eg:
at+cgdcont=1,"IP","internet-apn","0.0.0.0",0,0
atd*99***1#

best regards
Janusz U.



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

When CHAP is used,the program stop "<00000-00:00:23:300>IPCP: lowerup state 0 -> 1073744688 ".

<00000-00:00:23:250>fsm_input(LCP):2,1073744892,16216


<00000-00:00:23:250>fsm_rconfack(LCP): Rcvd id 1 state=1073744892


<00000-00:00:23:250>lcp_acki: Ack


<00000-00:00:23:250>lcp_up()

<00000-00:00:23:300>ppp_send_config[0]: outACCM=0 0 B638 0


<00000-00:00:23:300>ppp_recv_config[0]: inACCM=0 40000BC4 B734 0


<00000-00:00:23:300>link_established: 0


<00000-00:00:23:300>upap_lowerup: 0 s=0


<00000-00:00:23:300>IPCP: lowerup state 0 -> 1073744688


Use PAP,

<00000-00:00:43:450>lcp_reqci: Nak AUTHTYPE CHAP not allowed

Send some data to Modem:7E FF 7D 23 C0 21 7D 23 7D 23 7D 20 7D 28 7D 23 7D 24 C0 23 99 7F 7E

Receive some data from Modem:
7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 3D 7D 21 7D 24 7D 25 EA 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 23 7D 25 C2 23 7D 25 7D 25 7D 26 57 7D 31 98 6C 7D 27 7D 22 7D 28 7D 22 70 7D 5D 7E

To repeate  receive

Receive some data from Modem:
7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 3D 7D 21 7D 24 7D 25 EA 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 23 7D 25 C2 23 7D 25 7D 25 7D 26 57 7D 31 98 6C 7D 27 7D 22 7D 28 7D 22 70 7D 5D 7E

C2 23 is CHAP,modem needs CHAP.



The frame has some problem,It may be start with "7E" and  end with "7E" .
But my result is :

<00000-00:00:37:350> Receive some data from Modem:
7E 7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 3D 7D 21 7D 24 7D 25 EA 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 23 7D 25 C2 23 7D 25 7D 25 7D 26 57

<00000-00:00:43:400> Receive some data from Modem:
7D 31 98 6C 7D 27 7D 22 7D 28 7D 22 70 7D 5D 7E 7E FF 7D 23 C0 21 7D 21 7D 24 7D 20 7D 3D 7D 21 7D 24 7D 25 EA 7D 22 7D 26 7D 20 7D 20 7D 20




_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to