Andrew Que Sites list Photos
Projects Contact
Main

   Setup for the Emerald Dragon needed to include generating SSH daemon keys. There are already keys present, but I have no idea if they came with the image of the OS or were generated the first time the system booted. Doesn't matter because I want to use larger keys than the default.

	ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key
	ssh-keygen -b 4096 -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key
	ssh-keygen -b 521 -t ecdsa -N "" -f /etc/ssh/ssh_host_ecdsa_key

Somehow the Sun-Dragon got it's source list messed up. Took me a bit to figure out what the source list should have been, but this one seems to work:

	deb http://ports.ubuntu.com/ trusty main
	deb http://ports.ubuntu.com/ trusty-security main
	deb http://ports.ubuntu.com/ trusty-updates main

When I fixed it I kept getting complaints about not being able to find i386 packages, like:

	Err http://ports.ubuntu.com trusty-security/main i386 Packages

The Sun-Dragon is a quad-core ARM7 and I don't know why the package manager decided we needed i386 packages. Use this command to remove the foreign architecture:

	sudo dpkg --remove-architecture i386

That fixed my issue and I could update without errors. When or why this broke I have no idea. The Sun-Dragon has been running for 210 days.

Emerald Dragon

Emerald Dragon

   This is the Emerald Dragon, a quad-core 1.5 GHz 64-bit ARM based Odroid that will be taking over DNS and e-mail for DrQue.net. Right now an 800 MHz Raspberry Pi has taken over after the Micro Dragon had a hard drive failure. While the Pi is fast enough to handle DNS and e-mail it is quite slow when it comes to system maintenance.
   In addition to being significantly faster, the Emerald Dragon also has battery backup. This should keep the system alive for several hours if there is a power failure.