OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Removing (removable) interface results in broken system
« previous next »
  • Print
Pages: [1]

Author Topic: Removing (removable) interface results in broken system  (Read 2564 times)

kuleszdl

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Removing (removable) interface results in broken system
« on: April 29, 2018, 02:49:21 am »
Hi,

I recently played around with an OPNSense box with an attached USB network interface. Everything was fine, until I removed the usb interface during operation. After that, the whole system became non-operational.

I investigated this and it seems that removing the interface resulted in a reboot, but since on the next boot the system noticed that something has changed in the interfaces, it has reset all interfaces to default. I understand that this makes sense security-wise, but especially in cases where

- removable interfaces are used and
- these interfaces are neither configured as lan or wan but as some optional interface

resetting *all* interfaces just because one was disconnected seems a bit over the top to me. And yes, I know that one gets asked on the next boot, but this is only visible on the local console...

Is this behavior really intended to be this harsh?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13693
  • Karma: 1176
    • View Profile
Re: Removing (removable) interface results in broken system
« Reply #1 on: May 02, 2018, 04:57:11 pm »
Yes, set "Prevent interface removal" if you need to for easily removable interfaces in their respective configuration page. We do this automatically for Zerotier and ue(4) devices, but doing it for all possible devices is an uphill battle.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Removing (removable) interface results in broken system
 

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