Remotely reboot the Freebox Server from OpenBSD

The Freebox Server is an ADSL/FTTH router provided by the french operator Free SA. From it’s Web interface, you can apply changes and reboot the box. But if you can’t access this Web interface, you just won’t be able to reboot the box.

Didier Segura provides a PHP script that can be used to remotely reboot the box.
On my OpenBSD box, the installation and launch is quite straight forward:

# pkg_add http://ftp.fr.openbsd.org/pub/OpenBSD/4.9/packages/amd64/php5-curl-5.2.17.tgz # ln -fs /var/www/conf/php5.sample/curl.ini /var/www/conf/php5/curl.ini # ftp http://www.didier-segura.fr/wp-content/uploads/2011/03/fbxreboot.zip # unzip fbxreboot.zip # php fbxreboot.php 192.168.0.1 freeboxpass

The Freebox will then hopefully reboot!

You could also use lynx to browse to the Web interface. It’s done well enough to be browser from a text-only navigator.

Cheers!

1 Comment

  • francois Tue, 30 Aug 2011 15:20:39 +0000 Reply

    Thanks for this tips
    🙂

Leave a Reply

%d bloggers like this: