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

Resolved: The command '/usr/local/sbin/ping-auth -s > /etc/thoth/thothid 2>/dev/null' returned exit code '127', the output was ''

Scheduled Pinned Locked Moved General pfSense Questions
developmentcryptocryptographicfirmware
53 Posts 3 Posters 7.6k Views
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.
  • J
    JonathanLee
    last edited by JonathanLee Dec 19, 2023, 12:32 AM Dec 19, 2023, 12:23 AM

    Screenshot 2023-12-18 at 4.21.34 PM.png

    Location of file that is needed!!! Bingo

    Screenshot 2023-12-18 at 4.31.50 PM.png

    Just add it to backup package

    Make sure to upvote

    1 Reply Last reply Reply Quote 0
    • J
      jrey @JonathanLee
      last edited by Dec 19, 2023, 12:33 AM

      @JonathanLee

      the file with the id in it exists - yes.

      -rw-r--r--  1 root wheel 19 Jan 23  2023 /etc/thoth/thothid
      

      the file that creates it (ping-auth), if the ID does not exist, does not exist 😑 my question to @stephenw10 was should it ?

      because the file with the ID stored in it already exist, it happily displays it on my dashboard.

      Could a SSD cause this?

      in a word yes.

      should you copy the file from the old one?
      ping-auth is likely a NO, if required it is likely a different build. don't do it.
      bring the thothid file over (with the ID in it), MAYBE, depends on if and/or what it is still used for. Stephen did imply they have gone away from this in undefined "later" hardware so maybe nothing uses it anymore.

      I'd wait to see what is said about the existence of ping-auth.

      I'm going to venture a guess that the ID is no longer used and the code just hasn't been cleaned up to generate it. Then because you went to a new drive, the ID file doesn't exist, and you get an error.

      I still have the file (same drive) and therefore never tries to recreate it. But it is still likely not used anymore.

      MAX, if that in their new terminology means >= 32GB SSD stock then yes this is MAX, but I call him Wallie.

      Then I see you've already moved the file.. WOW. So the question will then be "is it still needed for anything?"

      J 3 Replies Last reply Dec 19, 2023, 12:39 AM Reply Quote 1
      • J
        JonathanLee @jrey
        last edited by Dec 19, 2023, 12:39 AM

        @jrey If it is not needed why is the GUI set to request it, This is used in OpenVPN so it is used. They do not have them in the non plus version.

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • J
          JonathanLee @jrey
          last edited by Dec 19, 2023, 12:40 AM

          @jrey I am going to test it, again my ethernet layer 2 broadcast domains are still an issues in 23.09.01 are you using a compex wifi card in your 2100 also?

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 19, 2023, 12:53 AM

            Ah, so upgrades appear to work because the file exists. I was busily trying to work out how that file was being populated by ping-auth when it doesn't exist!

            Ok so if it exists it will show there but the utility is deprecated and the ID itself is unused in 23.09. So it should be removed.

            J J 2 Replies Last reply Dec 19, 2023, 1:15 AM Reply Quote 1
            • J
              JonathanLee
              last edited by Dec 19, 2023, 1:10 AM

              Screenshot 2023-12-18 at 4.59.00 PM.png

              It required the full folder fixed it :)

              Make sure to upvote

              1 Reply Last reply Reply Quote 0
              • J
                jrey @stephenw10
                last edited by Dec 19, 2023, 1:15 AM

                @stephenw10

                Which is contrary to JonathanLee's belief/understanding - that this is used in OpenVPN or compex wifi card.

                I'm going by your previous statement that "later" hardware doesn't even have it, that it was not needed.

                Yes I tracked it down, and discovered that the file with ID exists, and if that did not there would be an error because ping-auth does not exist on my system.

                Yes, the dashboard should likely stop looking for it and anything else that might call system_get_thothid is also likely suspect where the file does not exist and needs to be recreated. In my case nothing I am aware of uses it, so as long as the file exists it can display or not..

                The code will catch up when it does.

                J 1 Reply Last reply Dec 19, 2023, 1:28 AM Reply Quote 1
                • J
                  JonathanLee @stephenw10
                  last edited by JonathanLee Dec 19, 2023, 1:24 AM Dec 19, 2023, 1:23 AM

                  @stephenw10

                  ping-auth -s is not included in 23.09.1 so the folder is no longer pre populated

                  https://redmine.pfsense.org/issues/15103

                  This is now confirmed as the cause of cryptID no longer working in 23.09.01 on fresh firmware

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • J
                    JonathanLee
                    last edited by Dec 19, 2023, 1:25 AM

                    Thanks Steve !!

                    Now I will start looking into the layer 2 broadcast domain issues on 23.09.01

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 0
                    • J
                      JonathanLee @jrey
                      last edited by Dec 19, 2023, 1:27 AM

                      @jrey Thanks too

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • J
                        JonathanLee @jrey
                        last edited by Dec 19, 2023, 1:28 AM

                        @jrey so the crypt chip is no longer used??

                        Make sure to upvote

                        J 1 Reply Last reply Dec 19, 2023, 1:53 AM Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Dec 19, 2023, 1:30 AM

                          It is not. The current 2100s do not include it.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jrey @JonathanLee
                            last edited by Dec 19, 2023, 1:53 AM

                            @JonathanLee said in Resolved: The command '/usr/local/sbin/ping-auth -s > /etc/thoth/thothid 2>/dev/null' returned exit code '127', the output was '':

                            so the crypt chip is no longer used??

                            neither is the Caesar cipher or Hebren rotor machine.
                            The cheese moves.

                            J 1 Reply Last reply Dec 19, 2023, 2:35 AM Reply Quote 0
                            • J
                              JonathanLee @jrey
                              last edited by JonathanLee Dec 19, 2023, 2:47 AM Dec 19, 2023, 2:35 AM

                              @jrey
                              You forgot Victor.

                              Screenshot 2023-12-18 at 6.30.05 PM.png

                              Victor Cipher:
                              90478 05632 84252 48466 62071 52900 90694 77651 20202 17031 43290 48230 28881

                              Screenshot 2023-12-18 at 6.30.17 PM.png

                              Decrypted:
                              SACRAMENTOSTATEUNIVERSITYCOMPUTERSCIENCESTUDENT

                              Make sure to upvote

                              1 Reply Last reply Reply Quote 0
                              • J
                                JonathanLee
                                last edited by JonathanLee Dec 19, 2023, 2:50 AM Dec 19, 2023, 2:42 AM

                                Screenshot 2023-12-18 at 6.37.53 PM.png

                                                   !!!! CIPHER TEXT !!!!
                                
                                96658 86791 06602 58887 06408 39604 09151 05508 05869 69555 
                                04957 78785 72401 60078 36796 95036 03789 61329 36865 65780 
                                02001
                                

                                Screenshot 2023-12-18 at 6.39.56 PM.png

                                                       Decoded
                                
                                ATTACKATDAWN. BYDAWNIMEAN0500.NOT0915LIKEYOUDIDLASTTIME…A
                                

                                I wrote this program to share with fellow students to try to get some interested in ciphers with code.

                                it's about 1,191 lines of code,

                                its on my GitHub if you want to check it out

                                https://github.com/JonathanDLee24/VictorCipher

                                Make sure to upvote

                                1 Reply Last reply Reply Quote 0
                                • J jrey referenced this topic on Jan 2, 2024, 6:07 PM
                                53 out of 53
                                • First post
                                  53/53
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received