Renan said:
I'm looking for a program that will, at a given time, automatically hang
up a dial-up connection and put my PC in "hibernate" state.
If you wanted to write a brief batch/script file, you could use the command
"rasdial /disconnect."
Rasdial.exe is distributed with win2k, winXP ...
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rasdial.mspx
On win9x, then you could Google for msft's "Rasdial95 1.2." (I happen to use
this one myself.)
.....
Or, for whichever Win platform, you could use NirCmd:
http://www.nirsoft.net/utils/nircmd.html
This multifariously capable little beasty includes the pertinent command
choices "rashangup" as well as "hibernate."
.....
Alternatively, I noticed that a small GUI util which has a dialog to let you
enter a time to have the modem disconnect -- was available on the page
JMatt provided earlier on, when he linked the apps page of the author of
the PowerOff prog. Ref:
[Rasdial 1.1 -
http://users.pandora.be/jbosman/rasdial.zip]
Just this last Rasdial deal seems more work to me, the approach of having
to interact with an extra dialog box on something that I'd want more
automated. (Then again, I don't know your preferred style / strategy.)
.....
I don't use hibernate, but my interpretation of your posting is that you
prefer or need to disconnect DUN first before having the system do the
hibernate, for full smoothness or whatnot. That was the reason I sought
to add to the thread a few choices for getting a rasdial command in there.
To go along with whatever you choose for the hibernate command.
(Or, who knows, perhaps you might end choosing up a hibernate scheduler
that will integrally take care of the inet disconnect situation ... )