[H-GEN] Acceptable usage of diald script.

Mark Suter mark at zwitterion.humbug.org.au
Tue Nov 25 09:13:09 EST 1997


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

On Tue, 25 Nov 1997, Jason Parker wrote:

> I'm using diald to bring the connection up when I want, (surprise
> surprise) and I'd like it to do some stuff when the network is ready
> (rather than on bootup, which would bring the net up every time I
> powered on, which would suck) like setting the date from brolga, and
> flushing the mail queue.
> 
> Should I stick these commands at the end of my connect script, or is
> there a better way?

Yes, there is (as is the norm in the *nix world).  Iff you're
using pppd, then the solution is /etc/ppp/ip-up --- 'executed when
when the link is available for sending and receiving IP packets'.
The complement, ip-down also exists.

Have a look at pppd(8) for more info.

Yours sincerely,

Mark Suter.

- -- Mark John Suter | I know that you  believe  you understand
suter at it.uq.edu.au   | what you think I said, but I am not sure
suter at humbug.org.au  | you realise that what you  heard  is not
Ph: +61 7 3891 2085  | what I meant.                  anonymous

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Public key available from http://student.uq.edu.au/~cs331007

iQCVAgUBNHrc+XBbxiOCJ17ZAQHaCwP+M3+xjbHIMHFxStsVLiyJ+99jPzWOaQkt
dNxM8fl3gA6i5n4koETJ/HOvrjSybwx1YDWazbkq11ip9Y3Jn6CVWpZVT8UJIUuh
Fq3MgyZmKeg0lv3h7zXxJ9Sg+0zEjmkqBZluocpQI2PEknLPukCSzGKQ+VuCp/4X
try+f7Xd8hA=
=KQuf
-----END PGP SIGNATURE-----




More information about the General mailing list