LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Alex Garner <alex@netcraft.com.au>
  To  : Sam Silvester <silvest@capri.net.au>
  Date: Fri, 14 Jan 100 16:59:19 +1030 (CST)

Re: Dial on Demand

> The program diald will do this for you. It is fairly easy to setupl - you just
> need to modify the chat scripts needed to connect to your isp, and maybe change
> some of the rules for controlling the link. (Like how long to wait before
> hanging up etc.)

If you're using a redhat system download and install the latest diald
rpm you can find. This will include some nice `/etc/rc.d/` scripts
which will activate diald on boot (or whenever). If you also use the
standard `/etc/sysconfig/network-scripts` (which I believe kppp, rp3
and the control panel use) to set up your link, you can then set the
"connect" option in diald.conf to be `ifup ppp0`. Don't use the script
that comes with it.

That way it will integrate into your existing RH system and not break
anything, even if you accidently run the network control panel, kpp,
linuxconf or somthing like that.

You can also bring the link up and down with
`/etc/rc.d/init.d/diald start|stop` the advantage being that if
default route packets are not needed it won't actually dial.

Cheers

Alex!



-- 

Alex Garner <alex@netcraft.com.au>

NetCraft Australia
Phone (08) 8370 3650
http://www.netcraft.com.au

...I should have taken the blue pill.


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page