From owner-freebsd-questions Fri Dec 26 18:19:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA20718 for questions-outgoing; Fri, 26 Dec 1997 18:19:12 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from send1a.yahoomail.com (send1a.yahoomail.com [205.180.60.22]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA20712 for ; Fri, 26 Dec 1997 18:19:09 -0800 (PST) (envelope-from osiris2002@yahoo.com) Message-ID: <19971227021839.9964.rocketmail@send1a.yahoomail.com> Received: from [194.79.98.39] by send1a; Fri, 26 Dec 1997 18:18:39 PST Date: Fri, 26 Dec 1997 18:18:39 -0800 (PST) From: Charlie Roots Subject: Re: How do you get pppd to save ip to file? To: "Robert J. Lynn Jr." Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Robert; Here's the stuff you need; 1. cd /var/log 2. touch ip-dynamic.log 3. cd /etc/ppp 4. touch ip-up 5. chmod 0755 ip-up 6. ee ip-up 7. ADD THE FOLLOWING TEXT; date >> /var/log/ip-dynamic.log echo $4 >> /var/log/ip-dynamic.log EXIT ee and save the file. Next time you run the pppd you will have the date and ip ($4) written to the file /var/log/ip-dynamic (NOT sure that this will work wih user ppp) Greetings ---"Robert J. Lynn Jr." wrote: > > IS there a way i can get JUST MY IP number to be saved to a tmp file on connections? > == MAY THE FORCE BE WITH YOU. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com