TFTPd

TFTPd:
"ftp://ftp.kernel.org/pub/software/network/tftp/tftp-hpa-5.0.tar.gz"
"tar -xzf tftp-hpa-5.0.tar.gz"
"cd tftp-hpa-5.0"
"./configure" oder bei SuSE "./configure --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib --includedir=/usr/include"
"make"
"make install"
"vi /etc/xinetd.d/tftp" ->
	service tftp
        {
                protocol        = udp
                socket_type     = dgram
                wait            = yes
                user            = root
                server          = /usr/sbin/in.tftpd
                server_args     = -p -s /tftpboot -v -v -v -m /etc/tftp_remap.conf
                disable         = no
        }
"vi /etc/hosts.allow" ->
			in.tftpd: ALL : ALLOW
"mkdir /tftpboot"
"chown -R nobody:nobody /tftpboot"
"chmod -R 777 /tftpboot"
"vi /etc/xinetd.conf" ->

Ab openSuSE leap 42.1 "systemctl start xinetd.service". Alt "/etc/init.d/xinetd start" = startet den TFTP Server via xinetd

#Info####################
"touch /etc/tftp_remap.conf"
"/usr/sbin/in.tftpd &" =  TFTP Server (startet den Server manuel)

#PS Infos#####################
ps -ef | grep -i tftp
root      6288  6257  0 17:34 pts/3    00:00:00 tftp 127.0.0.1
ps -ef | grep -i xinetd
root      6284     1  0 17:33 ?        00:00:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.init.pid

#Fehlermeldungen

Post Revisions: