Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Tftpd logging??

    General pfSense Questions
    2
    3
    2605
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tps800 last edited by

      Hi!

      I am searching how to enable tftpd logging. For tptpd-proxy I found adding "-v" does it. But this does not help with some errors I am encounting. I need tftpd writing logs. What are the options the tftpd server uses? I found "-w" to make it accept put-requests and "-s" to changeroot to the given directory. But I could not find an option to make it log to syslog.

      Any idea??

      –
      Thomas

      1 Reply Last reply Reply Quote 0
      • T
        tps800 last edited by

        Seems this tftp-server has an error not working correctly. The error leads to delivery of files with relative paths, but fails finding ones with an absolute path given (files retrived by "boot/pxe.0" are found, while ones retrived by "/boot/pxe.0" are not).

        Solution: remove the tftp-server package, then go to the dns-forwarder configuration and enter (in advanced configuration):

        tftp-root=/tftpboot
        enable-tftp

        After saving this new config, dnsmasq will enable its internal tftp-server and serve files from "/tftpboot" to the clients. Works like a charm, because this tftp-server does what it is expected to do: handle paths with "/" prepended correctly (drawback: this tftp-server does not allow writing to the served filesystem at all)!

        1 Reply Last reply Reply Quote 0
        • B
          bb-mitch last edited by

          THANK YOU SIR!

          Exactly what I needed to do - I'm always tickled when someone actually posts their own solution instead of saying "I fixed it" - I've added a few links to your note - there are lots of other people with similar issues, but some of them don't seem to have found answers as pretty.

          Cheers!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post