Re: Can't get tftpd working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Dec 29, 2014 11:23 AM, "Robert Moskowitz" <rgm@xxxxxxxxxxxxxxx> wrote:
>
>
> On 12/29/2014 12:55 PM, Pete Travis wrote:
>>
>>
>> On Dec 29, 2014 10:18 AM, "Robert Moskowitz" <rgm@xxxxxxxxxxxxxxx> wrote:
>> >
>> > I have two F21 systems on the same subnet.  Client and server.
>> >
>> > On the server I created a directory /root/tftp with 777 permissions.
>> >
>> > I have opened up the tftpd service with the firewall gui interface and
>> >
>> > firewall-cmd --zone=public --list-all
>> >
>> > shows services includes tftp (I am assuming here that firewalld knowns that tftp is a udp app)
>> >
>> > The server is running tftpd in foreground under sudo:
>> >
>> > in.tftpd -Lc4pv -s /root/tftp
>> >
>> > The client connects with 'tftp server' and gets tftp> prompt.  A status shows the client is connected to the server (thus firewall is allowing connection).  But a put fails with 'Transfer timed out'.
>> >
>> > There are no messages logged.  I have tried increasing verbosity with 'vvv' but no logging.
>> >
>> > I have even created a file on the server under /root/tftp and tried to 'get' it, which also timed out.
>> >
>> > So what am I missing here?
>> >
>> >
>> > --
>>
>> To turn on tftpd, `systemctl enable tftpd.socket` (and maybe also start the socket)
>>
>> it serves from /var/lib/tftp by default, and files there will have an appropriate selinux label.
>>
>> Not sure about your manually invoked tftpd, but you probably didn't want that long-term anyway :P
>>
>>
>
> Actually, as often as I need tftpd, I DO want it invoked manually.  I am doing this on a notebook what has the firmware and config files for the switches.  Update the firmware, install the config files.  Check that all is well and backup the config files.  Then take down tftpd for the next year or so.
>
> So I don't want to run it from inetd.d.  The man pages says it CAN be done.
>
> Do I still have to enable it?  Is this for selinux's use (perhaps the problem is selinux, but no logging saying so).
>
>
>
> --

Yeah, it can probably be done.  I was pointing to a method I know to work, hoping you could get that going and work in your direction from there.

xinetd isn't relevant here anymore, though.  systemd gives you socket activation for free, you just have to turn it on.

--Pete

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux