|
|
发表于 2009-4-25 17:14:41
|
显示全部楼层
- $ cat /etc/conf.d/in.tftpd
- # /etc/init.d/in.tftpd
- # Path to server files from
- # Depending on your application you may have to change this.
- # This is commented out to force you to look at the file!
- #INTFTPD_PATH="/var/tftp/"
- #INTFTPD_PATH="/tftpboot/"
- INTFTPD_PATH="/tftproot/"
- # For more options, see in.tftpd(8)
- # -R 4096:32767 solves problems with ARC firmware, and obsoletes
- # the /proc/sys/net/ipv4/ip_local_port_range hack.
- # -s causes $INTFTPD_PATH to be the root of the TFTP tree.
- # -l is passed by the init script in addition to these options.
- INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"
复制代码- sudo /etc/init.d/in.tftpd start
- tftp 127.0.0.1
- tftp>get ramdisk
复制代码 测试成功,没有问题啊 |
|