[ previous ] [ next ] [ threads ]
 
 From:  Vincent Fleuranceau <vincent at bikost dot com>
 To:  Frederick Page <fpage at thebetteros dot oche dot de>, m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Question: unattended reboot, how?
 Date:  Mon, 28 Feb 2005 09:21:36 +0100
Fred,

> since 1.2b5 freezes in much shorter intervals (3 days here on Soekris
> net 4801) I'd really like to be able to do an unattended reboot of
> m0n0wall via a cron job. I tried to whip up something via curl, but
> cannot seem to manage. E.g. this does not work:
> 
> curl --data 'Submit=Yes' \
> https://user:password@192.168.x.x:8000/reboot.php
> 
> I have OpenBSD, Linux and XP-machine, so any suggestion is welcome.


On Windows, I use the following:

curl.exe -s --form Submit=Yes http://user:pass@192.168.1.254/reboot.php

Cheers,

-- Vincent