Navigation

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

    Custom ppp script for unsupported 3G modem (huawei E303)

    Hardware
    2
    3
    1353
    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.
    • M
      meka last edited by

      Dear everyone,

      I am trying to configure pfsense with a usb 3g modem Huawei E303 as WAN.

      It is recognized as cuaU0.0, cuaU0.1 and cuaU0.2 in pfsense.

      It works in Xubuntu 16.04 using the GUI and no particular configuration.

      In pfsense I monitored /var/log/ppp.log and it fails with 'ppp: [opt1_link0] chat: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.'.

      The only way I can make it work is through a custom ppp script in /etc/ppp.conf, then I use ppp -ddial myconnection. A new interface tun0 is created with the IP obtained from the provider.

      The problem is I cannot find the tun0 interface in the webGUI of pfsense. I also tried to modify /var/etc/mpd_wan.conf but it did not survive reboot.

      Is there a way I can use my tun0 interface or a custom ppp script in pfsense?

      Best regards

      1 Reply Last reply Reply Quote 0
      • A
        AndrewZ last edited by

        @meka:

        In pfsense I monitored /var/log/ppp.log and it fails with 'ppp: [opt1_link0] chat: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.'.

        The modem is unhappy with M1.
        Please check here: https://forum.pfsense.org/index.php?topic=105842.0

        1 Reply Last reply Reply Quote 0
        • M
          meka last edited by

          Thank you so much,

          I just added AT&F&C1&D2E0S0=0 as init string, the modem works with /dev/cuaU0.0

          Solved!!!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense Plus
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy