Link to home
Start Free TrialLog in
Avatar of srivastavarishikesh
srivastavarishikesh

asked on

Disconnect a Dialup Connection automatically after 60 Minutes in Linux

I have Configured a Linux Machine as a Dialin Server. It has eight modem and eight concurrent user can be conected to this machine Via Dialup. Now what I want is automatically disconnect the Dial up user after a certain interval of time. Lets say after 30 Minutes automatically one of theDialup user is disconnected and my one line is free. How do I achieve this. Kindly help

Avatar of Gabriel Orozco
Gabriel Orozco
Flag of Mexico image

in your /etc/ppp/options file, add:

# Idle after X seconds
idle X

one good site to find this kind of options, is the PPP-Howto :-)
http://www.linuxports.com/howto/ppp

and specifically:
http://www.tldp.org/HOWTO/PPP-HOWTO/x980.html

Regards
Avatar of srivastavarishikesh
srivastavarishikesh

ASKER

Thanks for the reply. But this is when user has left the connection idle. What I want is whether the user is idle or not if he is connected on a dialup line for 60 minutes after 60 minutes his connection is terminated automatically.
srivastavarishikesh:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial