OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] miniupnpd does not start automatically
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] miniupnpd does not start automatically  (Read 4446 times)

GurliGebis

  • Newbie
  • *
  • Posts: 39
  • Karma: 3
    • View Profile
[SOLVED] miniupnpd does not start automatically
« on: January 26, 2017, 09:23:18 pm »
I have two OPNsense VM's configured, but for some reason, on none of them does miniupnpd start automatically.

In the config file, the only mention of it is this section:

Code: [Select]
  <installedpackages>
    <miniupnpd>
      <config>
        <enable>1</enable>
        <enable_upnp>1</enable_upnp>
        <enable_natpmp>1</enable_natpmp>
        <ext_iface>wan</ext_iface>
        <download/>
        <upload/>
        <overridewanip/>
        <permuser1/>
        <permuser2/>
        <permuser3/>
        <permuser4/>
        <iface_array>lan</iface_array>
      </config>
    </miniupnpd>
  </installedpackages>

Am I missing something, or how do I get it to autostart?
« Last Edit: January 26, 2017, 11:12:53 pm by GurliGebis »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: miniupnpd does not start automatically
« Reply #1 on: January 26, 2017, 10:35:38 pm »
Did you.... install the plugin? It's in the notes. ;)


Cheers,
Franco
Logged

GurliGebis

  • Newbie
  • *
  • Posts: 39
  • Karma: 3
    • View Profile
Re: miniupnpd does not start automatically
« Reply #2 on: January 26, 2017, 10:53:49 pm »
Indeed I did - it starts fine if I click the play button.
But on every restart, it is back in the stopped state :D
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: miniupnpd does not start automatically
« Reply #3 on: January 26, 2017, 10:55:04 pm »
Ok, odd, let me check that real quick.

On second thought I know why.
Logged

GurliGebis

  • Newbie
  • *
  • Posts: 39
  • Karma: 3
    • View Profile
Re: miniupnpd does not start automatically
« Reply #4 on: January 26, 2017, 11:01:57 pm »
Something related to it being moved to a module, and therefor not registering correctly as a boot service?
Or the order of things, so modules is loaded after boot services has run?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: miniupnpd does not start automatically
« Reply #5 on: January 26, 2017, 11:06:05 pm »
This: https://github.com/opnsense/plugins/commit/a0742c37

Applies from the console...

# opnsense-patch -c plugins a0742c37

We removed the backwards-compat for the plugin_configure() calls, which left a few stranded on boot. Many thanks for the report!


Cheers,
Franco
Logged

GurliGebis

  • Newbie
  • *
  • Posts: 39
  • Karma: 3
    • View Profile
Re: miniupnpd does not start automatically
« Reply #6 on: January 26, 2017, 11:12:39 pm »
That seems to fix it :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: [SOLVED] miniupnpd does not start automatically
« Reply #7 on: January 26, 2017, 11:35:13 pm »
Hooray, and just in time for 17.1. 8)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] miniupnpd does not start automatically
 

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