| PLEX86 | ||
|
Automatically starting ntpd after dialup connectI run FC5. My internet access is dial-up only. I would like to keep my PC clock accurate by having ntpd automatically start whenever I establish a dial-up connection. My understanding is that ntpd should not be run while offline. A suggested solution from the web page "Craig's Linux notes: clock" is: ======================================================================================================================= ntpd Start-Up, Solution 1 Used to be that ntpd had to be started before the network, or it would fail to resume its connections after the network was reset. Gentoo's implementation requires NTP to be started after the network is up; as my system is on a manually enabled PPP connection, the Internet is inaccessible when NTP starts. This causes NTP 4.2.0 to jam: when the network is enabled, NTP cannot establish connections with any time servers. Solution 1: Append the following toetc-ppp-if-up.local: A newbie What are differences between Red Hat Linux 9 and Red Hat Enterprise Linux On Fri, 17 Nov 2006 13:34:11 -0600, notbob Oh, well, I think FC has found good middle ground between... A newbie What are differences between Red Hat Linux 9 and Red Hat Enterprise Linux On Fri, 17 Nov 2006 18:10:53 -0800, Fei Linux is linux. The commands are the virtually the... # Start NTP. NTP must be started after Internet access is established. "$1" == "ppp0" && -xetc-init.d-ntpd &&etc-init.d-ntpd start and append the following toetc-ppp-ip-down.local: # Stop NTP. NTP cannot reconnect with its time servers once # Internet access is disconnected. "$1" == "ppp0" && -xetc-init.d-ntpd &&etc-init.d-ntpd stop ============================================================================================================================ When I tried this, ntpd failed to start. If I issue "-etc-init.d-ntpd start" from a command line, ntpd fails to startif I'm running the terminal from my user account. It does start from a root terminal. The file if-up.local is owned by root. The manpage for ntpd list a "-u user:group" parameter. It is unclear to me what this is intended for. Should the solution from "Craig's Linux notes" work for me? How can I debug this?
|
||||
A newbie What are differences between Red Hat Linux 9 and Red Hat Enterprise Linux Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||