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

    Scripting the behaviour of Status --> Interfaces --> DHCP renew button

    Scheduled Pinned Locked Moved General pfSense Questions
    42 Posts 4 Posters 7.3k 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.
    • J
      jly2680 @bradtpt
      last edited by jly2680

      @bradtpt said in Scripting the behaviour of Status --> Interfaces --> DHCP renew button:

      @jly2680 unfortunately no.

      On other client sites I've used a netgear nighthawk in bridge mode for this and it's a solid solution... although for that to work you need to make pfsense override the subnet mask the dhcp passthrough from the nighthawk issues, it issues a /32 and needs to be changed to a /24 otherwise it can't contact the default gateway to actually get traffic out. To do this you need to add "supersede subnet-mask 255.255.255.0" to the "DHCP Option Modifiers" under the "Lease Requirements and Requests" portion of your interface connected to the nighthawk.

      I follow your suggestion but with e3372 plug at ddwrt (ncm-wwan interface bridge with wan port vlan 2 ) bridge with pfsense interface. pfsense as a dhcp client to 4g interface of ddwrt and it will pick up ISP IP which will avoid double nat issue .works pretty solid too..

      @stephenw10 said in Scripting the behaviour of Status --> Interfaces --> DHCP renew button:

      Hmm, well something is different there then.

      You could check what we were using at that time which I believe is here: https://github.com/pfsense/FreeBSD-src/tree/RELENG_2_3

      Steve

      Hope it does end well..

      1 Reply Last reply Reply Quote 0
      • W
        wrobelda
        last edited by

        While this is an old topic, for anyone struggling to get Huawei modem to connect in CDC ECM mode using NDISUP command, the problem is it will ignore those commands sent to cuX serial devices. They need to be sent using the WDM interface, which Linux exposes as cdc-wdmX, but FreeBSD does not.

        A workaround is to use a usbconfig command and send that command directly to the device. I explained my findings here: https://dawidwrobel.com/journal/initializing-lte-modem-using-raw-usb-communication/

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