The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
start process at assidned date and time gd2003 UNIX for Dummies Questions & Answers 6 01-21-2008 07:15 AM
how to start a process and make it sleep for 5 mins and then kill that process shrao Shell Programming and Scripting 6 03-27-2007 09:54 AM
start time of a terminated process k_chaaya UNIX for Advanced & Expert Users 2 09-03-2006 09:57 PM
to get process start date and time naeem ahmad UNIX for Advanced & Expert Users 2 02-27-2006 01:09 AM
get process start time naeem ahmad High Level Programming 1 02-06-2006 04:40 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2002
Registered User
 

Join Date: Aug 2002
Location: California, USA
Posts: 27
start a process at boot up time

Hi,
I have a program that check the IP address and automatic update it to the DNS server. I would like to run this program when the computer bootup after pppd get a connection. How do I add it to the init file. Does any one have any information of how to do it.
I run a Linux Mandrake as a web server.
Thanks,
Forum Sponsor
  #2 (permalink)  
Old 12-08-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,189
/etc/ppp/ip-up

The scripts in /etc/ppp/ip-up can be modified to perform work after an ip address is acquired. From the pppd manpage:

Code:
/etc/ppp/ip-up

A program or script which is executed when the link is available for sending and receiving IP packets  (that  is, IPCP has come up).  

It is executed with the parameters

interface-name tty-device speed local-IP-address remote-IP-address ipparam
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0