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

    Issues with upgrade on SG-1100

    Scheduled Pinned Locked Moved Plus 22.01 Development Snapshots (Retired)
    4 Posts 2 Posters 424 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.
    • L
      LostInIgnorance
      last edited by

      I just upgraded from the Aug 10th update to the Aug 30th update on my SG-1100. I am receiving an error on boot of the below. Please let me know what I need to modify to fix the file.

      Parse error: syntax error, unexpected ')' in /etc/inc/system.inc on line 2734
      Netgate pfSense Plus 21.09-BETA arm64 Mon Aug 30 01:12:14 EDT 2021
      
                      case 'mvebu_armada-37xx':
                              $_gb = exec('/usr/sbin/ofwdump -P model -R / 2>/dev/null', $fdtModel);
                              if (strncmp($fdtModel[0], "Netgate SG-1100", 15) == 0) {
                                 strncmp($fdtModel[0], "Netgate 1100", 12) == 0) {
                                      return (array('name' => '1100', 'descr' => 'Netgate 1100'));
                              } elseif (strncmp($fdtModel[0], "Netgate SG-2100", 15) == 0 ||
                                  strncmp($fdtModel[0], "Netgate 2100", 12) == 0) {
                                      return (array('name' => '2100', 'descr' => 'Netgate 2100'));
                              }
                              break;
      
      1 Reply Last reply Reply Quote 0
      • L
        LostInIgnorance
        last edited by

        Never mind, found the issue with the statement.

                        case 'mvebu_armada-37xx':
                                $_gb = exec('/usr/sbin/ofwdump -P model -R / 2>/dev/null', $fdtModel);
                                if (strncmp($fdtModel[0], "Netgate SG-1100", 15) == 0 ||
                                   strncmp($fdtModel[0], "Netgate 1100", 12) == 0) {
                                        return (array('name' => '1100', 'descr' => 'Netgate 1100'));
                                } elseif (strncmp($fdtModel[0], "Netgate SG-2100", 15) == 0 ||
                                    strncmp($fdtModel[0], "Netgate 2100", 12) == 0) {
                                        return (array('name' => '2100', 'descr' => 'Netgate 2100'));
                                }
                                break;
        
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          That was already fixed by the time of this post, a new (fixed) snapshot is already up.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          L 1 Reply Last reply Reply Quote 1
          • L
            LostInIgnorance @jimp
            last edited by

            @jimp Thanks, just got the new snapshot and the issue is fixed in the latest snap

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