[En-Nut-Discussion] Need help, GPRS PPP doesnt work
pbisiac at inwind.it
pbisiac at inwind.it
Thu Apr 20 19:00:43 CEST 2006
Hi all,
After some insuccesful trials to establish a PPP connection with a US Robotics modem, I am experiencing similar failures with GPRS modem:
My EtherNut: 1.3 rev.G
My OS.: 4.1.1 / WinAVR /debug libraries
My GPRS modem: Motorola g18 connected to second serial
My provider (Italy - Wind) does not require username/password, only APN and primary DNS wich must be 212.245.255.2.
I am using pppc.c slightly modified, (essentially chat strings):
PPPCHAT = "TIMEOUT 10 '' AT OK AT+CGDCONT=1,\"IP\",\"internet.wind\" OK ATD*99# CONNECT"
I call NutChat, and then NutNetIfConfig("ppp", 0, 0, 0);
as in the example.
This is PPP debug output:
Connecting...done
Configure PPP...
[LCP-LOWERUP]
PPP<(20)[LCP-001(16)][CONFREQ][OPT(12)][ACCM=0x000A0000][MAGIC=0x78563412]
PPP>(32)[LCP-031(28)][CONFREQ][OPT(24)][MRU=2000][ACCM=0x000A0000][PCOMP][ACOMP]
[MAGIC=0xB64481C0][AUTH=0xC023]
PPP<(32)[LCP-031(28)][CONFACK][OPT(24)][MRU=2000][ACCM=0x000A0000][PCOMP][ACOMP]
[MAGIC=0xB64481C0][AUTH=0xC023]
PPP>(20)[LCP-001(16)][CONFACK][OPT(12)][ACCM=0x000A0000][MAGIC=0x78563412]
PPP<(10)[PAP-003(6)][CONFREQ][OPT(2)]
PPP>(9)[PAP-003(5)][CONFACK]
[IPCP-LOWERUP]
PPP<(26)[IPCP-004(22)][CONFREQ][OPT(18)][ADDR=0.0.0.0][DNS1=0.0.0.0][DNS2=0.0.0.
0]
PPP>(8)[LCP-031(4)][TERMREQ]
[IPCP-LOWERDOWN]
PPP<(8)[LCP-031(4)][TERMACK]
PPP<(8)[LCP-004(4)][TERMREQ]
PPP<(8)[LCP-004(4)][TERMREQ]
PPP<(8)[LCP-004(4)][TERMREQ]
PPP<(8)[LCP-004(4)][TERMREQ]
PPP<(8)[LCP-004(4)][TERMREQ]
PPP<(8)[LCP-004(4)][TERMREQ]
and then, failure.
I cannot figure out where the negotiation fails
Is there somebody out there who can help me ?
Thanks, regards,
Paolo
More information about the En-Nut-Discussion
mailing list