Scripting the behaviour of Status --> Interfaces --> DHCP renew button
-
@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..
-
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/