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

    SG-5100 doesn't issue IP address anymore

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    23 Posts 2 Posters 1.1k 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.
    • P
      pf_fw
      last edited by pf_fw

      My setup
      ISP modem -> SG-5100 -> AP/PC
      I was updating configuration for WireGuard and rebooted SG-5100.
      Now none of my devices are getting IP address, wired PC just says connecting.
      [This also means I can't really get to admin UI]

      SG-5100 itself has both LEDs green, all LAN ports are amber.

      How should I debug this?

      P 1 Reply Last reply Reply Quote 0
      • P
        pf_fw @pf_fw
        last edited by pf_fw

        Got mini USB cable and I see following:

        Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:135
        Stack trace:
        #0 /etc/inc/notices.inc(135): fopen('', 'w'
        

        Should I worry about it (do anything to resolve it) ?

        I see normal system menu after that point.

        Search shows bunch of posts saying I may need to re-install pfsense so going to look for more info on that

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

          That is a secondary error showing it can't create the notices file. But something before that would have triggered the notice. Is anything else logged?

          It may have been something during the upgrade that no longer applies. Is it still failing after rebooting?

          Steve

          P 1 Reply Last reply Reply Quote 0
          • P
            pf_fw
            last edited by

            Trying to reinstall and can't connect to netgate servers.
            Looked at /var/log/messages
            and there is:

            Nov 27 20:06:37 pfSense-install dhclient[4562]: unknown dhcp option value 0x7d
            Nov 27 20:06:37 pfSense-install dhclient[4572]: New IP Address (igb1): 192.168.1.65
            Nov 27 20:06:37 pfSense-install dhclient[4576]: New Subnet Mask (igb1): 255.255.255.0
            Nov 27 20:06:37 pfSense-install dhclient[4580]: New Broadcast Address (igb1): 192.168.1.255
            Nov 27 20:06:37 pfSense-install dhclient[4584]: New Routers (igb1): 192.168.1.254
            Nov 27 20:06:41 pfSense-install ntpd[4698]: ntpd 4.2.8p18@1.4062-o Thu Sep 19 15:48:05 UTC 2024 (1): Starting
            Nov 27 20:06:41 pfSense-install ntpd[4698]: Command line: /usr/local/sbin/ntpd -g -q -c /tmp/tmp.ArmLJsvhjx 216.239.35.0 216.239.35.4 216.239.35.8 2
            16.239.35.12
            Nov 27 20:06:41 pfSense-install ntpd[4698]: ----------------------------------------------------
            Nov 27 20:06:41 pfSense-install ntpd[4698]: ntp-4 is maintained by Network Time Foundation,
            Nov 27 20:06:41 pfSense-install ntpd[4698]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
            Nov 27 20:06:41 pfSense-install ntpd[4698]: corporation.  Support and training for ntp-4 are
            Nov 27 20:06:41 pfSense-install ntpd[4698]: available at https://www.nwtime.org/support
            Nov 27 20:06:41 pfSense-install ntpd[4698]: ----------------------------------------------------
            Nov 27 20:07:21 pfSense-install ntpd[4698]: ntpd exiting on signal 15 (Terminated)
            

            Checking further

            1 Reply Last reply Reply Quote 1
            • P
              pf_fw @stephenw10
              last edited by

              @stephenw10 I've started process of re-installation at this point and that also is not going forward (not able to connect to servers) so chasing that right now

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

                You're seeing an error in the installer?

                P 1 Reply Last reply Reply Quote 0
                • P
                  pf_fw @stephenw10
                  last edited by

                  @stephenw10 yes, installer can't proceed. it reports can't reach servers dropped to shell to look at var/log/messages

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

                    The network config should still apply at that point so try to ping ews.netgate.com from the shell and see what error you see.

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

                      It looks like your upstream router is using 192.168.1.X so that could conflict with a LAN subnet in the installer.

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pf_fw @stephenw10
                        last edited by

                        @stephenw10 Should I update settings for upstream router (modem in this case)? or any other way to resolve this? (maybe use 192.168.2.x with static? assuming modem supports it)

                        1 Reply Last reply Reply Quote 0
                        • P
                          pf_fw @stephenw10
                          last edited by

                          @stephenw10 I see

                          root@pfSense-install:~ # ping ews.netgate.com
                          ping: cannot resolve ews.netgate.com: Address family for hostname not supported
                          
                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Yes you can set a different subnet for the LAN in the installer. Or just not assign a LAN interface. You only need a valid WAN.

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              pf_fw @stephenw10
                              last edited by pf_fw

                              @stephenw10 oh I'm only using WAN port on SG-5100. WAN port is connected to modem, all other ports are disconnected (no cables)
                              Using following on WAN side:

                              M Interface Mode     DHCP (client)  
                               VLAN Settings      VLAN Tagging disabled         │ │
                              Use local resolver false
                              

                              Using Local resolver seems to go through, will report back if it finishes

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

                                But if the LAN is still configured that still a routing conflict even if it's disconnected.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pf_fw
                                  last edited by

                                  Using Local Resolver worked for installation. Now trying to restore, will see how that goes (not sure if I need to install packages manually)

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

                                    It should pull in the packages if they are in the config.

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      pf_fw @stephenw10
                                      last edited by

                                      @stephenw10 oh nice, thanks. I'll check back in few hrs (and report if anything is missing). Does 7MB of config file sound correct? I've 2 backups from almost same time (1st is about 83kB and other is 7MB, I'm going with bigger one)

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

                                        7MB is pretty huge for a config file but it might have all the RRD data in it if you selected that when backing up. It should restore fine.

                                        P 2 Replies Last reply Reply Quote 0
                                        • P
                                          pf_fw @stephenw10
                                          last edited by

                                          @stephenw10 stopped with message:
                                          package reinstall process was ABORTED due to lack of internet activity is there way to work around this?
                                          I believe this is happening due to one of the VPN servers being used at the time of backup, not available anymore

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            pf_fw @stephenw10
                                            last edited by

                                            @stephenw10 which area is responsible for installing packages? (will restore that before other config)

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