m0n0wall to Draytek Vigor 2710 IPSEC Lan-to-Lan tunnel

I’ve managed to get the m0n0wall setup to allow IPSEC lan-to-lan connections from some Vigor 2710 after much trial and error as google and the m0n0wall forum doesn’t seem to know much about the Vigor 2710.

The setup isn’t hard, my main mistake was to use a PSK generator for my pre-shared key which put a bunch of different unusual characters in the key. The key caused me hours of fault finding as it didn’t occur to me that it could be the issue until I had almost given up and tried a simple 123password4321 key just to see and hey presto the tunnel sprang into life!!

Here’s a example setup for the Draytek 2710 and the m0n0wall below (though IP/Domain names have been changed):

Draytek 2710 IPSEC Lan-to-Lan settings:

Draytek 2710 IPSEC Lan-to-Lan advanced settings:

m0n0wall IPSEC VPN Settings:

ix2-200 Hard Drive Upgrade

Incase anyone else is searching for a way to upgrade the hard drives in a Iomega ix2-200 this post helped me upgrade with a couple of 2TB HDDs.
http://zepman.tweakblogs.net/blog/3552/iomega-ix2-200-bad-flash-recovery-and-hdd-replacement.html

Seagate Momentus XT Hybrid Hard Drive Part 2

I’ve just downloaded and installed firmware version SD28 for my Momentus XT. It seems to have livened the hard drive back up so I would recommend it!
It does feel a little odd update a hard drive firmware as I have never done this before on a platter based disk in the years I have been working with computers.

OS X Lion SSH private key

Just spend a while trying to work out why my ssh wouldn’t logon to my servers after upgrading to OS X Lion a while back.

It seems the file with your private key that I previously had called identity now needs to be called id_rsa

Rails 3 Emails

After much hair pulling over why emails weren’t sending once I upgraded to Rails 3 I’ve figured it out.
I need to change mailer.rb to setup_mail.rb,
tell the server not use ssl with the following directive in setup_mail.rb:-

:enable_starttls_auto => false

The gets your emails sending again, but now I had the issue that they were all in plain text not html so the html markup was seen, not the email.
This turned out to be a issue with using the old mailer API, once I changed to the new mail call it all started working as expected.

Note to self… don’t assume that depreciated api will work ok in a new version.. check/test all functions before you move to production servers