M2M gprs modem & PPP connection

Hello!
I using m2m dev kit and attempt to run sms_ftp.c
With SMS all working fine but PPP connection failing…
Can anyone help me with PPP_serial GPRS modem connection…
ifconfig is:


ifconfig(,IF_PPP1
IFS_PPP_INIT,
IFS_PPP_SPEED, 115200L,
IFS_PPP_FLOWCONTROL, 1,
IFS_PPP_RTSPIN, PCDR, &PCDRShadow, 2,
IFS_PPP_CTSPIN, PCDR, 3,
IFS_PPP_SENDEXPECT, DIALUP_SENDEXPECT,
IFS_PPP_REMOTEAUTH, DIALUP_NAME, DIALUP_PASSWORD,
IFS_PPP_HANGUP, "ATH",
IFS_PPP_MODEMESCAPE, 1,
IFS_PPP_ACCEPTIP, 1,
IFS_PPP_ACCEPTDNS, 1,
IFS_DEBUG, 6,
IFS_UP,
IFS_END);

I get this:


Bring up IF_PPP1

CHAT: sending 'AT'

CHAT: expecting 'OK'

CHAT: found it!

CHAT: sending 'ATDT*99#'

CHAT: expecting 'CONNECT'

CHAT: found it!

CHAT: end of script

PPP: sending LCP config i/f 0

PPPLINK: serial errors for i/f 0: 0x2

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 14)

FF 03 C0 21 04 01 00 0A 05 06 0F A4 FA 00 ...!..........

PPP: got LCP packet code=0x04 id=1 i/f 0

PPP: LCP reject OK i/f 0

PPP: sending LCP config i/f 0

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 22)

FF 03 C0 21 02 02 00 12 01 04 02 58 02 06 00 00 ...!.......X....

00 00 07 02 08 02 ......

PPP: got LCP packet code=0x02 id=2 i/f 0

PPP: received LCP ACK i/f 0. local_acked = 1

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 26)

FF 03 C0 21 01 01 00 16 01 04 05 DC 02 06 00 00 ...!............

00 00 07 02 08 02 03 04 C0 23 .........#

PPP: got LCP packet code=0x01 id=1 i/f 0

PPP: LCP config request i/f 0

PPP: sending LCP ACK i/f 0

PPP: sending PAP auth i/f 0

PPP: sending PAP auth i/f 0

PPP: sending PAP auth i/f 0

PPP: sending PAP auth i/f 0

PPP: PAP too many retries i/f 0

IF_PPP1: FAILED

Regards

This is more detalied listing …

modem: wavecom fastrack m1206b-on
RCM 3100 dev board

is this a bug PPP.lib or something else?
Dailup name and password 38591 but what is (…38591.3)?


PPPLINK: send CTL (sans CRC) packet contents: (length = 20)

FF 03 C0 23 01 03 00 10 05 33 38 35 39 31 05 33 ...#.....38591.3

38 35 39 31 8591


PPPLINK: bringing up serial PPP interface 0

PPPLINK: baud rate 115200: setting divisor to 7

PPPLINK: Opened PPP serial on iface 0 at 115200 baud

CHAT: sending 'ATDT*99***1#'

PPPLINK: send RAW packet contents: (length = 1)

2B +

PPPLINK: send RAW packet contents: (length = 1)

2B +

PPPLINK: send RAW packet contents: (length = 1)

2B +

CHAT: expecting 'CONNECT'

PPPLINK: send RAW packet contents: (length = 14)

41 54 44 54 2A 39 39 2A 2A 2A 31 23 0D 0A ATDT*99***1#..

CHAT: found it!

CHAT: end of script

PPP: sending LCP config i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 28)

FF 03 C0 21 01 01 00 18 01 04 02 58 02 06 00 00 ...!.......X....

00 00 05 06 0F A4 FA 00 07 02 08 02 ............

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 14)

FF 03 C0 21 04 01 00 0A 05 06 0F A4 FA 00 ...!..........

PPP: got LCP packet code=0x04 id=1 i/f 0

PPP: LCP reject OK i/f 0

PPP: sending LCP config i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 22)

FF 03 C0 21 01 02 00 12 01 04 02 58 02 06 00 00 ...!.......X....

00 00 07 02 08 02 ......

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 26)

FF 03 C0 21 01 01 00 16 01 04 05 DC 02 06 00 00 ...!............

00 00 07 02 08 02 03 04 C0 23 .........#

PPP: got LCP packet code=0x01 id=1 i/f 0

PPP: LCP config request i/f 0

PPP: sending LCP ACK i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 26)

FF 03 C0 21 02 01 00 16 01 04 05 DC 02 06 00 00 ...!............

00 00 07 02 08 02 03 04 C0 23 .........#

PPP: got packet on i/f:0 protocol:0xc021

PPP: incoming packet contents: (length = 22)

FF 03 C0 21 02 02 00 12 01 04 02 58 02 06 00 00 ...!.......X....

00 00 07 02 08 02 ......

PPP: got LCP packet code=0x02 id=2 i/f 0

PPP: received LCP ACK i/f 0. local_acked = 1

PPP: sending PAP auth i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 20)

FF 03 C0 23 01 00 00 10 05 33 38 35 39 31 05 33 ...#.....38591.3

38 35 39 31 8591

PPP: sending PAP auth i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 20)

FF 03 C0 23 01 01 00 10 05 33 38 35 39 31 05 33 ...#.....38591.3

38 35 39 31 8591

PPP: sending PAP auth i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 20)

FF 03 C0 23 01 02 00 10 05 33 38 35 39 31 05 33 ...#.....38591.3

38 35 39 31 8591

PPP: sending PAP auth i/f 0

PPPLINK: send CTL (sans CRC) packet contents: (length = 20)

FF 03 C0 23 01 03 00 10 05 33 38 35 39 31 05 33 ...#.....38591.3

38 35 39 31 8591

PPP: PAP too many retries i/f 0