-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi.
> I've been looking around the site but have not yet found > documentation for "this sort of thing" - any hints? Not really, sorry. You'll find docs for it if you know how to name it and wehat to look for. > I have changed this to: if [ "$ACTION" = ifup ] && [ "$INTERFACE" > = lan ]; then as otherwise it seemed to be doing it to the > loopback (127.0.0.1) interface as well. My fault, "lo" should've been "loopback". > I still have to have a "sleep" in the script - otherwise it does > not find a valid IGD. It seems to need about ten or a bit more > seconds, but I am giving it 60 to be on the safe side. Odd, maybe DNS takes a while to settle. > Also, I am back to logging in /tmp: /usr/bin/upnpc -a "$ipaddr" > 1234 1234 tcp >> /tmp/pnpc.log as I am not sure how to use logger > to capture all the output of upnpc - if I use backticks I get just > the first line. /usr/bin/upnpc -a "$ipaddr" 1234 1234 tcp | logger -t 90-upnpc - > Another question on upnpc - when it does work, the "Application > Name" in the router's port forwarding table lists "miniupnpc". I > would like to change this to a string of my choosing (e.g. > "AskDomAboutThis" would be good...) Is this possible? I suppose you have to recompile or binary-patch to change it. ~ Jow -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDCApYACgkQdputYINPTPMc0QCgpQkHg9NDPxlDcqyHDuY3WOrU UgEAniJt1WetV3/nkjVAbUnXKfpTcp0W =0ROS -----END PGP SIGNATURE----- _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
