www.centos.org Forum Index CentOS 6 - Software Support Unable to transfer via TFTP
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: Unable to transfer via TFTP | #2 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/8/5
From Northern Illinois, USA
Posts: 6184
|
You have changed server_args from the default of '-s /var/lib/tftpboot'.
Put it back, and get it working before you make changes. |
||
Posted on: 2012/5/22 17:47
|
|||
|
Re: Unable to transfer via TFTP | #3 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
Yes I have, i have also left -s /var/lib/tftpboot in there and it still did not work. I will, however, put it back until we have come up with a solution. I have also chmod 766 and chmod 777 that directory to no avail. This was after i tested with everything defaulted. Thanks.
Edit: Current output of /etc/xinet.d/tftp |
||
Posted on: 2012/5/22 18:37
|
|||
|
Re: Unable to transfer via TFTP | #4 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
Is it possible that my FTP configurations are messing with my TFTP server. I know that I am not allowing anonymous to log into the FTP server, could this be affecting the anonymous login for TFTP?
|
||
Posted on: 2012/5/23 16:26
|
|||
|
Re: Unable to transfer via TFTP | #5 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
It is not causing issue. I disabled vstfpd and I am still getting the same issues with TFTP.
|
||
Posted on: 2012/5/23 17:47
|
|||
|
Re: Unable to transfer via TFTP | #6 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
What is needed from tftp that vsftpd cannot provide?
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/23 21:46
|
|||
|
Re: Unable to transfer via TFTP | #7 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
Forgive me, but I do not think I understand the question. VSFTPD is my FTP server. I am trying to setup TFTP as well. FTP cannot provide me TFTP. I have devices that will not allow FTP but will allow TFTP. I am going to look a little deeper into VSFTPD now, as your response leads me to believe that it is capable of TFTP as well. Correct me if I am wrong. Thanks.
|
||
Posted on: 2012/5/24 13:44
|
|||
|
Re: Unable to transfer via TFTP | #8 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
So after looking a little further into VSFTPD and speaking with one of my Sr. Engineers, it is not capable of TFTP. I am confused by your question now. I don't see how VSFTPD has anything to do with TFTP. Thanks.
|
||
Posted on: 2012/5/24 14:03
|
|||
|
Re: Unable to transfer via TFTP | #9 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
I was just trying to clarify the requirements, as many people try to inappropriately use TFTP where anonymous FTP would do the job better. If you need TFTP for things like booting diskless clients, then it is the right tool for the job. If your knowledgeable Sr. Engineer says it is required then that is likely the case, but the requirement was not been made clear in your initial question - although I now see I missed the clue "server_args = -s /var/lib/tftpboot" in a later post.
With vsftpd out of the picture hopefully someone knowledgeable about the use of TFTP for providing boot services can advise. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/24 14:14
|
|||
|
Re: Unable to transfer via TFTP | #10 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
I see, thank you. Just to clarify a little further, I am not booting disk-less clients. I am setting up a provisioning server for many different hosted phone solutions. Some of the phones, Cisco SPA series to be exact, do not allow for FTP. This is why I need the TFTP server. It is literally just a get command it sends to pull the preexisting configuration from the server to the phone.
|
||
Posted on: 2012/5/24 14:28
|
|||
|
Re: Unable to transfer via TFTP | #11 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
I have created a blank server with just TFTP running on it. I am still having the same issues.
|
||
Posted on: 2012/5/29 21:39
|
|||
|
Re: Unable to transfer via TFTP | #12 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Exactly what errors are you seeing from the clients? Do you see anything relevant in the logs on the server?
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/29 22:35
|
|||
|
Re: Unable to transfer via TFTP | #13 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
The logs are posted above. My client just times out.
|
||
Posted on: 2012/5/30 13:33
|
|||
|
Re: Unable to transfer via TFTP | #14 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Perhaps asking the obvious, but is port number 69 open? Have you tried temporarily stopping iptables?
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/30 14:25
|
|||
|
Re: Unable to transfer via TFTP | #15 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
Iptables and Selinux are disabled. I have port 69 punch through the firewall. I can see my connection hit the server, but my client eventually times out. Once the first connection has hit i am unable to establish a second connection until the first one eventually times out. (see the above /var/log/message output.)
|
||
Posted on: 2012/5/30 16:47
|
|||
|
Re: Unable to transfer via TFTP | #16 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2012/5/22
From
Posts: 11
|
Removed user, flags, per source and pcf from /etc/xinetd.d/tftp. It now works internally via localhost and another server on the same subnet. Made some firewall adjustments and it is now working across the board.
|
||
Posted on: 2012/6/1 21:07
|
|||
|
Re: Unable to transfer via TFTP | #17 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Sounds good. Next steps: Start iptables, and if that works put SELinux in Enforcing mode.
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/6/1 23:44
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
zladson





You cannot start a new topic.
You can view topic.