Interesting little wrinkle setting up a RAID5 on 4x4Tb drives in a Dell PowerEdge R520 with a PERC H710 mini controller. Using the fancy integrated interface (F11) the first VD of 20 Gb is fine, but the second only allows just under 1Tb to be used!
Using the basic bios extension thingy (Ctrl-R) it works fine. Also, somewhat faster…
File download
The links on the cadsoft page were broken when I did this. The licencing setup files were found at:
ftp://ftp.cadsoft.de/eagle/licensing/7.0.0/
The later version directories only contain the lichostid files (also included in the full install). You do need this for the hostid – it doesn’t just work off the MAC address!
Install (Windows)
Put the unzipped file tree somewhere convenient – on REDACTED it’s just stuck in C:
Read more...
There are several ways to have a linux box email you when someone logs in to it. Most of these use a script in either the local profile files (for individual users) or the system-wide profile (and/or in sshrc). Another nice way is to use the pam authentication system to do the job. A setup is given at:
http://blog.stalkr.net/2010/11/login-notifications-pamexec-scripting.html
Brief setup
Assuming Debian here.
Make sure the system is set up to talk to an email server and has some way of sending emails from the command line. The script here assumes the mailx package is installed.
Read more...
Ubuntu 13.10 (and possibly 13.04) seem to have a problem with self-signed certificates when authenticating to wireless radius servers (i.e. the GUPHYSICS wifi). This is discussed in a variety of places:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476
The problem seems to be that the Network Manager setup is adding the line:
system-ca-certs=true
to
/etc/NetworkManager/system-connections/GUPHYSICS
even if you tick ignore when the system asks about certs the first time. Changing the value of the setting to false seems to fix this, although there is a possibility that it might get changed back by NM. (or delete the setting entirely, which seems to have happened on this laptop. Hmmm)
Read more...
The array_multisort function in php allows you to sort several arrays at the same time. How it works is:
- Sort first array by key value (depending on arguments)
- If there are any identical keys in the first array, sort these by the keys in the second array (assuming it is specified)
- etc.
The documentation for this isn’t particularly clear.