Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Steven Thomson on November 20, 2002, 05:59:35 PM

Title: PPP Link keeps dying
Post by: Steven Thomson on November 20, 2002, 05:59:35 PM
Nov 21 01:53:36 gateway pppd[11055]: No response to 2 echo-requests
Nov 21 01:53:36 gateway pppd[11055]: Serial link appears to be disconnected.
Nov 21 01:53:36 gateway pppd[11055]: Connection terminated.

Where do I find the settings to stop my connection dropping automatically on 2 echo fails ?
 Is it in my ppp/options file ?
-------------------
lcp-echo-interval 30
lcp-echo-failure 2
--------------------

if I need to change these settings can someone tell me the process to change the template. I am hopeless at it.

thanks
Title: Template help
Post by: Bill Talcott on November 20, 2002, 07:45:30 PM
http://www.e-smith.org/custom/

The template file fragments for /etc/filename.conf are stored in /etc/e-smith/templates/etc/filename.conf/. Look there, and you will see a bunch of files that are combined, in numerical order, to make /etc/filename.conf. You should put your customizations in /etc/e-smith/templates-custom/etc/filename.conf/. You can copy the file fragment that you need to change, or you can rewrite your version from scratch, or add in a fragment where you need to make additions to the file. When you're done editing, run /sbin/e-smith/expand-template /etc/filename.conf to rebuild the file using the templates, including any custom fragments you've created.
Title: Re: Template help
Post by: Steven Thomson on November 20, 2002, 08:02:57 PM
Thanks,
 Now is the failure value (2) in the options file the one to change in order to stop it killing my connection ? Should I up it to more to allow for small timeouts ?