Charles and all,
I have successfully migrated my EigerStein + extended scripts to DacStein PR4. This
took very
little time and there were no major problems, just a few nits (see below).
I have a local network and a DMZ with a web server. However I am not really testing
the firewall
aspects of the script since I am using Seawall. As near as I can tell (I'm neither
newbie nor
expert) the variables in network.conf that apply to setting up IP's matter and
anything to do with
what ipchains lets through doesn't matter because Seawall overwrites it. I like the
way Seawall
manages the firewall, it's pretty easy. I should probably try to get my setup to work
without
seawall as a means of improving my understanding of network.conf.
The only problem I noticed is that lrcfg brings up the editor in Pico mode even though
it is set to
the Wordstar mode. I changed the editor link to point to vi which works for me.
I also inserted a few lines of codes into the dhclient exit hooks to set
twegner.dynodns.net to my
dhcp IP. A long time ago you suggested a few lines of script to check the result of
http_get:
# tell dynodns that the IP has changed
if http_get -a twegner.dynodns.net:mypassword \
http://www.dynodns.net/pr/updatens.cgi | \
grep NOERROR >/dev/null ; then
logger -t dynodns "update successful"
else
logger -t dynodns -s "update WAS NOT sucessful"
fi
#end dynodns changes
The above code is inserted in the dhclient exit hooks right where the new IP is
detected. But
even though the code correctly updates my dynamic IP, apparently the grep doesn't
return
values as expected, because this code always reports "success" even though I edit the
account
and make it wrong.
I simply redirected the output of the grep to /var/log/dynodns.result which serves the
purpose
OK.
BTW the dynodns.net service is still there. The guy who created it sold to
Deerfield.com but you
can still use it. I like it because the method of updating the IP is super simple,
basically just hit a
web page and log in as I did above. See www.dynodns.net. The web page will encourage
you to
use deerfield.com, but the old dynodns.net still works.
Thanks to you Charles and everyone here. This stuff is great! I use Dachstein on my
router and
Oxygen on my (somewhat simple and stupid) web site at twegner.dynodns.net in the DMZ,
and
seawall in both places.
Tim Wegner
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user