Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
problem wiht tftpd with rhel5

problem wiht tftpd with rhel5

2007-04-28       - By pengcz@(protected)

 Back
Reply:     1     2     3     4     5  


Dear all
       I have the problem when i want to upload or download the file from the
tftp server ,here is the test steps:

any suggestion will be apprieate !!


[root@(protected) ~]# 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             =-u nobody   -s /mylove
       per_source              = 11
       cps                     = 100 2
       flags                   = IPv4
}
[root@(protected) ~]#


[root@(protected) ~]# ll /mylove/
total 40
-rwxrwxrwx 1 nobody nobody    86 Apr 24 16:35 1.txt
-rwxrwxrwx 1 nobody nobody 10894 Apr 26 13:51 a.txt
-rwxrwxrwx 1 nobody nobody    86 Apr 24 15:48 dhcpd.conf.test-tftp
-rwxr-xr-x 1 nobody nobody    86 Apr 28 13:51 d.txt
C:\Documents and Settings\peterp>tftp 192.168.1.1 get a.txt
Timeout occurred
C:\Documents and Settings\peterp>


[root@(protected) ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@(protected) ~]# netstat -nlp | grep tftp
udp        0      0 0.0.0.0:69                  0.0.0.0:*                      
        6355/in.tftpd
[root@(protected) ~]#

C:\Documents and Settings\peterp>tftp 192.168.1.1 get a.txt
Timeout occurred
C:\Documents and Settings\peter p>
<DIV>&nbsp;</DIV>
<DIV>Dear all </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have the problem when i want
to upload or download the file from the tftp server ,here is the test steps:<
/DIV>
<DIV>&nbsp;</DIV>
<DIV>any suggestion will be apprieate !!</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[root@(protected) ~]# cat /etc/xinetd.d/tftp<BR># default: off<BR>#
description: The tftp server serves files using the trivial file transfer \<BR>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protocol.&nbsp; The tftp protocol is often
used to boot diskless \<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; workstations,
download configuration files to network-aware printers, \<BR>#&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp; and to start the installation process for some operating
systems.<BR>service tftp<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
disable = no<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket_type&nbsp;
&n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&nbsp;&nbsp; cps
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 100 2<BR>&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = IPv4<BR>}<BR>[root
@(protected) ~]#</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[root@(protected) ~]# ll /mylove/<BR>total 40<BR>-rwxrwxrwx 1 nobody
nobody&nbsp;&nbsp;&nbsp; 86 Apr 24 16:35 1.txt<BR>-rwxrwxrwx 1 nobody nobody
10894 Apr 26 13:51 a.txt<BR>-rwxrwxrwx 1 nobody nobody&nbsp;&nbsp;&nbsp; 86 Apr
24 15:48 dhcpd.conf.test-tftp<BR>-rwxr-xr-x 1 nobody nobody&nbsp;&nbsp;&nbsp;
86 Apr 28 13:51 d.txt</DIV>
<DIV>C:\Documents and Settings\peterp&gt;tftp 192.168.1.1 get a.txt<BR>Timeout
occurred</DIV>
<DIV>C:\Documents and Settings\peterp&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[root@(protected) ~]# /etc/init.d/xinetd restart<BR>Stopping xinetd:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<BR>Starting xinetd:&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;
OK&nbsp; ]<BR>[root@(protected) ~]# netstat -nlp | grep tftp<BR>udp&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0.0.0.0:69&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6355/in.tftpd<BR>[root
@(protected) ~]#</DIV>
<DIV>&nbsp;</DIV>
<DIV>C:\Documents and Settings\peterp&gt;tftp 192.168.1.1 get a.txt<BR>Timeout
occurred</DIV>
<DIV>C:\Documents and Settings\peter p&gt;</DIV><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none"
href="http://event.mail.163.com/chanel/xyq.htm?from=126" target="_blank"><span
style="text-decoration:underline; color:blue">????2006????????--???? </span> <
/a>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe