ubuntu 12.04 TFTP 설정

개발환경/ubuntu 2013. 6. 9. 23:16

1. Package 설치

 

$ sudo apt-get install tftp tftpd
xinetd가 인스톨 되어 있지 않을 경우 xinetd를 인스톨 한다.
$ sudo apt-get install xinetd

 

2. xinetd 설정

 

$ sudo vi /etc/xinetd.d/tftp

 

/etc/xinetd.d/tftp에 이하의 내용을 추가합니다.(있을 경우 수정, disable=no로 바꾸는 것에 주의)

 

# 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
    wait            = yes
    user            = root
    server          = /usr/sbin/in.tftpd
    server_args     = -s /tftpboot
    disable         = no
}

 

3. xinet 서비스 재 가동

 

$ sudo service xinetd restart
or
$ sudo /etc/init.d/xinetd restart

 

'개발환경 > ubuntu' 카테고리의 다른 글

ubuntu 14.04  (0) 2014.12.16
ubuntu 12.04 NFS 설정  (0) 2013.06.09
ubuntu 12.04 후 추가 작업  (0) 2013.06.03
ssh install  (0) 2013.06.03
samba 설정 - ubuntu 12.04  (0) 2013.06.03
: