[linux] Problem s tftpd
Tomas Tudja
catcher na hysteria.sk
Sobota Únor 19 10:57:15 CET 2005
Vazena konfera,
pri pokuse dostat kernel na jedno zariadenie (Compaq Evo T20)
som sa stretol s nasledujucim problemom:
/etc/services obsahuje tento riadok:
tftp 10069/udp
/etc/xinetd.d/tftp vyzera takto:
service tftp
{
disable = no
socket_type = dgram
protocol = udp
port = 10069
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
netstat hlasi toto:
[root na localhost catcher]# netstat -na|grep 10069
udp 0 0 0.0.0.0:10069 0.0.0.0:*
I napriek vyssie uvedenym skutocnostiam sa deje toto:
[root na localhost catcher]# tcpdump -i eth1 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
10:30:49.628858 IP 0.0.0.0.0 > 255.255.255.255.10067: UDP, length: 300
10:30:49.629658 IP 192.168.0.254.10067 > 192.168.0.2.10068: UDP, length: 300
10:30:49.642796 arp who-has 192.168.0.254 tell 192.168.0.2
10:30:49.642923 arp reply 192.168.0.254 is-at 00:50:fc:cf:20:8a
10:30:49.642985 IP 192.168.0.2.2001 > 192.168.0.254.10069: UDP, length: 47
10:30:49.643206 IP 192.168.0.254 > 192.168.0.2: icmp 83: 192.168.0.254 udp
port 10069 unreachable
Co robim zle?
Vopred dakujem,
Catcher
Další informace o konferenci linux