LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   check tftp server (https://www.linuxquestions.org/questions/linux-software-2/check-tftp-server-454194/)

yhus 06-12-2006 10:42 PM

check tftp server
 
Hello,

I've installed tftp server in FC5, but could not get files from it. How can I verify tftp server is alive?

Thank you.

imagineers7 06-13-2006 01:10 AM

Hello yhus,


[aniruddha@shakti xinetd.d]# cat /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
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}




#Your /etc/xinetd.d/tftp file should look like above


And to make it really work you will have to configure dhcp server as:-(/etc/dhcpd.conf)

among other things you should ad something like:-


shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.100 192.168.0.200;
filename "/lts/vmlinuz-2.4.24-ltsp-4"; # Etherboot kernel
}
}



Think of this just as a hint...

imagineers7 06-13-2006 01:17 AM

Hi again yhus,

You will also have to add an entry something like:-
in.tftpd: 192.168.0.

In your /etc/hosts.allow file

Have fun


All times are GMT -5. The time now is 12:21 PM.