Re: How to run script (sleep360) without delaying bootup



Well shoot. Put a ping in for google. I don't think they would mind Now the script you sent this morning which I don't have in front of me I would think could do the job. Maybe you could ping then see if there a command to dealy the time servers and then let them run.

Scott
..
----- Original Message ----- From: "Nigel Henry" <cave.dnb@xxxxxxxxxx>
To: <fedora-list@xxxxxxxxxx>
Sent: Sunday, April 22, 2007 11:56 AM
Subject: Re: How to run script (sleep360) without delaying bootup


On Sunday 22 April 2007 18:19, Scott Berry wrote:
Nigel, what would you want to ping? I think you could put a line in that
script to do that.

Scott

Pinging a server on the Internet isn't really the problem, as long as nobody
get's T'd off on getting a ping on a daily basis. All I want is a script that
will continually send a ping to <some server>, then when the Internet
connection is up, and it gets a positive response from the server, will then
run /usr/local/bin/ntp-restart, and terminate the ping. This will then
restart the ntp daemon, and all of the servers listed in /etc/ntp.conf will
be polled.

At the moment when the ntp daemon is started at bootup on FC2, I get varying
results. Post bootup I connect to the Internet, and sometimes just one of the
six timeservers is listed when running ntpq> pe, and sometimes 4 of the
timeservers are listed, but never the 6. If I do an /etc/init.d/ntpd stop,
followed by an /etc/init.d start, then run ntpq, I see all 6 Internet
timeservers listed.

There is a problem with the ntp daemon, at least on FC2, when no Internet
connection is available at bootup.

Nigel.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.463 / Virus Database: 269.5.7/771 - Release Date: 4/21/2007 11:56 AM



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Why Ping does not Work
    ... nor can I ping my server here in Richmond from ... I can ping my home computer ... the rest of the internet. ... layer produces complete protection. ...
    (microsoft.public.windowsxp.network_web)
  • Re: AD, DHCP or maybe DNS problem?
    ... worked and my trace gets out to MSN, but internet still ... Ping statistics for 127.0.0.1: ... another host on the network. ... Even the server and the laptop that the internet works on. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Network configuration problem
    ... I removed the Remote Access/VPN Server role from the server and am now able ... I can also ping the server's local address from the laptop ... Nor can I get to the internet from my laptop. ...
    (microsoft.public.windows.server.networking)
  • Re: ICMP ping effecting network flow?
    ... you ping a server over the Internet while downloading a file from it, ... LBL to a specific server in Berkeley. ... and one of those is the "minimize delay" flag (see page ...
    (comp.os.linux.networking)
  • Re: Error on 64 bit systems...
    ... If it drops ping requests, ... Confirm whether the system is just an average server, ... is the account you are using to connect to the remote ... as soon as I use this same script to run on64 ...
    (microsoft.public.scripting.vbscript)