Koozali.org: home of the SME Server

Start, stop, and monitor modem connection

Chris Allen

Start, stop, and monitor modem connection
« on: September 04, 2001, 05:41:33 AM »
Hello

I just installed e-smith, and am quite impressed with how well it works.

However, I would like to improve upon it by getting some feedback about when the modem is connected to my ISP.

My modem is internal, and it does not make any noise when it connects, so I cannot tell when it is finished dialing or anything. So the first thing I would like to do is to add an internal web page to my server that tells me whether the modem is connected or not.

Also, I would like to have a couple of buttons on this page that say "Start" and "Stop", so I have more control over when to connect and disconnect. This would allow me to use the phone for a regular phone call if needed, without having to wait for the automatic timeout to take effect.

I imagine that this could be done with some sort of PHP or CGI script, but I have not idea how to do that. I would also imagine that there is some command I could type at a telnet prompt that would do this; if someone could point me to the section of the manual that describes the available commands, I would appreciate it.

Chris