Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modem disconnect problem with tty port

Status
Not open for further replies.

call

Technical User
Oct 31, 2000
127
US
When someone dial in and disconnect the port never reset,

I would like to write a script that will check the port every 15 min and reset it, if its not in use.

Now I have never written a script so I would need help.

What I would like it to do is
pdisable and penable if someone is not on tty1 just incase the port needs to be reset. Put it in cron so it will run.

Can someone help me out.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top