[En-Nut-Discussion] PPP IPCP problem

Dmitri Tsvetikov dts at kemm.ee
Tue Mar 4 08:20:26 CET 2003


Hi Mike,

Thank you very much for ansvering and sending your driver update, but for now i
want my program to be as simple as possible to better understand what's going
on. You see i am new in this field. I am not even sure i use GPRS :-). So may be
i describe in detail what i do.
I made a serial sniffer and logged what win98se and Ericsson T65 do for opening
connection. For documentation i started from Microchip AN724 and Seiko S-7600
fonctional spec. and relievent rfc-s of cause.
ATH
AT&F
AT V1E0S0=0&D2&C1
AT +CMEE=1
ATD*98*1#
CONNECT (from GM47)
I think calling *98*1# is GPRS connection. rle is a short name of my ISP
Radiolinja, Vodafon in Australia i think. What is CSD?
Then(in hex unescaped):
me - 7E FF 03 C0 21 01 01 00 0E 02 06 00 00 00 00 07 02 08 02 70 34 7E
rle - 7E FF 03 C0 21 01 01 00 12 02 06 00 00 00 00 07 02 08 02 03 04 C0 23 E4 07
7E
rle - 7E FF 03 C0 21 02 01 00 0E 02 06 00 00 00 00 07 02 08 02 4E B7 7E
me - 7E FF 03 C0 21 02 01 00 12 02 06 00 00 00 00 07 02 08 02 03 04 C0 23 DC 06
7E

me - 7E C0 23 01 01 00 0C 03 72 6C 65 03 72 6C 65 11 32 7E
rle - 7E C0 23 02 01 00 05 00 FD 30 7E
so far so good. But now starts the trouble:
me - 7E 80 21 01 01 00 0A 03 06 00 00 00 00 6D C6 7E
rle - 7E 80 21 01 01 00 04 BB 99 7E
rle - 7E 80 21 04 01 00 0A 03 06 00 00 00 00 D6 5A 7E

Here i tried a lot of variants including imitating windows... withuot success.
I don't understand what with GM47 is different compared to T65/Win98. I tried
even the same SIM card.
It's nearly 2 weeks i search for the ansver. ISP play dumb - they are too big
for such low level stuff. Local Ericsson representative also is not very
helpful. I see a lot of people have similar troubles with linux.
My previous project with GM47 was using USSD messages (boss decision) and my
first experience with C. That's why your PPP driver and En-Nut is too much for
me, for now i hope.
So may be if you coud just show me logs of yours driver talking to GM47 it would
help me enormously. I scanned En-Nut forum archives, found a lot of interesting
information. Lee mentioned Motorola AN2120. I am reading it now it looks good on
the structure level but strange in details - 7F for PPP frame for example. Also
i notised that in IPCP dialog at least American ISP-s are fist to offer
Conf.Request after successful PAP negotiation, but not with my ISP. If i don't
send my ConfReq i could wait forever for his.

Sorry for this long revelation.
My best regards,
Dmitri.

Mike Cornelius wrote:

> Hi Dimitri,
>
> The good news is that the PPP driver was written specificly to work with the
> GM47.
>
> Are you connecting to GPRS or an ISP via CSD?
>
> Does your service provider require a username or password ?
> If so the version of the driver in the current distribution does not support
> this, I will send you an update off list maybe this will help.
>
> Regards,
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mike Cornelius                      Internet: mikec at calldirect.com.au
> Call Direct Cellular Solutions      Phone:    +61 2 99-65-75-85
> Level 1 8-22 West St North Sydney   FAX:      +61 2 99-65-75-90
> NSW 2060 Australia                  URL:      http://www.calldirect.com.au
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -----Original Message-----
> From: en-nut-discussion-admin at egnite.de
> [mailto:en-nut-discussion-admin at egnite.de]On Behalf Of Dmitri Tsvetikov
> Sent: Tuesday, March 04, 2003 12:15 AM
> To: en-nut-discussion at egnite.de
> Subject: [En-Nut-Discussion] PPP IPCP problem
>
> Hello everybody!
>
> I found this forum the nearest to my problem, so it is not about En-Nut.
>
> Mike Cornelius succeeded with the problem i am trying to solve, so may
> be Mike, you care to guide me a little.
> I am trying to connect to internet from mega161 microcontroller via
> Sony/Ericsson GM47 modem.
> I get as far as PAP Ack from ISP. For my IPCP ConfReq it sends first
> ConfReq without options and then Naks my ConfReq with IP=0.0.0.0. That
> is not what i expected reading a lot of docs incl. rfc1332.
> My program is very simple, it is based mostly on Seiko SS-7600 chip
> description and what win98se does with Ericsson T65.
>
> Best regards,
> Dmitri Tsvetikov
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list