[ previous ] [ next ] [ threads ]
 From:  Michael Scheer <listen at autechre dot de>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: Question: unattended reboot, how?
 Date:  Mon, 28 Feb 2005 17:06:06 +0100
Frederick Page <fpage at thebetteros dot oche dot de> wrote:

> since 1.2b5 freezes in much shorter intervals (3 days here on Soekris
> net 4801)

Strange. No problem @ 4501. Having no logs after rebooting will make
debugging difficult I guess...

| Platform	net45xx 	
| Uptime	5 days, 05:48 	
| Last config change	Mon Feb 28 10:18:38 CET 2005

> 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

Why not wget? This doesn't seem to be interested in https certs. This
is how win32 wget gets the config.xml:

| wget --post-data=Submit=Download https://user:pass@m0n0/diag_backup.php -O r:\config.xml