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

    Cannot connect to netgate servers during fresh pfsense install

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    47 Posts 12 Posters 12.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Well we have found one bug that we are looking at that can present like that.
      Check the messages log for ntp failing like:

      May 13 14:19:14 pfSense-install ntpd[2374]: ntpd exiting on signal 15 (Terminated)
      

      We are working one that.

      U 1 Reply Last reply Reply Quote 0
      • U
        undrwater @stephenw10
        last edited by

        @stephenw10 Getting the same error here (me too!). Is there an alternate install method (full iso?), or lacking that, how long until this bug is squashed?

        Will this require a new install media, or is it somehow related to your servers?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Are you seeing the ntp error in the logs?

          What are you trying to install?

          U 1 Reply Last reply Reply Quote 0
          • V
            vdiago
            last edited by

            Hello @stephenw10

            Thanks in advance for the support!

            Sorry for the delay. This is the complete var/log files so you can analyze.

            var_log.tar.gz

            Any other info i can get to help you ?

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Ok so you are seeing the ntp failure:

              May 14 13:41:55 pfSense-install ntpd[1611]: ntpd 4.2.8p17@1.4004-o Thu Feb  1 07:12:45 UTC 2024 (1): Starting
              May 14 13:41:55 pfSense-install ntpd[1611]: Command line: /usr/local/sbin/ntpd -g -q -c /tmp/tmp.oZj0zqxJBv 216.239.35.0 216.239.35.4 216.239.35.8 216.239.35.12
              May 14 13:41:55 pfSense-install ntpd[1611]: ----------------------------------------------------
              May 14 13:41:55 pfSense-install ntpd[1611]: ntp-4 is maintained by Network Time Foundation,
              May 14 13:41:55 pfSense-install ntpd[1611]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
              May 14 13:41:55 pfSense-install ntpd[1611]: corporation.  Support and training for ntp-4 are
              May 14 13:41:55 pfSense-install ntpd[1611]: available at https://www.nwtime.org/support
              May 14 13:41:55 pfSense-install ntpd[1611]: ----------------------------------------------------
              May 14 13:42:35 pfSense-install ntpd[1611]: ntpd exiting on signal 15 (Terminated)
              

              Do you have something blocking ntp? Just your ISP filtering it?

              Either way that is the bug we are currently fixing.

              V F 2 Replies Last reply Reply Quote 0
              • V
                vdiago @stephenw10
                last edited by

                @stephenw10 Thanks! Glad to know the logs helped!

                Btw, NOTHING is blocked on our side. Got full access and I'm actively using ntp for my local servers.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Can you query those servers like?:

                  [24.03-RELEASE][admin@1100-3.stevew.lan]/root: ntpdate -q 216.239.35.4
                  server 216.239.35.4, stratum 1, offset -0.000897, delay 0.03636
                  14 May 15:54:56 ntpdate[93711]: adjust time server 216.239.35.4 offset -0.000897 sec
                  
                  1 Reply Last reply Reply Quote 0
                  • U
                    undrwater @stephenw10
                    last edited by

                    @stephenw10 I'm installing the netgate-installer-amd64.img via USB.

                    I get the same errors @vdiago is getting.

                    stephenw10S 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator @undrwater
                      last edited by

                      @undrwater Same NTP errors logged. Also unable to query ntp manually?

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        undrwater @stephenw10
                        last edited by

                        @stephenw10 That's correct. In my case at least, when exiting the install script, I don't have access to internet. If I manually set the gateway, I can get internet in the shell. Once I restart the install script, it fails as described here. Another point of possible interest is the following message:

                        unknown dhcp option value 0x7d
                        

                        I have been given access to an offline installer.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Mmm, so in your case it never actually pulls a dhcp lease correctly?

                          U 1 Reply Last reply Reply Quote 0
                          • U
                            undrwater @stephenw10
                            last edited by

                            @stephenw10 I can neither confirm nor deny. That is just one of the messages. If i were to drop to a terminal from the install script, there was no gateway, so no internet access. If i defined a gateway, I'd get internet access. However, if I restarted the install script, it seems it would clear the network, and lose internet access again.

                            I had mine set up with a LAN port connected to the existing router. No WAN connection.

                            The offline installer has allowed me to install / update the unit, and it is working as expected now.

                            Thanks! Let me know if there's any other info I might provide.

                            V stephenw10S 2 Replies Last reply Reply Quote 0
                            • V
                              Velocio @undrwater
                              last edited by

                              @undrwater

                              Can you post a link for the offline installer?

                              1 Reply Last reply Reply Quote 1
                              • stephenw10S
                                stephenw10 Netgate Administrator @undrwater
                                last edited by

                                @undrwater said in Cannot connect to netgate servers during fresh pfsense install:

                                I had mine set up with a LAN port connected to the existing router. No WAN connection.

                                Ah, OK. You should still have been able to add the existing router as a gateway in the installer to make that work. I assume that's where you were adding the gateway in the CLI.

                                U 1 Reply Last reply Reply Quote 0
                                • U
                                  undrwater @stephenw10
                                  last edited by

                                  @stephenw10 The installer did not give me an option to add a gateway. At least not an obvious one. I attempted to look.

                                  Maybe a check for a gateway could be included in the script.

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Hmm, should be there if you configure the interface as static IP.

                                    U 1 Reply Last reply Reply Quote 0
                                    • U
                                      undrwater @stephenw10
                                      last edited by

                                      @stephenw10 I tried with both DHCP and static. In neither case was I informed that a gateway could not be established. Rather, the script just failed out. The script could possibly ask the user if they would like to identify a gateway, as one could not be found.

                                      Thanks for listening!

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Hmm when you set an interface as static you should see the option to set a gateway. When you select it you see:
                                        Screenshot from 2024-05-15 21-29-15.png

                                        U 1 Reply Last reply Reply Quote 0
                                        • U
                                          undrwater @stephenw10
                                          last edited by

                                          @stephenw10 I don't recall. Perhaps it was presented, but I reduced its importance because the install script failed out anyway. If I have the appropriate time, I can test it again.

                                          1 Reply Last reply Reply Quote 1
                                          • F
                                            flyingman @stephenw10
                                            last edited by

                                            Hello @stephenw10 ,

                                            I have the same issue with the same ntp failure.
                                            Tried ntpdate -q with error "no servers can be used, exiting" ...

                                            Did you find a solution to this ?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.