啟動tftp service
- -s:指定chroot
- -l:
- -c:可以上傳檔案
- /tftpboot:指定上傳/下載檔案的目錄
tftp上傳
- -p:Put file
- -l :Local FILE
- iozone.xls:上傳的檔案
- 10.0.0.66:tftp server的IP
tftp下載
- -g: Get file
- -r :Remote FILE
- iozone.xls:下載的檔案
- 10.0.0.66:tftp server的IP
tftp: server error: (1) File not found
Cause: 指定的文件不存在;或tftpd啟動時沒加入-c選項,不允許上傳檔案。
Solution:
- 確認上傳的檔案確實存在
- 重啟tftpd時加入 -c 選項
tftp: server error: (0) Permission denied
Cause: 沒有在指定上傳目錄建立檔案的權限
Solution:
~# chmod 777 /tftpboot #tftpboot可以換成實際的目錄
Jose’s Google+ profile
沒有留言:
張貼留言