Koozali.org: home of the SME Server

Dial on request.

Dave Aldridge

Dial on request.
« on: April 19, 2000, 10:59:09 PM »
Rather than have the modem dial on demand I would like to know how to have the modem dial on request and not hang up untill I request a disconnect.
The reason being that our ISP will allow connections up to 12 hours and dial on demand takes to much time to reconnect when the connection is dropped.

Dave

Colin Mattoon

RE: Dial on request.
« Reply #1 on: April 19, 2000, 11:26:58 PM »
As an alternative (that wouldn't fundamentally alter anything), you could simply change some of the values in diald/standard.filter.  If you set everything for 7200 seconds, it will probably not hangup very often.

Charlie Brady

RE: Dial on request.
« Reply #2 on: April 20, 2000, 02:52:22 PM »
Dave Aldridge wrote:

> Rather than have the modem dial on demand I would like to know
> how to have the modem dial on request and not hang up untill I
> request a disconnect. The reason being that our ISP will allow
> connections up to 12 hours and dial on demand takes to much
> time to reconnect when the connection is dropped.

E-smith version 3 doesn't have any standard options except dial-on-demand. However by using the e-smith customisation documentation at http://www.e-smith.org/custom and the diald documentation (on-line on your server at /usr/doc/diald*) then
you can customise the documentation. Look at the "up", "down" and "restrict" directives for instance. You can also set up
a control fifo, then use cron to write control commands into it.

E-smith version 4 (coming very soon) has many more options for control of the modem linux. Included is an option to make the connection during business hours on weekdays. There is also a
diald control fifo as standard, so you can control the link using cron in any pattern you need.

Regards

Charlie