Start-up, shutdown and restart the MoodleBox

Startup

Insert your microSD card into the Raspberry Pi slot, power it up and connect it to the network via an Ethernet cable. The red LED lights up, and after a few seconds the green LED lights up intermittently.

Startup

There is no other manipulation to do: after the boot, your MoodleBox ready and totally functional.

If possible, it is recommended to connect the MoodleBox via Ethernet to the network at each startup. Thus, the maintenance tasks requiring an Internet connection (for example the synchronization of the internal clock) will be successfully done.

Shutdown

The graphical interface of the MoodleBox allows you to safely stop and restart the MoodleBox.

Log in the Moodle instance of the MoodleBox and visit Site administration > Server > MoodleBox in the administration interface.

Shutdown and restart

In the section Restart and shutdown, the interface displays two buttons allowing to restart and shutdown the MoodleBox. Click on the button Shutdown MoodleBox, wait a few seconds and check that the green LED doesn’t lights up any more. You may now safely unplug the power supply.

Tip

In order to minimize the risk of data corruption on the microSD card, it is not recommended to unplug the power supply without care to shutdown the MoodleBox. It is preferable to manually control its shutdown beforehand.

Restart

Log in the Moodle instance of the MoodleBox and visit Site administration > Server > MoodleBox in the administration interface.

Click on the button Restart MoodleBox. Wait a few seconds and the MoodleBox will be available again.

Install a hardware startup and shutdown button

It is possible to install a hardware button to switch off and start the MoodleBox. The MoodleBox Disk Image allows the use of such a button without any configuration changes.

The installation of a hardware button is very simple: you just have to buy a button, for example this capacitive button, and connect it to the pins of the MoodleBox GPIO (pins 5 and 6) port using jumpers (see the image below, thanks to Laurent Fleron), then restart the MoodleBox.

Hardware button