安装tftp的步骤
1、安装server与client
代码: 全选
sudo apt-get install tftpd tftp openbsd-inetd
代码: 全选
cat /etc/inetd.conf
3、重新启动inetd服务tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot
代码: 全选
sudo /etc/init.d/openbsd-inetd start
非要输入绝对路径,如何可以相对路径呢?因为在cisco pix里配置无法使用绝对路径tftp 172.20.0.1
tftp> get asdm-602.bin
Error code 2: Only absolute filenames allowed
tftp>
代码: 全选
pixfirewall# copy tftp: flash:
Address or name of remote host [172.20.0.1]?
Source filename [asdm-602.bin]?
Destination filename [asdm-602.bin]?
Accessing tftp://172.20.0.1/asdm-602.bin...
%Error reading tftp://172.20.0.1/asdm-602.bin (Only absolute filenames allowed)
pixfirewall#
谢谢