Koozali.org: home of the SME Server

PPP Dailing

Ashley

PPP Dailing
« on: August 26, 2000, 11:23:42 AM »
I have e-smith setup as a continious PPP conection with my ISP.  I know that if my ISP drops carrier then e-smith redials.

Is there a way to limit the number of dials that e-smith will carry out ?

Is there a way to get stats with the number of dials e-smith has made to my ISP?

Thank You

Ashley

robert

RE: PPP Dailing
« Reply #1 on: September 01, 2000, 04:19:20 AM »
If you look at the filter rules for diald (in /etc/diald.filter) you'll see that during the hours you chose to have a continuous connection diald gets passed the argument 'up', which has diald dialing however often it has to to keep the link up all the time. If this is not what you want, you should set up diald (through the console menu) to use e.g. long connect times, which obviously makes diald hang up after a relatively long period of inactivity (so your response is still good). If you do want a continuous connection, I assume the reason you want to limit the number of calls to your isp is because the connection is unreliable and you don't want diald to keep dialing and failing a hundred times. If this is the case, then from reading the diald manual I guess you might want the dial-fail-limit enabled. You can set it to any number you like. Put it in the (custom) template file for diald.conf (use the method at http://www.e-smith.org/content/custom ) and see if that works. If you use this option you need to 'manually' unblock diald if it failed to make the connection in the number of times you specified for dial-fail-limit (but read the diald manual). I hope this will help.