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

Parse error: syntax error, unexpected 'escapeshellarg'...with the latest 2.7.0-devel snaphot

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
12 Posts 5 Posters 1.5k 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.
  • D
    dreamworld @NRgia
    last edited by Feb 19, 2022, 12:09 PM

    @nrgia how to edit interface file while in amnesiac prompt ????

    L N 2 Replies Last reply Feb 19, 2022, 12:18 PM Reply Quote 0
    • L
      louis2 @dreamworld
      last edited by Feb 19, 2022, 12:18 PM

      @dreamworld

      I just had to reinstall pfSense for the same reason. And for me its also the second time that I face a not properly booting snapshot.

      I do not a snapshot release to be guaranteed problemfree, however IMHO you might expect it to boot properly !!

      Louis

      D 1 Reply Last reply Feb 19, 2022, 12:36 PM Reply Quote 1
      • N
        NRgia @dreamworld
        last edited by NRgia Feb 19, 2022, 12:36 PM Feb 19, 2022, 12:35 PM

        @dreamworld
        I explained how to do it with "nano" CLI editor.
        But Nano doesn't come by default with pfSense. I will explain with "vi"editor

        Make sure you don't save the file if you type something wrong

        vi +1107 /etc/inc/interfaces.inc
        

        The above will open the interfaces.inc file in "vi"editor and take you directly to line 1107

        in order to start editing you press Insert and use the keyboard arrows. After you finish editing, in order to save the changes you do this:

        1. Hit Escape
        2. Shift and :
        3. wq (which means write+quit)

        If you do some mistakes, you can quit without saving the changes by doing the following:

        1. Hit Escape
        2. Combination: Shift and :
        3. q! (which means quit without saving changes

        Hope it helps, and don't forget to reboot.

        Login with root user in order to be able to have write permissions

        D S 2 Replies Last reply Feb 19, 2022, 12:38 PM Reply Quote 1
        • D
          dreamworld @louis2
          last edited by Feb 19, 2022, 12:36 PM

          @louis2
          So looks like I'll have to reinstall 18 snapshot??? !!!

          N L 2 Replies Last reply Feb 19, 2022, 12:38 PM Reply Quote 0
          • N
            NRgia @dreamworld
            last edited by Feb 19, 2022, 12:38 PM

            @dreamworld Try first what I proposed, for me it worked

            1 Reply Last reply Reply Quote 0
            • D
              dreamworld @NRgia
              last edited by Feb 19, 2022, 12:38 PM

              @nrgia
              Thkx a lot folk.

              1 Reply Last reply Reply Quote 0
              • K
                kevindd992002
                last edited by Feb 19, 2022, 12:48 PM

                @NRgia Thanks, that fixed mine too!

                Because of this experience, I don't want to continue using development snapshots. Is there any way to go back to 2.6 stable and still have my configuration intact?

                N 1 Reply Last reply Feb 19, 2022, 12:54 PM Reply Quote 0
                • N
                  NRgia @kevindd992002
                  last edited by Feb 19, 2022, 12:54 PM

                  @kevindd992002 said in Parse error: syntax error, unexpected 'escapeshellarg'...with the latest 2.7.0-devel snaphot:

                  @NRgia Thanks, that fixed mine too!

                  Because of this experience, I don't want to continue using development snapshots. Is there any way to go back to 2.6 stable and still have my configuration intact?

                  1. First back up your config
                  2. You can try to switch the update train from Development branch to Stable branch. But if the code changed to much I don't know if it will work. If it doesn't
                  3. Reinstall and restore the backup file you saved previously.

                  For myself I use the latest Devel branch in order to test and to have the latest fixes. But if this still keep on happening I will consider your approach also :)

                  1 Reply Last reply Reply Quote 2
                  • L
                    louis2 @dreamworld
                    last edited by Feb 19, 2022, 1:15 PM

                    @dreamworld

                    I first did tried to solve the issue by renaming kernel to kernel.notok and kernel.old to kernel. However that did not work.

                    So I decided to install 2.6 final and reload the latest config.

                    Note that I always have an downloaded recent image, available to burn on an usb-stick. That combined with a second usb-stick with a recent config allows me to restore the router in emergency cases. I normally should not need that procedure of course.

                    Now and than I am considering to add a second ssd in the router to make it dual boot.

                    1 Reply Last reply Reply Quote 1
                    • S
                      stephenw10 Netgate Administrator @NRgia
                      last edited by Feb 19, 2022, 8:40 PM

                      @nrgia said in Parse error: syntax error, unexpected 'escapeshellarg'...with the latest 2.7.0-devel snaphot:

                      I explained how to do it with "nano" CLI editor.
                      But Nano doesn't come by default with pfSense. I will explain with "vi"editor

                      You can use the Easy Editor ee, which is included by default.

                      Steve

                      N 1 Reply Last reply Feb 20, 2022, 12:06 AM Reply Quote 0
                      • N
                        NRgia @stephenw10
                        last edited by Feb 20, 2022, 12:06 AM

                        @stephenw10 said in Parse error: syntax error, unexpected 'escapeshellarg'...with the latest 2.7.0-devel snaphot:

                        @nrgia said in Parse error: syntax error, unexpected 'escapeshellarg'...with the latest 2.7.0-devel snaphot:

                        I explained how to do it with "nano" CLI editor.
                        But Nano doesn't come by default with pfSense. I will explain with "vi"editor

                        You can use the Easy Editor ee, which is included by default.

                        Steve

                        I did not heard about "easy editor" until now. I think it's a BSD thing. Anyways both "vi" and "ee" are included.
                        Thanks for the info about "ee".

                        1 Reply Last reply Reply Quote 0
                        • J jimp moved this topic from Development on Feb 23, 2022, 2:04 PM
                        12 out of 12
                        • First post
                          12/12
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received