diff --git a/docs/brocade-overview.md b/docs/brocade-overview.md index af1a8f4..01ffc3e 100644 --- a/docs/brocade-overview.md +++ b/docs/brocade-overview.md @@ -48,5 +48,35 @@ systemctl stop tftpd-hpa ##optionally remove it completely apt remove tftpd-hpa ``` + +### Setting up TFTP (macOS) +Fortunately macOS has a built in TFTP server, all you have to do is enable it. Lets first temporarily disable the Firewall: **System Settings** -> **Network** -> **Firewall**. + +Load the TFTP service: +``` +sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist +``` +Start the service: +``` +sudo launchctl start com.apple.tftpd +``` +By default, the TFTP directory is at `/private/tftpboot`. Be sure to grant permissions: +``` +sudo chmod 777 /private/tftpboot +``` +Move the contents of `TFTP-Content` to the `/private/tftpboot` directory. + +Once complete, you can stop and disable the service: +``` +sudo launchctl stop com.apple.tftpd +sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist + +##optionally to be double sure TFTP is no longer running, ensure theres no output from the following: +sudo lsof -i :69 +``` + +Finally, be sure to re-enable the firewall: **System Settings** -> **Network** -> **Firewall** + + ## Begin -You're now serving the required files over TFTP. Just navigate to the left-hand menu, underneath the **Brocade Setup** section - click on the section for your switch model and begin. \ No newline at end of file +You're now serving the required files over TFTP. Just navigate to the left-hand menu, underneath the **Brocade Setup** section - click on the section for your switch model and begin.