OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Interface Configuration Loop
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Interface Configuration Loop  (Read 4358 times)

ericdude101

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
[SOLVED] Interface Configuration Loop
« on: February 22, 2017, 12:24:11 am »
Hello,

Im trying to resolve an issue with a new installation, I was able to get everything installed and setup without issue EXCEPT:

I'm using a three NIC setup to have an out of band management port which I was able to configure and have work exactly as expected, but as soon as I reboot I see the message during boot that says "Default interfaces not found -- Running interface assignment option." which is totally automated and reset all my interface config and breaks my setup.

Is this a self-healing option I can simply disable or is this a software bug of some sort?
« Last Edit: February 22, 2017, 09:01:07 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: Interface Configuration Loop
« Reply #1 on: February 22, 2017, 07:19:41 am »
If interfaces go away during boot, the system tries to recover into a good known state based on the interfaces that are present in the system.

Are you using a USB NIC? If the NIC takes too long to be visible or changes its name, there's a problem. There are scripting workarounds for this in the form of boot delays we could try.
Logged

ericdude101

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Interface Configuration Loop
« Reply #2 on: February 22, 2017, 08:56:29 am »
I did end up enabling a delay in the loader.config file which appears to have fixed it
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: Interface Configuration Loop
« Reply #3 on: February 22, 2017, 09:00:58 am »
There's a plugin for that: os-boot-delay. /boot/loader.conf changes are not permanent. Either use the plugin (it has a fixed 10 seconds delay at this time) or edit /boot/loader.conf.local instead.


Cheers,
Franco
Logged

ericdude101

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [SOLVED] Interface Configuration Loop
« Reply #4 on: February 24, 2017, 01:42:20 am »
The file /boot/loader.conf.local doesn't exist. I actually enabled the delay in the file located at /boot/defaults/loader.conf
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: [SOLVED] Interface Configuration Loop
« Reply #5 on: February 24, 2017, 05:38:08 pm »
Quote from: ericdude101 on February 24, 2017, 01:42:20 am
The file /boot/loader.conf.local doesn't exist. I actually enabled the delay in the file located at /boot/defaults/loader.conf


/boot/defaults/loader.conf is also not persistent, any changes will be lost in an upgrade.

Either create the file /boot/loader.conf.local and put the changes there, or install the os-boot-delay plugin as franco said.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Interface Configuration Loop
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2