mirror of
https://github.com/Fohdeesha/lab-docu.git
synced 2025-01-09 17:17:33 +01:00
Merge pull request #38 from evanreichard/master
TFTP macOS instructions
This commit is contained in:
commit
1f199719a1
@ -48,5 +48,35 @@ systemctl stop tftpd-hpa
|
|||||||
##optionally remove it completely
|
##optionally remove it completely
|
||||||
apt remove tftpd-hpa
|
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
|
## 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user