From ee8081d0f74278618416c7e4d5469d8ec80e553e Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Sat, 22 Apr 2023 19:27:34 -0400 Subject: [PATCH] TFTP macOS instructions --- docs/brocade-overview.md | 29 ++++++++++++++++++++++++++++- docs/fcx.md | 4 ++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/docs/brocade-overview.md b/docs/brocade-overview.md index af1a8f4..04cb005 100644 --- a/docs/brocade-overview.md +++ b/docs/brocade-overview.md @@ -48,5 +48,32 @@ 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. First, load the 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 +``` + + ## 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. diff --git a/docs/fcx.md b/docs/fcx.md index d912fd2..30473de 100644 --- a/docs/fcx.md +++ b/docs/fcx.md @@ -3,7 +3,7 @@ ## Preparation If you haven't already, visit the [Brocade Overview](brocade-overview.md) page to download the latest guide package and get it ready to be served via TFTP - this unified package includes all the latest firmware, licenses, and documentation. -**Connect** to the serial/console port using a program like Putty (9600 8N1), then connect the **management ethernet port** to your network (do NOT use any of the regular switch ports yet). +**Connect** to the serial/console port using a program like Putty (9600 8N1) or screen (`screen /dev/ 9600`), then connect the **management ethernet port** to your network (do NOT use any of the regular switch ports yet). Power on the switch while watching your serial terminal - it will have a prompt saying ```Hit b to enter the boot monitor``` - press ```b``` quickly and you'll be dropped into the bootloader prompt, now we can upgrade the software. If you missed the prompt and it boots the OS instead, pull power and try again. @@ -152,4 +152,4 @@ The switch will be much quieter if you can find and run B and/or C revision bric Also, it seems the PSU and fan tray position also affect fan speed. If you are running 1 PSU and fan tray, position them in the furthest left slots, when looking at the switch from the rear. If you have 2 PSUs and 1 fan tray, position the fan tray in the furthest left fan tray slot when looking at the rear of the switch. ## Licensing Info -Like other EoL ICX6xxx series switches, the ICX6610 requires license file unlocks for 10gbE port functionality as well as some advanced software features. These licenses are no longer sold. To prevent e-waste and save these from landfills, I am providing free unlocks for use in a homelab or personal environment. Once you've finished the update and configuration process, proceed to the [ICX6610 Licensing](6610.md) section to fully license and unlock your switch. If you have an FCX, you can use the [FCX Licensing](fcxlic.md) section. \ No newline at end of file +Like other EoL ICX6xxx series switches, the ICX6610 requires license file unlocks for 10gbE port functionality as well as some advanced software features. These licenses are no longer sold. To prevent e-waste and save these from landfills, I am providing free unlocks for use in a homelab or personal environment. Once you've finished the update and configuration process, proceed to the [ICX6610 Licensing](6610.md) section to fully license and unlock your switch. If you have an FCX, you can use the [FCX Licensing](fcxlic.md) section.