OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Interface mismatch detected. Please resolve the mismatch...
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Interface mismatch detected. Please resolve the mismatch...  (Read 9300 times)

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
[SOLVED] Interface mismatch detected. Please resolve the mismatch...
« on: July 07, 2015, 06:16:16 pm »
hello there,

i tried to import my config after a complete reinstallation from a backup machine. I forgot to load my specific driver first and at the reboot I get this message :

Interface mismatch detected. Please resolve the mismatch and click 'Apply changes'. The firewall will reboot afterwards.

I review my configuration and reboot many times. But since, I always get the message and everything is correct now. I double check with a ifconfig which is fine.

Do I simply need to remove the file in /var/run to avoid this message ? I don't uderstand why there is an interface mismatch now.

Thank you for your help
Romain
« Last Edit: July 08, 2015, 10:28:53 pm by franco »
Logged

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #1 on: July 07, 2015, 07:55:48 pm »
Perhaps you can do a "restore defaults" and then import your config to solve the issue. Please try.
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #2 on: July 07, 2015, 08:21:55 pm »
I just tried and even on the Factory Default mode I have this error message.

I'm trying to install opnsense again from scratch
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #3 on: July 08, 2015, 07:58:25 am »
We've changed the configuration handling a little for 15.7. If the driver isn't loaded at bootup (which one, btw.) the interfaces won't show, causing a mismatch. Would you consider using /boot/loader.conf to load the driver on startup to see if the mismatch message disappears?
« Last Edit: July 08, 2015, 08:00:05 am by franco »
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #4 on: July 08, 2015, 04:41:32 pm »
I use oce.ko driver found in FreeBSD 10.1 release.

I already use loader.conf.

I remove the file in /var/run and everything seems to be fine now.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #5 on: July 08, 2015, 04:56:55 pm »
Which file in /var/run are you referring to?
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #6 on: July 08, 2015, 08:03:18 pm »
I removed the empty file interface_mismatch_reboot_needed

Since the removal I didn't get the message back.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Interface mismatch detected. Please resolve the mismatch and click Apply change
« Reply #7 on: July 08, 2015, 10:28:30 pm »
Aha, thanks for letting me know. I purged the file generation. If backups are imported that have mismatches, then there is something wrong with your backup.... The console will try to prompt for interface reassignment on reboot in this case now. No more spurious message in the GUI. Thanks!

See: https://github.com/opnsense/core/commit/feb9e72289ddea4e2cc34deeb1a82bae0a598300
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: [SOLVED] Interface mismatch detected. Please resolve the mismatch...
« Reply #8 on: July 09, 2015, 07:38:51 am »
Good Thank you !
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: [SOLVED] Interface mismatch detected. Please resolve the mismatch...
« Reply #9 on: July 15, 2015, 08:45:27 am »
hello Franco, did you have time to look after my trouble ? Please let me know if you want me to test anything.

Romain
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: [SOLVED] Interface mismatch detected. Please resolve the mismatch...
« Reply #10 on: July 15, 2015, 09:14:36 am »
Hi romain,

the problem of this thread has been fixed in 15.7.2.

If you are talking about VLAN HW filtering, that is still being tested and thus not finalised (we have a preliminary fix in master but it doesn't work as well as it should).


Cheers,
Franco
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: [SOLVED] Interface mismatch detected. Please resolve the mismatch...
« Reply #11 on: July 15, 2015, 10:58:37 am »
Oups Sorry. This is not the correct thread. All good so thank you.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Interface mismatch detected. Please resolve the mismatch...
 

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