Closed definitio closed 4 years ago
reload fires configctl interface reload
...
---[POSTs submit=remote]>
I see but configctl interface reconfigure <interface_name>
is not enough, the interface is still down after running command.
Looks like I found solution. There are dhclient
and /usr/local/etc/rc.newwanip
in the sytem log after pressing reload
button. configctl interface reconfigure <interface_name> && dhclient <interface_name> && configctl interface newip <interface_name>
works for me after manual modem disconnection.
Thanks for help!
I know this is closed but following up because I had the same exact issue, however you script did not help get my IPv6 interface back up. So I utilized these commands which fixed my issue. /usr/local/sbin/configctl interface linkup stop <interface> && /usr/local/sbin/configctl interface reconfigure <interface> && /usr/local/sbin/configctl interface linkup start <interface>
Is your feature request related to a problem? Please describe. I have a usb LTE modem that hangs sometimes. There is solution: reset device via
usbconfig reset
and reload interface via GUI. I want to automate it with Monit, butconfigctl interface reconfigure <interface_name>
doesn't work as expected for me.Describe the solution you'd like I would like to have a command like
configctl interface reload <interface_name>
that acts asreload
button fromInterfaces: Overview
.Additional context Forum thread: https://forum.opnsense.org/index.php?topic=14848.0