Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] Configuring interfaces from the cli
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Configuring interfaces from the cli (Read 13393 times)
binaryanomaly
Full Member
Posts: 163
Karma: 9
[Solved] Configuring interfaces from the cli
«
on:
May 19, 2020, 09:20:56 pm »
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.
«
Last Edit: May 22, 2020, 12:16:26 pm by binaryanomaly
»
Logged
binaryanomaly
Full Member
Posts: 163
Karma: 9
Re: Configuring interfaces from the cli
«
Reply #1 on:
May 22, 2020, 10:05:21 am »
Ok I guess what I'd wanted to know was:
Code:
[Select]
sudo /usr/local/sbin/opnsense-shell
Maybe it sometime helps someone else as it's not documented anywhere, afaik.
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: [Solved] Configuring interfaces from the cli
«
Reply #2 on:
May 22, 2020, 06:19:12 pm »
It's there in the terminal menu, assignment is option 1. The same menu you got to when you installed Opnsense.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] Configuring interfaces from the cli