PPP over serial with GE865-QUAD

2 thoughts on “PPP over serial with GE865-QUAD

  1. Hi,

    I’m trying to use a GE865-QUAD module as a serial modem on Linux (without hardware flow control).

     

    My chat file looks like:

    ABORT   ‘BUSY’
    ABORT   ‘NO CARRIER’
    ABORT   ‘ERROR’
    ”      ATZ
    OK      AT&K0
    OK      AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0
    OK      AT+FCLASS=0
    OK      ATD*99***1#
    TIMEOUT 60
    CONNECT ”

     

     

    My peer file:

    /dev/ttyS0
    115200
    nocrtscts
    debug
    local
    connect ‘chat -f /etc/ppp/chat/gprs’
    defaultroute
    usepeerdns
    show-password
    noipdefault
    ipcp-accept-local
    novj
    nobsdcomp
    novjccomp
    nopcomp
    noaccomp
    name internet

     

     

    And at the end of my pap-secrets my I’ve got:

    #       *       password
    internet   *   internet   *

     

     

     

    I’m executing, as root:

    root@linuxpc:/etc/ppp# pppd call gprs

     

     

     

    But the connection never succeeds. I allways get (in /var/log/messages):

    Jul 14 10:21:14 linuxpc pppd[2260]: pppd 2.4.5 started by root, uid 0
    Jul 14 10:21:14 linuxpc pppd[2260]: Using interface ppp0
    Jul 14 10:21:14 linuxpc pppd[2260]: Connect: ppp0 <–> /dev/ttyS0
    Jul 14 10:21:44 linuxpc pppd[2260]: LCP: timeout sending Config-Requests
    Jul 14 10:21:44 linuxpc pppd[2260]: Connection terminated.
    Jul 14 10:21:44 linuxpc pppd[2260]: Modem hangup
    Jul 14 10:21:44 linuxpc pppd[2260]: Exit.
     

     

     

    Sniffing the serial port of the PC and the module, I see that the chat program executs correctly, and the module responds with the proper ‘CONNECT’ after the ATD*99***1# command.

     

    But when pppd sends the LCP, the module never responds.

     

     

    Is my peer file wrong? Could it be that I’m not using hardware flow control?

     

     

     

    Thanks in advance.

     

    PD: Connecting through AT#GPRS=1 I can connect to the web and ping at websites, but this doesn’t suit me, since I want to use Linux’s TCP stack, and not the module’s embedded one.

    1. Hi,
      I am using EXACTLY these scripts with a GE865 eval kit
      connected to a Ubuntu machine with a usb to serial 
      converter cable and it works OK with no problems.
      connect.tim file:
      ——————————
      ABORT   ‘BUSY’
      ABORT   ‘NO CARRIER’
      ABORT   ‘ERROR’
      ECHO    ON
      ”      AT
      OK      AT+CGDCONT=1,"IP","tim.br"
      OK      ATDT*99***1#
      pppd.tim file:
      —————————–
      /dev/ttyUSB0
      115200
      connect ‘chat -v -f connect.tim’
      crtscts
      defaultroute
      replacedefaultroute
      usepeerdns
      user tim
      password tim
      nodetach
      noipdefault
      debug
      start script file:
      —————————–
      sudo pppd file pppd.tim
      Note that this is a debug script. It will not 
      release the console and will show all the PPP
      negotiation protocol messages.
      regards.