Although a Hang UP function has been added to the Webadmin tool in v2.13.0, I still consider this patch valid for the reasons stated below about users and passwords. I have not validated whether this still works in v2.13.0+ but see no reason why not.
This all started from a need to hang up the modem from a W2K PC as opposed to connecting to Coyote Linux with PuTTY or the Web interface. Users of computers just want to use it. They do not want to know how or why it works or logon and remember passwords except maybe for banking transactions; certainly not to hang up a phone. Click is enough. Do you know how your cars works? Or your modem at the electrical and signalling level?
These procedures are valid for PPP and PPPoE connections.
To do this you need nc.exe (Netcat) for Windows. For syslog on your Windows machine, tr.exe and the required libconv-2.dll and libintl-2.dll from Sourceforge's GnuWin32 project are also needed.
See the download page at the end of this document.
Some spyware detection programs, like AdAware, will flag nc.exe as a problem. By the nature in which it works it could be used with bad intentions. In this case it is not because your are installing it on purpose.
If you are not doing the syslog thing ignore steps 5, 6, and 9.
nc -n -w 1 N.N.N.N PPPP
nc -L -p 514 -n -u -w 3|tr "\<" "\n"
# # Set up listener to hangup modem # /etc/rc.d/pkgs/hangupd &
#!/bin/sh while [ 1 ] #do forever do nc -l -p PPPP /bin/kill -HUP `cat /var/run/ppp0.pid` done
LOGGING_HOST=N.N.N.N.N
Click the hangup shortcut and Coyote will drop the PPP or PPPoE connection.
You most probably won't have a screen on Coyote Linux. Click your syslog shortcut just before booting Coyote Linux and see the syslog scroll by. Save it by adding >>syslog.txt to the end of the line in step 5. But then you won't see a thing.
Whatever gets sent to syslog will also appear in the DOS box when you click the syslog shortcut. Nice if you want to watch the dialog when you cause Coyote Linux to dial up or make sure it has hung up especially if you pay phone charges by the minute.
Download Page:DISCLAIMER: The following instructions come with no warranty. Use at your discretion and risks. I am not responsible for its misuse, damages, or losses that can be caused directly or indirectly. It is assumed that you practice safe computing and download from known sources, verify downloads with anti-virus software, and take backups before making changes.
It is also assumed that you know computing. So don't ask what a ZIP is and how to extract from it; or other stuff of the same nature.
Use the Forums for support so everyone can share the information.
copyright for the writing. The ideas and code are free. Robert Bonomo