I want to shutdown my Alix board when I have to do some kinds of maintenance which is not possible through a SSH connection.
I've just set up my Alix, but I don't understand how can I safely shutdown it: if I choose "Shutdown", it reboots again:
*** FINAL System shutdown message from root@pfSense.local ***
System going down IMMEDIATELY
System shutdown time has arrived
pfSense is now shutting down ...
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 0 done
All buffers synced.
Swap device ad0s1b removed.
The operating system has halted.
Please press any key to reboot.
PC Engines ALIX.2 v0.99
640 KB Base Memory
261120 KB Extended Memory
The thing you have to remember about an embedded installation is the filesystem is normally in the read-only mode - it only switches to read/write mode to make changes that carry across reboots (such as updating the config.xml file that contains the configuration information). The "rest" of the "filesystem" is in RAM and if power is lost it is not anything critical, such as log files and temp files... to power off the system you just pull the plug
If, on the other hand, you do a full install then you are running in a true filesystem on disk that is read/write and you could corrupt the filesystem by just pulling the plug - there you would need to perform an orderly shutdown.
How can I understand when is it safe to switch off electricity to the board before pfSense loads data from CF again? There is no beeper and the three LEDs are unused at this time.
Yea - if would be nice if the LEDs were put to use - I may look into it as some point later on but I am now buried in a kernel mode in a different environment (linux) for a different project... argh
When I chose "Halt system" from console or SSH, I expect FreeBSD syncs all cached data to disks and to see a message like "It is possible to power off" and it stays there without rebooting, as the old Win98 screen if you ever used it.
It will be obvious for you, but I am new to these new amazing hardware...
Think of it as a appliance - much like the way a Linksys wireless router works - all of it's filesystem is contained in a compressed filesystem file and is "clooped" up with links to the RAM - the kernel uses the links to read information and program files in the filesystem and runs everything in the RAM - pfSense works somewhat the same way but is not using a "compressed" clooped filesystem (I think - could be wrong but I am sure someone will correct me here
). Being a read-only system it is rather very hard to "corrupt" the filesystem!
Another question: is it true 12RC-4 embedded images are broken? Have I to use 12RC3 ones?
I don't know - have not worked with the 1.2RC4 image yet