Re: DNS2GO service script?

From: David Efflandt (efflandt_at_xnet.com)
Date: 03/27/05


Date: Sun, 27 Mar 2005 13:56:08 +0000 (UTC)

On 26 Mar 2005 09:42:13 -0800, JonnieStyle <jonniestyle@hotmail.com> wrote:
> Hi folks,
>
> I realize this has been talked about, but I still can't find out the
> answer to my grief.
> This script (which is commonplace for redhat and mandrake users) is
> hanging immediately following
> "Connecting to DNS2GO..."

What order do you have the "S..." symlink to this script in rc#.d dir
(where # is runlevel). Are you attempting to run it before networking is
up or internet connection is established? Even if after that, you may
need to add a sleep statement to give it time to connect and update your
resolv.conf.

I use no-ip.com, and simply run its dns update client once (not as daemon)
from /etc/ppp/ip-up (which automatically runs whenever pppoe gets an IP).
If you are directly connected to cable modem, you could do similarly with
dhcp related scripts. Although, if behind a NAT router, you would need to
run a dynamic dns update client as a daemon.



Relevant Pages

  • Re: Confused about init scripts expectations
    ... I am developing a daemon application to handle datalogger ... I have developed the init script that is ... I attempt to start the daemon using the services configuration GUI ... figure is that the EOF signal is not being received by the program. ...
    (Fedora)
  • Re: [opensuse] BASH: has $COLUMNS gone nuts?
    ... You do realize that lines & columns are dynamic values which at least some terminals and login daemons will continuously adjust right? ... What the above shows is that I dragged the corner of my PuTTY window (which was connected to sshd, not every terminal client nor every server daemon does this) making the window a little larger and without issuing any commands, and no possibility that any bashrc or inclusions got executed, the values changed, because the terminal told the daemon and the daemon told it's child processes. ... Try calling them from within a script: ... Although, I would also actually be perverse and say that since the SCO systems predate most others, including ALL linux, that you could actually make the argument that the dwindling remaining production sco boxes in the world are right and the 90 million linux & freebsd & sun boxes are all wrong. ...
    (SuSE)
  • Re: script "chaining"
    ... If a task (such as a report) would take too long to run while attached to the browser, the current system writes the data to a database file. ... The daemon checks that file every 10 seconds and executes the task, writing the data back to database. ... If you take the A out of LAMP you can write a php script like a bash script or a perl script and execute it. ...
    (comp.lang.php)
  • Debian PHP jabber client deamon
    ... to prevent PHP stopping the script. ... // disconnect from the Jabber server ... Here's the daemon script for running it in Debian. ... # Gracefully exit if the package has been removed. ...
    (comp.lang.php)
  • Re: script "chaining"
    ... bill wrote: ... If a task would take too long to run while attached to the browser, the current system writes the data to a database file. ... The daemon checks that file every 10 seconds and executes the task, writing the data back to database. ... If you take the A out of LAMP you can write a php script like a bash script or a perl script and execute it. ...
    (comp.lang.php)