Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PPP in 2.0 ALPHA

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 3 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sgray
      last edited by

      Hey all,

      I am wondering if anyone here has successfully set-up a simple PPP link over a serial port on 2.0 ALPHA?  I've been trying this and, even though I am keeping things simple, I cannot get pfsense to interact even with a simple external modem on COM1 (which I assume is /dev/cuau0 in bsd/pfsense because that and cuau1 are my only choices).

      My ultimate goal is to get an active PPP link on my Sierra Wireless MP775 EDGE modem.  I can do this on windows (yuck!) right now via a simple PPP "dial-up connection" with nothing more than a value in the phone number field.  I have an init string for this box, but it is not required.

      My thinking is that, as long as the PPP function in pfsense is operational, I should be able to set-up a simple connection just like on windows.

      Thanks to all for any suggestions.

      1 Reply Last reply Reply Quote 0
      • G
        gnhb
        last edited by

        I have done extensive testing with PPP. I use both a Sierra Wireless Compass 885 USB modem and a Novatel Option MC950D USB modem and they both work great.

        Currently there is a problem with the dialing text string that the auto-fill "Sprint" or "AT&T" links give you when you're on the page to set up or edit your ppp connection. For my connection I don't need any username or password so my dial command looks like this:

        "TIMEOUT 4 "" AT OK ATDT\T TIMEOUT 20 CONNECT"

        This is the default for "AT&T" but it has errors because of php string handling I guess. I found that you don't need most of the "ABORT" commands because my 3G modem responds with "ERROR" when I type "ABORT BUSY" to the serial port manually.
        "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATQ0V1E1S0=0&C1&D2+FCLASS=0 OK AT+CGDCONT=1,"IP","ISP.CINGULAR" OK \dATDT\T TIMEOUT 40 CONNECT"

        Try this one . . . (cut and paste)

        "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATQ0V1E1S0=0&C1&D2+FCLASS=0 OK AT+CGDCONT=1,"IP","ISP.CINGULAR" OK ATDT\T TIMEOUT 20 CONNECT"

        If that works, try this one . . . it may speed things up a little

        "TIMEOUT 5 "" AT OK AT+CGDCONT=1,"IP","ISP.CINGULAR" OK ATDT\T TIMEOUT 20 CONNECT"

        I found that you don't need most of the "ABORT" commands because my 3G modem responds with "ERROR" when I type "ABORT BUSY" to the serial port manually.

        Good Luck.

        GNB

        1 Reply Last reply Reply Quote 0
        • S
          sgray
          last edited by

          Thanks for the details!  I'll give that a shot.

          1 Reply Last reply Reply Quote 0
          • S
            sgray
            last edited by

            Hopefully somebody can help.  I have several modems I've tried, some work and create ports, some don't.  For now, I have a Sierra Aircard 881 that seems to work with bsd/pfsense.  Ports show up.  I create a PPP connection and save it as the active "WAN" interface.  I've tried every string that people have share and nothing works.  T-Mobile USA is the provider.  I have issued the following commands on the card's 1st serial port on a windows box and get a "CONNECT" with no problem.  PLEASE HELP!

            ATZ
            OK
            ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
            OK
            at+cgdcont=1,"IP","internet3.voicestream.com"
            OK
            ATDT*99#
            CONNECT

            I have tried to work these settings into one of the pre-built strings and have had no success.

            Certainly somebody is using the PPP function on the same or similar Sierra card.  I think the USB 881 is the same.

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              How many ports your driver creates?

              1 Reply Last reply Reply Quote 0
              • S
                sgray
                last edited by

                Four ports on bsd/pfsense. /dev/cuaU0.0, 0.1, 0.2, 0.3 (in addition to the 2 integrated rs232 ports that show up for the host box itself(/dev/cuau0, 1))  More show up when attached to a windows box.  It is a Sierra Aircard 881 (cardbus) model.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.