Given a FreeBSD instance without a configured network interface that you'd like to configure, first check what the name of the interface you want to configure is with
ifconfig. (Mine is
em0 in this instance.)
Then we need to add the configuration telling services that we want to use DHCP for this interface, and setting up our default router (use your IP, not mine!) too:
cat >> rc.conf <<CONF
And then we need to start
dhclient on the given interface:
service dhclient start em0
Hey presto, you should see dhclient finding a DHCP server and being handed an IP address for
500m Pool Swim: 00:11:34
Felt good setting off, within a couple of lengths felt like I had no energy. Didn’t have enough to eat/drink during the morning before starting, really makes a huge difference once you set off. Must remember to replace my goggles at some point too, the strap comes loose without warning.
Transition 1: 00:03:06
Rough time for transition. Legs felt good as soon as I was out the pool. Got my kit on without too much trouble, although taking a t-shirt style cycling top instead of a full zip jacket was a mistake—forgot I’d be putting it on wet. Had a gel in transition in the hope it would give me some energy.
19km Cycle: 00:48:03
Lovely start to the cycle route, massive downhill on recently resurfaced roads for the most part. Best part of the cycle ride, with the rest of the route consisting of climbing back up to the start. Couple of nasty steep hills I had to walk sections of, for all I fitted lower gears they still weren't low enough given my lack of bike fitness currently.
Transition 2: 00:06:57
Bike racked easily, shoes swapped, gel necked and a couple of Lucozade bottles clutched and off to run. Took on another gel.
7km Run: 01:04:37
Needed all the fluid I carried, didn't take anything else during the run and felt no less energetic than the other disciplines. Legs didn't really hurt, just felt like lead and had no power. Route was basically a mini trail run then up a tarmac road to the turning point then head back via trail run to finish. Adopted a walk/run approach.
Certainly the hardest triathlon I've done, and I'm probably at my least fittest compared to any of the others I've done to boot. The location was lovely, the weather was pretty decent (sunny but not too hot). Don't feel like I was beaten by it, but definitely haven't given it my best. One to redo next year and train towards.
Recently I managed to hose a box in a perfectly self-inflicted storm of idiocy. Imagine a SmartOS server with the following issues:
- Root password not noted down anywhere
/usbkey/config edited badly, meaning the network settings are wrong
- Rebooting the server to apply some other settings
Needless to say, this caused a tiny issue in the server doing what it's supposed to. Luckily I had access to a KVM remote console for the box and the following worked.
I brought the machine up, choosing the second option for recovery at the grub menu. Waited for a login prompt, then logged in with
Realised quite quickly that
/usbkey must be persisted on the
zones zfs pool otherwise the configuration would be lost after shutdown, so imported the correct pool, created a directory to mount into and then mounted the zfs share.
zpool import zones
mount -F zfs zones/usbkey /usbkey