OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Help Me Understand What's Going On With This Interface
« previous next »
  • Print
Pages: [1]

Author Topic: Help Me Understand What's Going On With This Interface  (Read 988 times)

smajor

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 10
    • View Profile
Help Me Understand What's Going On With This Interface
« on: February 25, 2024, 12:13:20 am »
I've been using OpnSense for as long as I can remember. I have switched hardware a number of times. Today, I ran into something I've never seen and just can't figure out.

My current hardware has 3 interfaces: em0, em1, and em2.  Only em0 (LAN) and em1 (WAN) are used.

My drive has been having some issues reported by SMART, but otherwise everything has been working.  Today I decided to backup my configuration, put a new drive in and restore from backup.  Nothing I have not done before.

No WAN internet. After 2 hours combing over my config, on a lark I decided to reassign em2 as WAN and unassign em1.

Everything works perfectly with that change. I did nothing else. I have not tried swapping them back yet.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Help Me Understand What's Going On With This Interface
« Reply #1 on: February 25, 2024, 09:26:23 am »
Since your interfaces were all working before, I would check the physical connections that you plugged back in after working on the storage.
Logged

smajor

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 10
    • View Profile
Re: Help Me Understand What's Going On With This Interface
« Reply #2 on: February 25, 2024, 02:03:28 pm »
All were/are fine, link lights and all.  First thing I did when things went wrong, actually.
Logged

Saarbremer

  • Sr. Member
  • ****
  • Posts: 353
  • Karma: 14
    • View Profile
Re: Help Me Understand What's Going On With This Interface
« Reply #3 on: February 25, 2024, 03:57:03 pm »
Did you check the config file? You say your SDD/HDD died maybe the file was already broken when retrieved. However, I am not sure whether OPNsense's config importer would notice that (e.g. premature end of file)
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: 78
    • View Profile
Re: Help Me Understand What's Going On With This Interface
« Reply #4 on: February 25, 2024, 07:37:29 pm »
Quote from: smajor on February 25, 2024, 02:03:28 pm
All were/are fine, link lights and all.  First thing I did when things went wrong, actually.

If you can rule out physical issues (damaged cable / port) then it could be electrical if you weren't properly grounded when swapping drives.

If a battery is present you can try unplugging everything and taking out (even replacing) the battery, else simply leaving it unplugged a few minutes from everything - for all the capacitors to discharge - might suffice.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Help Me Understand What's Going On With This Interface
 

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