Home Page Forums Raspberry Pi Shields Error: "sudo pppd call gprs" on Raspberry Pi 3G-4G/LTE Base Shield V2

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #33356

    I have made the configuration per tutorial 1 and tutorial 3 but get the following error:
    [email protected]:~ $ [email protected]:~ $ sudo pppd call gprs
    -bash: [email protected]:~: command not found
    pppd options in effect:
    debug # (from /etc/ppp/peers/gprs)
    nodetach # (from /etc/ppp/peers/gprs)
    dump # (from /etc/ppp/peers/gprs)
    noauth # (from /etc/ppp/peers/gprs)
    remotename 3gppp # (from /etc/ppp/peers/gprs)
    /dev/ttyUSB3 # (from /etc/ppp/peers/gprs)
    115200 # (from /etc/ppp/peers/gprs)
    lock # (from /etc/ppp/peers/gprs)
    connect chat -s -v -f /etc/chatscripts/quectel-chat-connect -T telstra.extranet# (from /etc/ppp/peers/gprs)
    disconnect chat -s -v -f /etc/chatscripts/quectel-chat-disconnect # (from /etc/ppp/peers/gprs)
    nocrtscts # (from /etc/ppp/peers/gprs)
    modem # (from /etc/ppp/peers/gprs)
    asyncmap 0 # (from /etc/ppp/options)
    lcp-echo-failure 4 # (from /etc/ppp/options)
    lcp-echo-interval 30 # (from /etc/ppp/options)
    hide-password # (from /etc/ppp/peers/gprs)
    novj # (from /etc/ppp/peers/gprs)
    novjccomp # (from /etc/ppp/peers/gprs)
    ipcp-accept-local # (from /etc/ppp/peers/gprs)
    ipcp-accept-remote # (from /etc/ppp/peers/gprs)
    ipparam 3gppp # (from /etc/ppp/peers/gprs)
    noipdefault # (from /etc/ppp/peers/gprs)
    ipcp-max-failure 30 # (from /etc/ppp/peers/gprs)
    defaultroute # (from /etc/ppp/peers/gprs)
    replacedefaultroute # (from /etc/ppp/peers/gprs)
    usepeerdns # (from /etc/ppp/peers/gprs)
    noccp # (from /etc/ppp/peers/gprs)
    noipx # (from /etc/ppp/options)
    abort on (BUSY)
    abort on (NO CARRIER)
    abort on (NO DIALTONE)
    abort on (ERROR)
    abort on (NO ANSWER)
    timeout set to 30 seconds
    send (AT^M)
    expect (OK)
    — got it

    send (ATE0^M)
    expect (OK)
    — got it

    send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
    expect (OK)
    Revision: EC25AUFAR02A03M4G^M
    SubEdition: V08^M
    +CSQ: 31,99^M
    +COPS: 0,0,”Telstra Mobile Telstra”,7^M
    +CGREG: 0,1^M
    — got it

    send (AT+CGDCONT=1,”IP”,”telstra.extranet”,,0,0^M)
    expect (OK)
    — got it

    send (ATD*99#^M)
    expect (CONNECT)
    — got it

    Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T telstra.extranet finished (pid 1043), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <–> /dev/ttyUSB3
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf1af48b3> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x27 <asyncmap 0x0> <auth chap MD5> <magic 0xa316cfa6> <pcomp> <accomp>]
    No auth is possible
    sent [LCP ConfRej id=0x27 <auth chap MD5>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf1af48b3> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x28 <asyncmap 0x0> <magic 0xa316cfa6> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x28 <asyncmap 0x0> <magic 0xa316cfa6> <pcomp> <accomp>]
    sent [LCP EchoReq id=0x0 magic=0xf1af48b3]
    sent [IPCP ConfReq id=0x1 <addr> <ms-dns1> <ms-dns2>]
    rcvd [LCP DiscReq id=0x29 magic=0xa316cfa6]
    rcvd [LCP EchoRep id=0x0 magic=0xa316cfa6 f1 af 48 b3]
    rcvd [IPCP ConfReq id=0x1a]
    sent [IPCP ConfNak id=0x1a <addr>]
    rcvd [IPCP ConfNak id=0x1 <addr> <ms-dns1> <ms-dns2>]
    sent [IPCP ConfReq id=0x2 <addr> <ms-dns1> <ms-dns2>]
    rcvd [IPCP ConfReq id=0x1b]
    sent [IPCP ConfAck id=0x1b]
    rcvd [IPCP ConfAck id=0x2 <addr> <ms-dns1> <ms-dns2>]
    Could not determine remote IP address: defaulting to
    replacing old default route to eth0 []
    local IP address
    remote IP address
    primary DNS address
    secondary DNS address
    Script /etc/ppp/ip-up started (pid 1051)
    Script /etc/ppp/ip-up finished (pid 1051), status = 0x0
    ^CTerminating on signal 2
    Connect time 0.5 minutes.
    Sent 623 bytes, received 850 bytes.
    restoring old default route to eth0 []
    Script /etc/ppp/ip-down started (pid 1098)
    sent [LCP TermReq id=0x2 “User request”]
    rcvd [LCP TermAck id=0x2]

    Any ideas what the issue is?


    To add to the above post, the script above executes but seems to go no further than at the point:
    Script /etc/ppp/ip-up started (pid 1051)
    Script /etc/ppp/ip-up finished (pid 1051), status = 0x0

    Where the script then hangs.

    • This reply was modified 1 year, 6 months ago by Christien.


    Why do you press Ctrl + C , If you want to run program at background, you should use &. Please start program with following command.

    sudo pppd call gprs &


    I get the same error where the script hangs at status 0x0.
    I do use sudo pppd call gprs&

    Please help.

    Thank you.



    It is not hangs, It is normal output.

    Please run sudo pppd call gprs & then write ifconfig ppp0 and send output to me.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.