Most of the important parts are from this article
With a few small changes:
1. I used macports to get tftp
sudo port install tftp-hpa
2. You need slightly different commands for shutting your ethernet port down and bringing it back up
sudo ifconfig en0 down sudo ifconfig en0 up 192.168.1.2
Other than that, this was pretty simple.