# M2M gprs modem & PPP connection

**URL:** <https://forums.digi.com/t/m2m-gprs-modem-ppp-connection/9540>\
**Category:** Rabbit\
**Created:** [January 28, 2008, 3:16pm UTC](https://forums.digi.com/t/m2m-gprs-modem-ppp-connection/9540 "2008-01-28T15:16:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joker\_cro](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@joker\_cro](https://forums.digi.com/u/joker_cro)\
**Post date:** [January 28, 2008, 3:16pm UTC](https://forums.digi.com/t/m2m-gprs-modem-ppp-connection/9540/1 "2008-01-28T15:16:48Z")

</div>

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:

```auto

ifconfig(,IF_PPP1
IFS_PPP_INIT,
IFS_PPP_SPEED, 115200L,
IFS_PPP_FLOWCONTROL, 1,
IFS_PPP_RTSPIN, PCDR, &amp;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:

```auto

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

---

<div class="post-metadata">

**Author:** ![joker\_cro](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@joker\_cro](https://forums.digi.com/u/joker_cro)\
**Post date:** [January 29, 2008, 4:15pm UTC](https://forums.digi.com/t/m2m-gprs-modem-ppp-connection/9540/2 "2008-01-29T16:15:55Z")

</div>

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)?

```auto

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

```

```auto

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

```
