Subject: ppp: ip-up, ip-down

From: Marek Duszynski <[email-masked]>
Date: Tue, 10 Sep 1996 02:38:36 +0100

Hi,

Can anybody send me some example /etc/ppp/ip-up and /etc/ppp/ip-down
with short discription of what they do please ?

Also, how can I execute /usr/sbin/xbase-configure for the second time
(on already configured and running system). Nothing happens when I try
executing it. Is there a lock file anywhere preventing you from doing
so after X have been configured during installation?

Thanks a lot.
-- 

Marek

Marek Duszynski                 Tel   : 0171 589 5111  extn. 57040       
PG Mech-Eng.                    Fax   : 0171 823 8845    
Imperial College              email   : [email-masked]
Exhibition Road        
London SW7 2BX        
UK

---

From: Boris Beletsky <[email-masked]>
Date: Tue, 10 Sep 1996 22:57:53 +0300 (IDT)

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 10 Sep 1996, Marek Duszynski wrote:

m.duszynski>Can anybody send me some example /etc/ppp/ip-up and /etc/ppp/ip-down
m.duszynski>with short discription of what they do please ?
ppp-up/down is just a shell script that are being executed when pppd connects
if u don't have spetial ideas just leave them as they now

hope that helps :-)
borik

___
Boris Beletsky <[email-masked]>
For pgp public key, e-mail me 
with subject "get pgp-key."
___
In Linux veritas

---

From: [email-masked]
Date: Tue, 10 Sep 96 15:29 EDT

Jean Orloff sent this script
>Another Very Useful Bonus (also thanks to Lukas Nellen): in /etc/ppp/ip-up
	#!/bin/sh
	#
	# IP is up now...
	#
	interface=$1
	device=$2
	speed=$3
	local_ip=$4
	remote_ip=$5
	
	# let's use this opportunity to flush our mail queue
	#/usr/lib/sendmail -q &
	
	# broadcast IP up message
	echo Local IP: $local_ip through $interface on $device is up | wall

I think that there are cases where the routing tables should be adjusted here
as well.

Nathan