Title: Permanent PPP connection
Author: Sandro Tosi
Last modified: 2005-07-05
You have a broadband, flat connection to Internet and you want it to
be eternally up? Yes, I'd like it too!
PPP-HOWTO suggests ( http://www.tldp.org/HOWTO/PPP-HOWTO/x582.html )
to add the pppd process into respawn policy of init scripts. I really
dislike this option.
Another way is to set up the dial-on-demand: if you want your
connection up all the time, probably some process would like to use
it; once someone makes a request to connect to Internet, and the link
is down, a connection will be established, if possible. Even this
methods is not what I wanted.
Thanks to a guy in a mailing list ( mtms ) I've found the right
options to add to my dsl-provider file:
# these 3 options are for permanent connection:
# no limit to restore connection tentatives
# Do not exit after a connection is terminated
# Specifies how many seconds to wait before re-initiating the link
# after it terminates