Sixfab offers Shields for Raspberry Pi which provides cellular Internet connection anywhere with the availability of mobile network coverage. These shields are:

  1. Raspberry Pi GSM/GPRS Shield
  2. Raspberry Pi 3G-4G/LTE Base Shield V2
  3. Raspberry Pi Cellular IoT Application Shield
  4. Raspberry Pi Cellular IoT HAT

Each of this shields can be connected to the Internet via PPP(Point to Point Protocol). For this tutorial, we have written a script to install and perform the required steps.

Without further ado let us jump into the installation process:

  1. Get the script by the following commandwget https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/install.sh
  2. Now change the permission of the downloaded script.chmod +x install.sh
  3. Now install the scriptsudo ./install.shIt will ask several questions, just answer them accordingly to complete the installation process. The questions are:
    • Please choose your Sixfab ShieldYou will be offered to choose among the mentioned three shields. Then it will fetch required scripts for you.install.sh01
    • Do you have updated kernelIt asks if your kernel is up-to-date. If no[N] it updates the kernel else it skips the update. Then it installs ppp.install.sh02
    • What is your carrier APN?Here, it asks for your carrier’s APN. For me it is hologram.install.sh03
    • Enter your PORT nameIn this step you will enter your PORT. For 3G, 4G/LTE Base Shield it will be ttyUSB3.install.sh04
    • Do you want to activate auto connect/reconnect service at R.Pi boot up?This option allows you to connect to Internet via your shield automatically when your Raspberry Pi Starts. If you want to connect to Internet automatically type y else N. If you have selected N then you will need to run sudo pon to connect to internet and sudo poff to stop it.intall.sh05

Enjoy your Internet connection.

EXTRA

Route: One of the possible errors you may get is routing error. In this case, run the following commands

sudo route del default

sudo route add default ppp0

Credential: If your carrier asks for username and password;
Remove noauth from /etc/ppp/peers/provider and add following lines
user “YOUR USERNAME”
password “YOURPASSWORD”

Selecting port

Shield/HAT PORT
GSM/GPRS Shield ttyS0/ttyUSB0
3G-4G/LTE Base Shield ttyUSB3
Cellular IoT App. Shield ttyS0

If you face any problem please ask your question in the comment section below. Also mention which shield are you using/HAT

59 thoughts on “PPP installer for Sixfab Shield”

  1. Works great as well as all the sensors. However, I can’t get figure out how to access the GPS status, longitude, latitude, etc. Will there be documentation and/or samples for GPS as well? With the PPP taking the serial/UART, will I still be able to access the eGPS data?

  2. this guideline is great and I did work my shield, but I have realize that when I restart raspberry pi, shield try to connect to GSM, since it was configured on that way in file install.sh. I was wondering if you could tell me where is stored file with AT commands to configure LTE CAT-M instead of GSM and also how to changet APN.

    Thanks for help
    oscar

    1. Hi Oscar,
      Please install our Raspberry Pi library for the shield. Github source
      There, you may use setMode() to get LTE Cat M1 mode, NB-IoT mode or GSM mode. Check here for more details.
      For changing APN setting remove “noauth” line from /etc/ppp/peers/provider and add following lines
      user “YOURUSERNAME”
      password “YOURPASS”

  3. Hello Saeed,
    I am using the Sixfab RPi CellularIoT App Shield and trying to connect to internet using a vodafone ireland normal sim. I am using this in conjunction with the Raspberry pi 3 running ubuntu mate.
    Could you please help what am I missing as i am not getting a remote ip ?
    I used the PPP installer https://github.com/sixfab/Sixfab_PPP_Installer

    [email protected]:~$ sudo pon
    pppd options in effect:
    debug # (from /etc/ppp/peers/provider)
    updetach # (from /etc/ppp/peers/provider)
    dump # (from /etc/ppp/peers/provider)
    noauth # (from /etc/ppp/peers/provider)
    remotename 3gppp # (from /etc/ppp/peers/provider)
    /dev/ttyS0 # (from /etc/ppp/peers/provider)
    115200 # (from /etc/ppp/peers/provider)
    lock # (from /etc/ppp/peers/provider)
    connect chat -s -v -f /etc/chatscripts/chat-connect -T hs.vodafone.ie # (from /etc/ppp/peers/provider)
    disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
    nocrtscts # (from /etc/ppp/peers/provider)
    modem # (from /etc/ppp/peers/provider)
    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/provider)
    novj # (from /etc/ppp/peers/provider)
    novjccomp # (from /etc/ppp/peers/provider)
    ipcp-accept-local # (from /etc/ppp/peers/provider)
    ipcp-accept-remote # (from /etc/ppp/peers/provider)
    ipparam 3gppp # (from /etc/ppp/peers/provider)
    noipdefault # (from /etc/ppp/peers/provider)
    ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
    defaultroute # (from /etc/ppp/peers/provider)
    usepeerdns # (from /etc/ppp/peers/provider)
    noccp # (from /etc/ppp/peers/provider)
    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)
    ^M
    OK
    — got it

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

    send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
    expect (OK)
    ^M
    ^M
    Quectel^M
    BG96^M
    Revision: BG96MAR02A07M1G^M
    ^M
    SubEdition: V08^M
    ^M
    +CSQ: 15,0^M
    ^M
    +COPS: 1,0,”vodafone IE vodafone IE”,0^M
    ^M
    +CGREG: 0,1^M
    ^M
    OK
    — got it

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

    send (AT+QCFG=”nwscanseq”,01,1^M)
    expect (OK)
    ^M
    ^M
    OK
    — got it

    send (AT+QCFG=”nwscanmode”,1,1^M)
    expect (OK)
    ^M
    ^M
    OK
    — got it

    send (AT+QCFG=”iotopmode”,2,1^M)
    expect (OK)
    ^M
    ^M
    OK
    — got it

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

    Script chat -s -v -f /etc/chatscripts/chat-connect -T hs.vodafone.ie finished (pid 1728), status = 0x0
    Serial connection established.
    using channel 2
    Using interface ppp0
    Connect: ppp0 /dev/ttyS0
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x12 ]
    No auth is possible
    sent [LCP ConfRej id=0x12 ]
    rcvd [LCP ConfAck id=0x1 ]
    rcvd [LCP ConfReq id=0x13 ]
    sent [LCP ConfAck id=0x13 ]
    sent [LCP EchoReq id=0x0 magic=0xa1822443]
    sent [IPCP ConfReq id=0x1 ]
    rcvd [LCP DiscReq id=0x14 magic=0xf726c96e]
    rcvd [LCP EchoRep id=0x0 magic=0xf726c96e a1 82 24 43]
    rcvd [IPCP ConfReq id=0xc]
    sent [IPCP ConfNak id=0xc ]
    rcvd [IPCP ConfNak id=0x1 ]
    sent [IPCP ConfReq id=0x2 ]
    rcvd [IPCP ConfReq id=0xd]
    sent [IPCP ConfAck id=0xd]
    rcvd [IPCP ConfAck id=0x2 ]
    Could not determine remote IP address: defaulting to 10.64.64.64
    not replacing default route to wlan0 [172.20.10.1]
    local IP address 10.177.14.221
    remote IP address 10.64.64.64
    primary DNS address 89.19.64.44
    secondary DNS address 89.19.64.172
    [email protected]:~$

  4. Hey there,

    So I am having some issues installing this on Ubuntu Mate 16.04. I run the install script and everything installs correctly with no errors. However, when I reboot nothing happens. The stat light is dimly lit and there is no activity on the blue light. (I have to press the pwr button in order for it to “power on”) . Once powered on it wont connect. I run sudo pon and it just fails everytime. “status = 0x3 Connect script failed” This is a fresh install of Ubuntu. Any ideas? Thanks!

  5. Hey,

    I tried this but I haven’t manage to get it to work. I use Raspbian on my raspberry pi, does it has anything to say?

    I use the quectel EC25-E with the shield v2. I tried my SIM-card on my phone and find the correct APN here. My SIM-card has turned off the PIN-code. Does I need to do any changes because of this?

    Kind regards

    1. Hello,

      What is the error are you getting? Please share the log.
      Which antennas are you using? Is your Power supply sufficient?
      Does your sim ask for sim pin code? If yes please remove it.

      1. After i pressed “Y” on the question of auto-connection the raspberry re-booted and I couldn’t see anything special.
        I don’t know what changed but the next day it worked after i powered on the raspberry again. I later tried to take out and put in the sim-card again to see what happened. At first it did not work again, tried to reboot and still no change. When i turned the raspberry off, unplugged it from the power supply and then started t again. After this it worked again.

  6. Hi

    I use “Raspberry Pi 3G-4G/LTE Base Shield V2” with EC25 Mini PCle 4G/LTE Module.

    So,If I conecct LTE network necessary following items

    1.APN Name
    2.User Name
    3.Password
    4.Certification Type(PAP,CHAP)

    Please tell me how to setting above.

    1. Hello,

      1.APN Name: While installing the script you are asked for apn.
      2.User Name and
      3.Password: Remove noauth from /etc/ppp/peers/provider and add
      user “YOUR USERNAME”
      password “YOURPASSWORD”

      4.Certification Type(PAP,CHAP): Check section 5.8.4 of PPP Connection

      1. Hi Saeed

        Thanks for your support.

        OK,about “User Name and Password”.
        So,How to setting “APN Name” ?
        My “APN Name” is “freetel.link”
        What & Where I must write this characters.

        Kengo

  7. Hi Saeed

    Thank you.
    I understand.

    So,Finally, I must set Certification method.
    I understand PAP and CHAP.
    So,I want to know that How to write setting file on Raspberry pi.

    1.How to choose PAP or CHAP
    My provider accept both.
    Where is a setting file for Raspberry pi(stretch) choose certification method.

    2.How to write setting file.
    a./etc/ppp/pap-secrets
    b./etc/ppp/chap-secrets

    userName “aaaaa”
    passWord “bbbbb”

    Best Regard

  8. Hi Saeed

    This is result of “sudo pppd call gprs”

    I think serial connection of LTE network was successed.
    But ppp authentication was failed

    >Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T freetel.link finished (pid 713), status = 0x0
    >Serial connection established.
    >using channel 3
    >Using interface ppp0
    >Connect: ppp0 /dev/ttyUSB3
    >sent [LCP ConfReq id=0x1 ]
    >rcvd [LCP ConfReq id=0x24 ]
    >No auth is possible

    So Please tell me how to send certification request by pap

    kengo

    $ sudo pppd call gprs
    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 freetel.link # (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)
    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)
    ^M
    OK
    — got it

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

    send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
    expect (OK)
    ^M
    ^M
    Quectel^M
    EC25^M
    Revision: EC25JFAR06A04M4G_DCM^M
    ^M
    SubEdition: V02^M
    ^M
    +CSQ: 12,99^M
    ^M
    +COPS: 0^M
    ^M
    +CGREG: 0,2^M
    ^M
    OK
    — got it

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

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

    Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T freetel.link finished (pid 713), status = 0x0
    Serial connection established.
    using channel 3
    Using interface ppp0
    Connect: ppp0 /dev/ttyUSB3
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x24 ]
    No auth is possible
    sent [LCP ConfRej id=0x24 ]
    rcvd [LCP ConfAck id=0x1 ]
    rcvd [LCP ConfReq id=0x25 ]
    sent [LCP ConfAck id=0x25 ]
    sent [LCP EchoReq id=0x0 magic=0xfd00715d]
    sent [IPCP ConfReq id=0x1 ]
    rcvd [LCP DiscReq id=0x26 magic=0xe4fbef78]
    rcvd [LCP EchoRep id=0x0 magic=0xe4fbef78 fd 00 71 5d]
    Modem hangup
    Connection terminated

  9. Hello there,

    I’m trying to use a Raspberry Pi 3 with the 3G-4G/LTE Base Shield V2 set with the EC25 Mini PCle 4G/LTE Module.

    It worked well on the USB port but I can’t make it work with the serial GPIO for some reasons. I read it could come from the mini serial that is used by default on the GPIO. Any idea of how use it directly ?

    Thank you for your help.
    Best regards.

    1. Hi,

      1. Did you bridge the UART resistor sections available under the shield?
      2. Did you enable Serial port hardware and disable getty service?

  10. I’m using “EC25-E 4G/LTE Mini PCIe with Raspberry Pi 3G-4G/LTE Base Shield V2” in Eagleye530s (artik 533 based) with ubuntu Ubuntu 16.04.5 LTS and 4.4.113-0533GS0F-44U-01Q5 kernel, and get:

    Couldn’t open the /dev/ppp device: No such device or address
    modprobe: FATAL: Module ppp_generic not found in directory /lib/modules/4.4.113-0533GS0F-44U-01Q5
    pppd: Please load the ppp_generic kernel module.

    Any idea? Regards

  11. Hello!
    I am trying to follow the steps, but after the final question “do you want to activate the reconnect service?” my whole Raspberry Pi shuts off and reboot.
    I have a 5V3A charger, an EC25-E module and a V2 Base Shield. I am using my Virgin Mobile SIM card, with the goto.virginmobile.uk APN.
    Would anyone know what is going wrong?

    Thank you very much!

  12. Thank you Saeed. Actually it did reboot in an anomalous way, before saving the settings. I had the charger connected to a power strip, I then connected it directly to a socket and it seems it goes to its normal reboot. But then? How do I actually connect to the internet once the Raspberry Pi has rebooted? Even saving the connect automatically option it does not connect automatically… Thanks for your advice

  13. TIP
    If you have to delete and re-add the default ppp0 route restart your network or at least i had too for the new route take effect.

    sudo route del default
    sudo route add default ppp0
    sudo /etc/init.d/networking restart

  14. Hey Saeed,
    I use a SIM card for eplus (AldiTalk) which works in another Router perfectly.
    In this router (3G router) the 3G authenitcation method is set to “none”.
    When I insert the SIM into my raspi with LTE shield and following your instructions, I get the following output:

    pppd options in effect:
    debug # (from /etc/ppp/peers/provider)
    updetach # (from /etc/ppp/peers/provider)
    dump # (from /etc/ppp/peers/provider)
    noauth # (from /etc/ppp/peers/provider)
    remotename 3gppp # (from /etc/ppp/peers/provider)
    /dev/ttyUSB3 # (from /etc/ppp/peers/provider)
    115200 # (from /etc/ppp/peers/provider)
    lock # (from /etc/ppp/peers/provider)
    connect chat -s -v -f /etc/chatscripts/chat-connect -T internet # (from /etc/ppp/peers/provider)
    disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
    nocrtscts # (from /etc/ppp/peers/provider)
    modem # (from /etc/ppp/peers/provider)
    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/provider)
    novj # (from /etc/ppp/peers/provider)
    novjccomp # (from /etc/ppp/peers/provider)
    ipcp-accept-local # (from /etc/ppp/peers/provider)
    ipcp-accept-remote # (from /etc/ppp/peers/provider)
    ipparam 3gppp # (from /etc/ppp/peers/provider)
    noipdefault # (from /etc/ppp/peers/provider)
    ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
    defaultroute # (from /etc/ppp/peers/provider)
    usepeerdns # (from /etc/ppp/peers/provider)
    noccp # (from /etc/ppp/peers/provider)
    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)
    ^M
    OK
    — got it

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

    send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
    expect (OK)
    ^M
    ^M
    Quectel^M
    EC25^M
    Revision: EC25EFAR06A03M4G^M
    ^M
    SubEdition: V03^M
    ^M
    +CSQ: 26,99^M
    ^M
    +COPS: 0^M
    ^M
    +CGREG: 0,2^M
    ^M
    OK
    — got it

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

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

    Script chat -s -v -f /etc/chatscripts/chat-connect -T internet finished (pid 1063), status = 0x0
    Serial connection established.
    using channel 3
    Using interface ppp0
    Connect: ppp0 /dev/ttyUSB3
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x6 ]
    No auth is possible
    sent [LCP ConfRej id=0x6 ]
    rcvd [LCP ConfAck id=0x1 ]
    rcvd [LCP ConfReq id=0x7 ]
    sent [LCP ConfAck id=0x7 ]
    sent [LCP EchoReq id=0x0 magic=0x7114b92a]
    sent [IPCP ConfReq id=0x1 ]
    rcvd [LCP DiscReq id=0x8 magic=0xd5f47a24]
    rcvd [LCP EchoRep id=0x0 magic=0xd5f47a24 71 14 b9 2a]
    Modem hangup
    Connection terminated.

    What am I doing wrong?
    Thx for help, Volker

  15. Hi Saeed
    Thank a lot by your support.
    I bought a sixfab for 3G, 4G/LTE base shield V2 in order to connect to my carrier T-mobile. I’m using a Quectel EC25-AF. I try to follow your post but I can’t connect or surf. What I’m wrong?. Attached the log. Thanks by your help.

    [email protected]:~ $ sudo pppd call gprs
    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 fast.t-mobile.com# (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)
    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)
    ^M
    OK
    — got it

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

    send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
    expect (OK)
    ^M
    ^M
    Quectel^M
    EC25^M
    Revision: EC25AFFAR07A03M4G^M
    ^M
    SubEdition: V05^M
    ^M
    +CSQ: 29,99^M
    ^M
    +COPS: 0,0,”T-Mobile”,7^M
    ^M
    +CGREG: 0,1^M
    ^M
    OK
    — got it

    send (AT+CGDCONT=1,”IP”,”fast.t-mobile.com”,,0,0^M)
    expect (OK)
    ^M
    ^M
    OK
    — got it

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

    Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T fast.t-mobile.com finished (pid 2730), status = 0x0
    Serial connection established.
    using channel 3
    Using interface ppp0
    Connect: ppp0 /dev/ttyUSB3
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x9 ]
    No auth is possible
    sent [LCP ConfRej id=0x9 ]
    rcvd [LCP ConfAck id=0x1 ]
    rcvd [LCP ConfReq id=0xa ]
    sent [LCP ConfAck id=0xa ]
    sent [LCP EchoReq id=0x0 magic=0xeae6e4c2]
    sent [IPCP ConfReq id=0x1 ]
    rcvd [LCP DiscReq id=0xb magic=0xc3c9738]
    rcvd [LCP EchoRep id=0x0 magic=0xc3c9738 ea e6 e4 c2]
    Modem hangup
    Connection terminated.
    [email protected]:~ $ ifconfig ppp0
    ppp0: error fetching interface information: Device not found

  16. Hey Saeed,
    thx for answer.

    I tried internet.eplus.de also before with the same result.
    Then I switched to internet because my 3G Router uses this APN and can connect to the internet with it.

    Script chat -s -v -f /etc/chatscripts/chat-connect -T internet.eplus.de finished (pid 10462), status = 0x0
    Serial connection established.
    using channel 13
    Using interface ppp0
    Connect: ppp0 /dev/ttyUSB3
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x24 ]
    No auth is possible
    sent [LCP ConfRej id=0x24 ]
    rcvd [LCP ConfAck id=0x1 ]
    rcvd [LCP ConfReq id=0x25 ]
    sent [LCP ConfAck id=0x25 ]
    sent [LCP EchoReq id=0x0 magic=0x7a3eaccb]
    sent [IPCP ConfReq id=0x1 ]
    rcvd [LCP DiscReq id=0x26 magic=0xe496b039]
    rcvd [LCP EchoRep id=0x0 magic=0xe496b039 7a 3e ac cb]
    Modem hangup
    Connection terminated.

  17. Hi Saeed:
    I am using the “Sixfab GSM/GPRS shield v1.5”. I connected the shield through the microUSB to Raspberry Pi 3 B, the OS is Raspbian Stretch. I followed the the steps in this tutorial, after the pi rebooted, I got the following error:

    [email protected]:~ $ sudo pon
    /usr/sbin/pppd: In file /etc/ppp/peers/provider: unrecognized option ‘/dev/’

    I am doing my senior design, and the system need to be connected to cloud, as well as GPS coordinates, I would really grateful if you could help me to find a tutorial which provide those information.

  18. Hey Saeed,
    do you have any further ideas how to get a connection in my case?
    If not, the inventment in the shield seems to be useless for me ;(

    Greetings
    Volker

  19. Trying to get PPP internetconnection working on Raspberry pi3B+ using Raspberry Pi Cellular IoT HAT – LTE-M & NB-IoT & eGPRS

    The install script works fine. But trying to start with “sudo pon” gives me the error “/usr/sbin/pppd: In file /etc/ppp/peers/provider: unrecognized option ‘/dev/ttyS0’
    What am I doing wrong?

    Another question: Is it possible to get the hat to work as PPP without the USB-cable? (using that cable I might as well use a USB-modem)

  20. In what way should I power it?
    I have the hat connected to the Pi via the I/O header and the USB-cable. Does it need separate power supply, and where should I connect it?

    1. For you Raspberry Pi Cellular IoT HAT, connecting through UART is enough. There is no need for a separate power supply.

  21. hello,
    when i use the sudo pon command i get this output.

    pppd options in effect:
    debug # (from /etc/ppp/peers/provider)
    updetach # (from /etc/ppp/peers/provider)
    dump # (from /etc/ppp/peers/provider)
    noauth # (from /etc/ppp/peers/provider)
    remotename 3gppp # (from /etc/ppp/peers/provider)
    /dev/ttyS0 # (from /etc/ppp/peers/provider)
    115200 # (from /etc/ppp/peers/provider)
    lock # (from /etc/ppp/peers/provider)
    connect chat -s -v -f /etc/chatscripts/chat-connect -T fast.t-mobile.com # (from /etc/ppp/peers/provider)
    disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
    nocrtscts # (from /etc/ppp/peers/provider)
    modem # (from /etc/ppp/peers/provider)
    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/provider)
    novj # (from /etc/ppp/peers/provider)
    novjccomp # (from /etc/ppp/peers/provider)
    ipcp-accept-local # (from /etc/ppp/peers/provider)
    ipcp-accept-remote # (from /etc/ppp/peers/provider)
    ipparam 3gppp # (from /etc/ppp/peers/provider)
    noipdefault # (from /etc/ppp/peers/provider)
    ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
    defaultroute # (from /etc/ppp/peers/provider)
    usepeerdns # (from /etc/ppp/peers/provider)
    noccp # (from /etc/ppp/peers/provider)
    noipx # (from /etc/ppp/options)
    Device ttyS0 is locked by pid 2855

    How do i get the ttys0 device to be unlocked thanks

  22. Hi Saeed, Thank you for the update.

    I’ve installed ppp for my Raspberry Pi Cellular IoT HAT. I’ve chosen the GPRS/EDGE technology. APN : Sunsurf (Singapore) Port : ttyUSB0.

    I cannot connect to internet. Here is my log :

    Apr 18 11:34:18 beam chat[1041]: expect (OK)
    Apr 18 11:34:18 beam sh[539]: expect (OK)
    Apr 18 11:34:48 beam chat[1041]: alarm
    Apr 18 11:34:48 beam sh[539]: alarm
    Apr 18 11:34:48 beam sh[539]: Failed
    Apr 18 11:34:48 beam chat[1041]: Failed
    Apr 18 11:34:48 beam sh[539]: Script chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf finished (pid 1040), status = 0x3
    Apr 18 11:34:48 beam sh[539]: Connect script failed
    Apr 18 11:34:48 beam pppd[1038]: Script chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf finished (pid 1040), status = 0x3
    Apr 18 11:34:48 beam pppd[1038]: Connect script failed
    Apr 18 11:34:49 beam pppd[1038]: Exit.
    Apr 18 11:34:50 beam sh[539]: /usr/src/reconnect.sh: 13: /usr/src/reconnect.sh: gpio: not found
    Apr 18 11:34:50 beam sh[539]: /usr/src/reconnect.sh: 13: [: =: unexpected operator
    Apr 18 11:34:50 beam sh[539]: ping: SO_BINDTODEVICE: Invalid argument
    Apr 18 11:34:50 beam sh[539]: Connection down, reconnecting…
    Apr 18 11:34:50 beam pppd[1074]: pppd options in effect:
    Apr 18 11:34:50 beam sh[539]: pppd options in effect:
    Apr 18 11:34:50 beam sh[539]: debug#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: updetach#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: dump#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: noauth#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: remotename 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: /dev/ttyUSB0#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: 115200#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: lock#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: connect chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: disconnect chat -s -v -f /etc/chatscripts/chat-disconnect#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: nocrtscts#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: modem#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: asyncmap 0#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam sh[539]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam sh[539]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam sh[539]: hide-password#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: novj#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: novjccomp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: ipcp-accept-local#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: ipcp-accept-remote#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: ipparam 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: noipdefault#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: ipcp-max-failure 30#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: defaultroute#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: usepeerdns#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: noccp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam sh[539]: noipx#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam pppd[1074]: debug#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: updetach#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: dump#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: noauth#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: remotename 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: /dev/ttyUSB0#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: 115200#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: lock#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: connect chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: disconnect chat -s -v -f /etc/chatscripts/chat-disconnect#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: nocrtscts#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: modem#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: asyncmap 0#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam pppd[1074]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam pppd[1074]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam pppd[1074]: hide-password#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: novj#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: novjccomp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: ipcp-accept-local#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: ipcp-accept-remote#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: ipparam 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: noipdefault#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: ipcp-max-failure 30#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: defaultroute#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: usepeerdns#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: noccp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:34:50 beam pppd[1074]: noipx#011#011# (from /etc/ppp/options)
    Apr 18 11:34:50 beam pppd[1074]: pppd 2.4.7 started by root, uid 0
    Apr 18 11:34:51 beam chat[1077]: abort on (BUSY)
    Apr 18 11:34:51 beam chat[1077]: abort on (NO CARRIER)
    Apr 18 11:34:51 beam sh[539]: abort on (BUSY)
    Apr 18 11:34:51 beam sh[539]: abort on (NO CARRIER)
    Apr 18 11:34:51 beam sh[539]: abort on (NO DIALTONE)
    Apr 18 11:34:51 beam sh[539]: abort on (ERROR)
    Apr 18 11:34:51 beam sh[539]: abort on (NO ANSWER)
    Apr 18 11:34:51 beam sh[539]: timeout set to 30 seconds
    Apr 18 11:34:51 beam sh[539]: send (AT^M)
    Apr 18 11:34:51 beam chat[1077]: abort on (NO DIALTONE)
    Apr 18 11:34:51 beam chat[1077]: abort on (ERROR)
    Apr 18 11:34:51 beam chat[1077]: abort on (NO ANSWER)
    Apr 18 11:34:51 beam chat[1077]: timeout set to 30 seconds
    Apr 18 11:34:51 beam chat[1077]: send (AT^M)
    Apr 18 11:34:51 beam chat[1077]: expect (OK)
    Apr 18 11:34:51 beam sh[539]: expect (OK)
    Apr 18 11:35:21 beam chat[1077]: alarm
    Apr 18 11:35:21 beam sh[539]: alarm
    Apr 18 11:35:21 beam sh[539]: Failed
    Apr 18 11:35:21 beam chat[1077]: Failed
    Apr 18 11:35:21 beam sh[539]: Script chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf finished (pid 1076), status = 0x3
    Apr 18 11:35:21 beam sh[539]: Connect script failed
    Apr 18 11:35:21 beam pppd[1074]: Script chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf finished (pid 1076), status = 0x3
    Apr 18 11:35:21 beam pppd[1074]: Connect script failed
    Apr 18 11:35:22 beam pppd[1074]: Exit.
    Apr 18 11:35:23 beam sh[539]: /usr/src/reconnect.sh: 13: /usr/src/reconnect.sh: gpio: not found
    Apr 18 11:35:23 beam sh[539]: /usr/src/reconnect.sh: 13: [: =: unexpected operator
    Apr 18 11:35:23 beam sh[539]: ping: SO_BINDTODEVICE: Invalid argument
    Apr 18 11:35:23 beam sh[539]: Connection down, reconnecting…
    Apr 18 11:35:23 beam pppd[1127]: pppd options in effect:
    Apr 18 11:35:23 beam sh[539]: pppd options in effect:
    Apr 18 11:35:23 beam sh[539]: debug#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: updetach#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: dump#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: noauth#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: remotename 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: /dev/ttyUSB0#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: 115200#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: lock#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: connect chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: disconnect chat -s -v -f /etc/chatscripts/chat-disconnect#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: nocrtscts#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: modem#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: asyncmap 0#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam sh[539]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam sh[539]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam sh[539]: hide-password#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: novj#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: novjccomp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: ipcp-accept-local#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: ipcp-accept-remote#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: ipparam 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: noipdefault#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: ipcp-max-failure 30#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: defaultroute#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: usepeerdns#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: noccp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam sh[539]: noipx#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam pppd[1127]: debug#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: updetach#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: dump#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: noauth#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: remotename 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: /dev/ttyUSB0#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: 115200#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: lock#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: connect chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: disconnect chat -s -v -f /etc/chatscripts/chat-disconnect#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: nocrtscts#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: modem#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: asyncmap 0#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam pppd[1127]: lcp-echo-failure 4#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam pppd[1127]: lcp-echo-interval 30#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam pppd[1127]: hide-password#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: novj#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: novjccomp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: ipcp-accept-local#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: ipcp-accept-remote#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: ipparam 3gppp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: noipdefault#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: ipcp-max-failure 30#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: defaultroute#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: usepeerdns#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: noccp#011#011# (from /etc/ppp/peers/provider)
    Apr 18 11:35:23 beam pppd[1127]: noipx#011#011# (from /etc/ppp/options)
    Apr 18 11:35:23 beam pppd[1127]: pppd 2.4.7 started by root, uid 0
    Apr 18 11:35:24 beam chat[1129]: abort on (BUSY)
    Apr 18 11:35:24 beam chat[1129]: abort on (NO CARRIER)
    Apr 18 11:35:24 beam sh[539]: abort on (BUSY)
    Apr 18 11:35:24 beam sh[539]: abort on (NO CARRIER)
    Apr 18 11:35:24 beam sh[539]: abort on (NO DIALTONE)
    Apr 18 11:35:24 beam sh[539]: abort on (ERROR)
    Apr 18 11:35:24 beam sh[539]: abort on (NO ANSWER)
    Apr 18 11:35:24 beam sh[539]: timeout set to 30 seconds
    Apr 18 11:35:24 beam sh[539]: send (AT^M)
    Apr 18 11:35:24 beam chat[1129]: abort on (NO DIALTONE)
    Apr 18 11:35:24 beam chat[1129]: abort on (ERROR)
    Apr 18 11:35:24 beam chat[1129]: abort on (NO ANSWER)
    Apr 18 11:35:24 beam chat[1129]: timeout set to 30 seconds
    Apr 18 11:35:24 beam chat[1129]: send (AT^M)
    Apr 18 11:35:24 beam chat[1129]: expect (OK)
    Apr 18 11:35:24 beam sh[539]: expect (OK)

  23. Dear Saeed !
    I succeeded for install model 4G with my Rasp Pi follow all step you shared , now i can connect internet normally.
    I trying to check status of internet connection by AT command code but it not work. so , Can you help me !

    1. The USB provides you with 4 device options (ttyUSB0~3)
      Among them,
      ttyUSB0 DM
      ttyUSB1 GPS NMEA OUTPUT
      ttyUSB2 AT Command Communication
      ttyUSB3 PPP connection or AT command communication

  24. Hello Saeed,

    I’ve tried with ttyS0 and I have this error :
    pppd options in effect:
    debug # (from /etc/ppp/peers/provider)
    updetach # (from /etc/ppp/peers/provider)
    dump # (from /etc/ppp/peers/provider)
    noauth # (from /etc/ppp/peers/provider)
    remotename 3gppp # (from /etc/ppp/peers/provider)
    /dev/ttyS0 # (from /etc/ppp/peers/provider)
    115200 # (from /etc/ppp/peers/provider)
    lock # (from /etc/ppp/peers/provider)
    connect chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf # (from /etc/ppp/peers/provider)
    disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
    nocrtscts # (from /etc/ppp/peers/provider)
    modem # (from /etc/ppp/peers/provider)
    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/provider)
    novj # (from /etc/ppp/peers/provider)
    novjccomp # (from /etc/ppp/peers/provider)
    ipcp-accept-local # (from /etc/ppp/peers/provider)
    ipcp-accept-remote # (from /etc/ppp/peers/provider)
    ipparam 3gppp # (from /etc/ppp/peers/provider)
    noipdefault # (from /etc/ppp/peers/provider)
    ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
    defaultroute # (from /etc/ppp/peers/provider)
    usepeerdns # (from /etc/ppp/peers/provider)
    noccp # (from /etc/ppp/peers/provider)
    noipx # (from /etc/ppp/options)
    Can’t get terminal parameters: Input/output error
    Script chat -s -v -f /etc/chatscripts/chat-connect -T sunsurf finished (pid 3188), status = 0x2
    Connect script failed

    Do you think the problem can be with my SIM card ? I’m using a 4G SIM card and it might not be compatible with the HAT.

    1. It hasn’t even started communication with the SIM.
      Is your serial enabled?
      Could you please share the image of your setup?

      you can mail at hello[at]sixfab[dot]com

      1. Hi Saeed.

        Yes the serial is enabled and Login shell to be accessible over serial is disable.
        Thank you for your help, I have sent you a mail.

Leave a Reply

Your email address will not be published. Required fields are marked *