[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where to put pon ???!!



* Dave Selby <dave_arahan@yahoo.co.uk> [25-11-2002 10:22]:
> Ive configured my pppd as dial on demand, it works great !!!
> Where do I put pon ? I want it to automatically be executed as I boot the 
> system.
 
I read something else first time I read the subject line of your
message. (First coffee in on the way)

I use PPPoE and used pppoeconf to configure among things PPP.

I'll post something from a file that lives on my sytem. 

#
#   /etc/init.d/ppp: start or stop PPP link.
#
# If you want PPP started on boot time (most dialup systems won't
# need it)
# rename the /etc/ppp/no_ppp_on_boot file to /etc/ppp/ppp_on_boot,
# and
# follow the instructions in the comments in that file.

I am not sure if this is what you want. Maybe you only want to be
connected when you are logged in to the system. 

In which case you can configure PPP to only dial when data is
needed. I have never tried it, but I have seen mentions of this
while reading about PPP. 

If you add a ping to your login scripts, you can make sure that some
data is requested when you login.

To stop the connection you can use a timeout. Maybe there are nicer
ways to do this?

Bob



Reply to: