Linux下tftp服务配置
2011-05-24 15:59
393 查看
[root@localhost tftpboot]# vim /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer /
# protocol. The tftp protocol is often used to boot diskless /
# workstations, download configuration files to network-aware printers, /
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram /* 使用数据报套接字*/
protocol = udp /* 使用UDP协议 */
wait = yes /* 允许等待 */
user = root /* 用户 */
server = /usr/sbin/in.tftpd /* 服务程序*/
server_args = -s /tftpboot /* 服务器端的根目录*/
disable = no /* 使能 */
per_source = 11
cps = 100 2
flags = IPv4
}
[root@localhost tftpboot]# service xinetd restart
(或者使用/etc/init.d/xinetd restart,而且因发行版的不同具体路径会有所不同)
关闭 xinetd: [ 确定 ]
启动 xinetd: [ 确定 ]
[root@localhost tftpboot]# netstat –au | grep tftp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 *:tftp *:*
=>tftpboot 0x30200000 zImage
TFTP from server 192.168.1.1; our IP address is 192.168.1.100
Filename 'zImage'.
Load address: 0x30200000
Loading: ############################################################################################################################################################################
done
Bytes transferred = 881988 (d7544 hex)
Windows下tftp服务(tftpd32)配置
# default: off
# description: The tftp server serves files using the trivial file transfer /
# protocol. The tftp protocol is often used to boot diskless /
# workstations, download configuration files to network-aware printers, /
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram /* 使用数据报套接字*/
protocol = udp /* 使用UDP协议 */
wait = yes /* 允许等待 */
user = root /* 用户 */
server = /usr/sbin/in.tftpd /* 服务程序*/
server_args = -s /tftpboot /* 服务器端的根目录*/
disable = no /* 使能 */
per_source = 11
cps = 100 2
flags = IPv4
}
[root@localhost tftpboot]# service xinetd restart
(或者使用/etc/init.d/xinetd restart,而且因发行版的不同具体路径会有所不同)
关闭 xinetd: [ 确定 ]
启动 xinetd: [ 确定 ]
[root@localhost tftpboot]# netstat –au | grep tftp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 *:tftp *:*
=>tftpboot 0x30200000 zImage
TFTP from server 192.168.1.1; our IP address is 192.168.1.100
Filename 'zImage'.
Load address: 0x30200000
Loading: ############################################################################################################################################################################
done
Bytes transferred = 881988 (d7544 hex)
Windows下tftp服务(tftpd32)配置
相关文章推荐
- Linux 下 tftp 服务配置
- Linux 学习之服务---tftp配置
- 嵌入式linux tftp服务的配置
- Linux下TFTP服务的安装、配置和操作
- linux tftp服务的详细配置过程
- 【linux】ubuntu 安装、配置与启动tftp服务
- Linux下TFTP服务的安装、配置和操作
- linux-Centos 7下tftp-server服务的安装与配置
- Linux tftp服务配置
- Linux环境下配置tftp服务
- linux下的tftp服务配置
- Linux下TFTP服务的安装、配置和操作
- linux下的tftp服务配置
- ubuntu10.04 安装配置tftp服务 分类: arm-linux-Ubuntu 2013-07-22 16:29 263人阅读 评论(0) 收藏
- linux下配置TFTP和NFS服务的方法
- Linux下TFTP服务的安装、配置和操作
- linux下tftp、samba、nfs服务的配置和启用
- Linux驱动开发】Ubuntu14.04配置tftp服务并与ARM tftp
- Debian Linux tftp服务器配置
- linux-Centos 7下tftp-server服务的安装与配置