Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   RHEL6 - TFTP Timeout (http://www.linux-archive.org/red-hat-linux/554801-rhel6-tftp-timeout.html)

07-20-2011 08:16 PM

RHEL6 - TFTP Timeout
 
Hi All,

I am trying to setup TFTP server (155.101.90.32) on RHEL 6. To test, I am running the TFTP client on the same machine.


* Following is the content of the /etc/xinetd.d/tftp
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
}

* Firewall is disabled

* To make sure TFTP server is running, following commands executed "service xinetd restart" and "chkconfig tftp on"

* Following is the screen output when transferred using TFTP client
[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:04 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage

[root@localhost tftpboot]# tftp -v 155.101.90.32 -c get uImage uImage2
Connected to 155.101.90.32 (155.101.90.32), port 69
getting from 155.101.90.32:uImage to uImage2 [netascii]
Transfer timed out.

[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:05 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage
-rw-r--r--. 1 root root 0 Jul 20 16:06 uImage2

For testing, I did successful file transfer between TFTP Server running on Windows machine and TFTP client running on RHEL6 machine.

Appreciate all the help in advance...

Best Regards,
Jignesh Shah

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Amit Tewari" 07-21-2011 03:12 AM

RHEL6 - TFTP Timeout
 
Hi,

Check that port 69 is not blocked for input packets in your rhel 6
machine.
-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of
Jignesh.Shah@emerson.com
Sent: Thursday, July 21, 2011 1:47 AM
To: redhat-list@redhat.com
Subject: RHEL6 - TFTP Timeout

Hi All,

I am trying to setup TFTP server (155.101.90.32) on RHEL 6. To test, I
am running the TFTP client on the same machine.


* Following is the content of the /etc/xinetd.d/tftp
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
}

* Firewall is disabled

* To make sure TFTP server is running, following commands
executed "service xinetd restart" and "chkconfig tftp on"

* Following is the screen output when transferred using TFTP
client
[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:04 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage

[root@localhost tftpboot]# tftp -v 155.101.90.32 -c get uImage uImage2
Connected to 155.101.90.32 (155.101.90.32), port 69
getting from 155.101.90.32:uImage to uImage2 [netascii]
Transfer timed out.

[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:05 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage
-rw-r--r--. 1 root root 0 Jul 20 16:06 uImage2

For testing, I did successful file transfer between TFTP Server running
on Windows machine and TFTP client running on RHEL6 machine.

Appreciate all the help in advance...

Best Regards,
Jignesh Shah

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

07-21-2011 11:45 AM

RHEL6 - TFTP Timeout
 
Hi Amit,

Thanks for the response.

To verify the ports, I already performed TFTP data transfer between TFTP Server running on windows machine and TFTP client running on Linux machine successfully.

So I believe port is not blocked. Still, I can verify...

Best Regards,
Jignesh Shah

-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Amit Tewari
Sent: Wednesday, July 20, 2011 11:12 PM
To: General Red Hat Linux discussion list
Subject: RE: RHEL6 - TFTP Timeout


Hi,

Check that port 69 is not blocked for input packets in your rhel 6
machine.
-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of
Jignesh.Shah@emerson.com
Sent: Thursday, July 21, 2011 1:47 AM
To: redhat-list@redhat.com
Subject: RHEL6 - TFTP Timeout

Hi All,

I am trying to setup TFTP server (155.101.90.32) on RHEL 6. To test, I
am running the TFTP client on the same machine.


* Following is the content of the /etc/xinetd.d/tftp
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
}

* Firewall is disabled

* To make sure TFTP server is running, following commands
executed "service xinetd restart" and "chkconfig tftp on"

* Following is the screen output when transferred using TFTP
client
[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:04 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage

[root@localhost tftpboot]# tftp -v 155.101.90.32 -c get uImage uImage2
Connected to 155.101.90.32 (155.101.90.32), port 69
getting from 155.101.90.32:uImage to uImage2 [netascii]
Transfer timed out.

[root@localhost tftpboot]# ls -la
total 1988
drwxrwxrwx. 2 root root 4096 Jul 20 16:05 .
dr-xr-xr-x. 31 root root 4096 Jul 20 16:04 ..
-rwxrwxrwx. 1 root root 2025772 Jul 20 16:05 uImage
-rw-r--r--. 1 root root 0 Jul 20 16:06 uImage2

For testing, I did successful file transfer between TFTP Server running
on Windows machine and TFTP client running on RHEL6 machine.

Appreciate all the help in advance...

Best Regards,
Jignesh Shah

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Georgios Magklaras 07-21-2011 01:17 PM

RHEL6 - TFTP Timeout
 
On 07/21/2011 01:45 PM, Jignesh.Shah@emerson.com wrote:

Hi Amit,

Thanks for the response.

To verify the ports, I already performed TFTP data transfer between TFTP Server running on windows machine and TFTP client running on Linux machine successfully.

So I believe port is not blocked. Still, I can verify...


If IPTABLES (or other routing/firewall issue) is not blocking access to
UDP port 69, when you start the TFTP server on Linux, does it really
listen to the port (if you issue a netstat -an, do you see something on
udp, also lsof -i | grep tftp)?'


GM

--
--
George Magklaras PhD
RHCE no: 805008309135525

Senior Systems Engineer/IT Manager
Biotek Center, University of Oslo
EMBnet TMPC Chair

http://folk.uio.no/georgios

Tel: +47 22840535

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

07-21-2011 01:31 PM

RHEL6 - TFTP Timeout
 
Following is the response for your suggestion while tftp server & client are running, it seems that port is fine..

[root@localhost tftpboot]# lsof -i | grep tftp
xinetd 4094 root 5u IPv4 28956 0t0 UDP *:tftp
xinetd 4094 root 8u IPv4 28958 0t0 UDP *:tftp
tftp 7293 root 3u IPv4 41470 0t0 UDP *:38633

[root@localhost tftpboot]# netstat -an | grep udp
udp 0 0 0.0.0.0:38633 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:875 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:2049 0.0.0.0:*
udp 0 0 155.101.91.255:137 0.0.0.0:*
udp 0 0 155.101.90.30:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 155.101.91.255:138 0.0.0.0:*
udp 0 0 155.101.90.30:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 0.0.0.0:44305 0.0.0.0:*
udp 0 0 0.0.0.0:38172 0.0.0.0:*
udp 0 0 0.0.0.0:800 0.0.0.0:*
udp 0 0 0.0.0.0:676 0.0.0.0:*
udp 0 0 0.0.0.0:48438 0.0.0.0:*
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:69 0.0.0.0:*
udp 0 0 0.0.0.0:69 0.0.0.0:*
udp 0 0 0.0.0.0:48483 0.0.0.0:*
udp 0 0 :::111 :::*
udp 0 0 :::676 :::*
udp 0 0 :::54458 :::*
udp 0 0 :::34505 :::*


Best Regards,
Jignesh Shah


-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Georgios Magklaras
Sent: Thursday, July 21, 2011 9:17 AM
To: General Red Hat Linux discussion list
Subject: Re: RHEL6 - TFTP Timeout

On 07/21/2011 01:45 PM, Jignesh.Shah@emerson.com wrote:
> Hi Amit,
>
> Thanks for the response.
>
> To verify the ports, I already performed TFTP data transfer between TFTP Server running on windows machine and TFTP client running on Linux machine successfully.
>
> So I believe port is not blocked. Still, I can verify...

If IPTABLES (or other routing/firewall issue) is not blocking access to
UDP port 69, when you start the TFTP server on Linux, does it really
listen to the port (if you issue a netstat -an, do you see something on
udp, also lsof -i | grep tftp)?'

GM

--
--
George Magklaras PhD
RHCE no: 805008309135525

Senior Systems Engineer/IT Manager
Biotek Center, University of Oslo
EMBnet TMPC Chair

http://folk.uio.no/georgios

Tel: +47 22840535

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

07-21-2011 01:31 PM

RHEL6 - TFTP Timeout
 
Following is the response for your suggestion while tftp server & client are running, it seems that port is fine..

[root@localhost tftpboot]# lsof -i | grep tftp
xinetd 4094 root 5u IPv4 28956 0t0 UDP *:tftp
xinetd 4094 root 8u IPv4 28958 0t0 UDP *:tftp
tftp 7293 root 3u IPv4 41470 0t0 UDP *:38633

[root@localhost tftpboot]# netstat -an | grep udp
udp 0 0 0.0.0.0:38633 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:875 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:2049 0.0.0.0:*
udp 0 0 155.101.91.255:137 0.0.0.0:*
udp 0 0 155.101.90.30:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 155.101.91.255:138 0.0.0.0:*
udp 0 0 155.101.90.30:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 0.0.0.0:44305 0.0.0.0:*
udp 0 0 0.0.0.0:38172 0.0.0.0:*
udp 0 0 0.0.0.0:800 0.0.0.0:*
udp 0 0 0.0.0.0:676 0.0.0.0:*
udp 0 0 0.0.0.0:48438 0.0.0.0:*
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:69 0.0.0.0:*
udp 0 0 0.0.0.0:69 0.0.0.0:*
udp 0 0 0.0.0.0:48483 0.0.0.0:*
udp 0 0 :::111 :::*
udp 0 0 :::676 :::*
udp 0 0 :::54458 :::*
udp 0 0 :::34505 :::*


Best Regards,
Jignesh Shah


-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Georgios Magklaras
Sent: Thursday, July 21, 2011 9:17 AM
To: General Red Hat Linux discussion list
Subject: Re: RHEL6 - TFTP Timeout

On 07/21/2011 01:45 PM, Jignesh.Shah@emerson.com wrote:
> Hi Amit,
>
> Thanks for the response.
>
> To verify the ports, I already performed TFTP data transfer between TFTP Server running on windows machine and TFTP client running on Linux machine successfully.
>
> So I believe port is not blocked. Still, I can verify...

If IPTABLES (or other routing/firewall issue) is not blocking access to
UDP port 69, when you start the TFTP server on Linux, does it really
listen to the port (if you issue a netstat -an, do you see something on
udp, also lsof -i | grep tftp)?'

GM

--
--
George Magklaras PhD
RHCE no: 805008309135525

Senior Systems Engineer/IT Manager
Biotek Center, University of Oslo
EMBnet TMPC Chair

http://folk.uio.no/georgios

Tel: +47 22840535

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 11:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.