----- Original Message ----- From: "sylvain pelletier" <[EMAIL PROTECTED]> To: "Victor McAllister" <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 4:26 PM Subject: Re: [Leaf-user] pppoe and dyndns
> I suppose your friend uses the Roaring Penguin package. > This package comes with some script. > To update a dyndns account, you must modified the adsl-start and adsl-stop > script. > > In the adsl-start, look for Monitor connection ( in the bottom of the file) > and insert the line "ez-ipupdate -d -c /etc/ez-ipupdate.conf " in the loop > while > > > ---adsl-start------------------------------------------------------------- -- > ---- > # Monitor connection > TIME=0 > while [ true ] ; do > ${exec_prefix}/sbin/adsl-status $CONFIG > /dev/null 2>&1 > > # Looks like the interface came up > if [ $? = 0 ] ; then > # Print newline if standard input is a TTY > tty -s && $ECHO " Connected!" > > # To update dyndns > path1=/usr/bin > export path1 > ez-ipupdate -d -c /etc/ez-ipupdate.conf # ez-ipupdate start in > daemon mode (-d) > exit 0 > fi > > tty -s && $ECHO -n "$PING" > sleep $CONNECT_POLL > TIME=`expr $TIME + $CONNECT_POLL` > if [ $TIME -gt $CONNECT_TIMEOUT ] ; then > break > fi > done > -------------------------------------------------------------------- > Then add this line "killall -QUIT ez-ipupdate 2> /dev/null" in adsl-stop > ( before the # Check for pidfile) > Be careful to not run ez-ipupdate on root, and check the permission file > that ez-ipupdate uses!! > > In the /etc/ppp/ip-up, you have just to put "svi network ipfilter reload" > for the port forwards > and eventualy if your friend uses dnscache, you can put "dnscache restart" > or something that in ppp-up. > > Sylvain!!! > > > > ----- Original Message ----- > From: "Victor McAllister" <[EMAIL PROTECTED]> > To: "leaf-user" <[EMAIL PROTECTED]> > Sent: Wednesday, January 30, 2002 1:01 AM > Subject: [Leaf-user] pppoe and dyndns > > > > I have a friend who uses DCD 1.02 on a pppoe connection. I have a > > static so I can't test out pppoe. I have spent some time on the phone > > trying to help him trouble shoot. > > > > I had him put "svi network ipfilter reload" in the /etc/ppp/ip-up to > > make sure his port forwards are updated after his external ip changes. > > > > He has a dyndns account and ez-ipupdate which is properly configured. > > It works correctly from a cold boot but does not update the dns > > service when the isp changes the external ip. > > Is there a script to put in /etc/ppp/ip-up or will this work? > > > > svi network ipfilter reload > > svi ez-ipupdate stop > > svi ez-ipupdate start > > > > Comments from pppoe user solicited. > > > > > > _______________________________________________ > > Leaf-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > > _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user