Hi,
How are interfaces configured the right way from the cli?
I recently changed nics on my vm which caused the interface auto assignment to kick in and configure my interfaces wrongly.
How can I properly configure them again from the cli?
Is there a way to invoke the original script from the installer to do that?
I only managed to set the ip manually via ifconfig and could then luckily connect to the webui again.
Guess there must be a better way but haven't found one.
Ok I guess what I'd wanted to know was:
sudo /usr/local/sbin/opnsense-shell
Maybe it sometime helps someone else as it's not documented anywhere, afaik.
It's there in the terminal menu, assignment is option 1. The same menu you got to when you installed Opnsense.