Question about miniupnpd package
-
I was looking at the Installed Packages section of my pfSense 1.2-BETA-2 box and I noticed that for miniupnpd it listed:
Current: 20070927
Installed: 20070521If I select "Reinstall this package" will it automatically install the newer version of miniupnpd and overwrite the older version?
-
Yes.
Its installled by default in the latest Release Candidate RC2 which is pretty stable so you could update your firmware as well.
-
Well, let me be a little more specific. If I leave my pfSense install at 1.2 Beta-2 (and not update the firmware), will selecting "Reinstall this package" install the newer version of the package?
-
uninstall miniupnp. it's only needed for pre 1.2 versions. then upgrade to the latest 1.2rc2 snapshot.
-
OK, I guess this is the reason why I have a "UPnP" and "MiniUPnPd" for services listed. I'm going to wait until 1.2 is final before updating or changing. Thanks.
-
Well I decided to uninstall miniupnp on hoba's suggestion. It says the package successfully deleted, but unfortunately MiniUPnPd is still listed under services. When I tried to select it I received a 404 message.
What's worse is that when I try to select UPnP under services I receive the following message: "Warning: fopen(/usr/local/pkg/miniupnpd.xml): failed to open stream: No such file or directory in /etc/inc/xmlparse.inc on line 158 Error: could not open XML input".
-
did you try to reupgrade with the latest 1.2 snapshot? you might need to do that as the package deinstallation might have deleted some of the files that are now in base system.
-
did you try to reupgrade with the latest 1.2 snapshot? you might need to do that as the package deinstallation might have deleted some of the files that are now in base system.
Yep the same files are in the base system now that were in the package. Please reupgrade with the latest snapshot. It also sounds like the miniupnpd package didn't cleanly uninstall, probably due to it being included in 1.2. You will need to backup your config, remove miniupnpd from the installedpackages section, and restore your config to remove the duplicate menu item.
The miniupnpd lines in the installedpackages section will resemble this
<installedpackages><package><name>miniupnpd</name> <descr>Emulates Microsoft's Internet Connection Service (ICS). It implements the UPnP Internet Gateway Device specification (IGD) and allows UPnP aware clients, such as MSN Messenger to work properly from behind a NAT firewall.</descr> <website>http://miniupnp.free.fr/</website> <category>Network Management</category> <maintainer>seth.mos@xs4all.nl ryan@wgnrs.dynu.com</maintainer> <version>20070208</version> <required_version>1.0</required_version> <status>Stable</status> <config_file>http://www.pfsense.com/packages/config/miniupnpd/miniupnpd.xml</config_file> <configurationfile>miniupnpd.xml</configurationfile></package> <menu> <name>MiniUPnPd</name> <tooltiptext>Set miniupnpd settings such as interfaces to listen on.</tooltiptext> Services <url>/status_upnp.php</url> </menu> <service><name>miniupnpd</name> <rcfile>miniupnpd.sh</rcfile> <executable>miniupnpd</executable></service> <miniupnpd><config><enable>on</enable> <iface_array>lan</iface_array> <download><upload><overridewanip><logpackets><sysuptime>on</sysuptime></logpackets></overridewanip></upload></download></config></miniupnpd></installedpackages>
You want it to just to have this section, remove the other miniupnpd sections.
<installedpackages><miniupnpd><config><enable>on</enable> <iface_array>lan</iface_array> <download>5000</download> <upload>2000</upload> <overridewanip><logpackets><sysuptime>on</sysuptime> <permdefault></permdefault></logpackets></overridewanip></config></miniupnpd></installedpackages>
-
I did a firmware update last night to 1.2 RC2, and it seems to have cleared up on its own. Both the UPnP and MiniUPnPd pages show up properly now. Thanks everyone!