Update macOS TFTP Instructions

This commit is contained in:
Evan Reichard 2023-04-25 09:44:08 -04:00
parent ee8081d0f7
commit f24a353e8a
2 changed files with 8 additions and 5 deletions

View File

@ -50,8 +50,9 @@ 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:
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
```
@ -59,7 +60,7 @@ Start the service:
```
sudo launchctl start com.apple.tftpd
```
By default, the tftp directory is at `/private/tftpboot`. Be sure to grant permissions:
By default, the TFTP directory is at `/private/tftpboot`. Be sure to grant permissions:
```
sudo chmod 777 /private/tftpboot
```
@ -70,10 +71,12 @@ 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:
##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.

View File

@ -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) or screen (`screen /dev/<device> 9600`), 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), 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.