Navigation

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

    "VI NOT FOUND"

    Installation and Upgrades
    5
    8
    2512
    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.
    • A
      Alizel last edited by

      hi guys. im currently running PFsense under a windows Hyper-v R3 VM on an AMD based machine.

      my problem in a nutshell is that i cannot add

      hw.clflush_disable=1

      to
      /boot/loader.conf

      the error im getting when i type.

      vi /boot/loader.conf
      "vi not found"

      i have reinstalled 3 times and even used an old ported VM from ESXI. same issue.
      my other buddy has no problem using vi on his PFsense box.

      WTF am i doing wrong?

      thanks guys,

      1 Reply Last reply Reply Quote 0
      • ptt
        ptt Rebel Alliance last edited by

        There is No "VI" (if i'm not wrong ;) )

        http://forum.pfsense.org/index.php/topic,43154.0.html

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob last edited by

          @ptt:

          There is No "VI" (if i'm not wrong ;) )

          My first thought was also "this is probably a CAPS issue" but the original post has "vi" in lower case.

          What version of pfSense is involved. What context? (a cron job? console pfSense shell? SSH session? Command through web GUI?) Maybe vi is not in your shell path.

          "vi" (lower case) command is found in my SSH session to a pfSense 2.1 snapshot full install box.

          1 Reply Last reply Reply Quote 0
          • C
            cmb last edited by

            vi is always there at a real shell. I'm guessing OP is at a loader prompt, in which case, run:

            set hw.clflush_disable=1
            boot

            then once you're up and running, add that to /boot/loader.conf.local (NOT loader.conf, upgrades overwrite it) with vi, or just echo it there.

            echo "hw.clflush_disable=1" >> /boot/loader.conf.local

            1 Reply Last reply Reply Quote 0
            • A
              Alizel last edited by

              echo hw.clflush_disable=1 >> /boot/loader.conf.local
              i get syntax error.

              what do i need to type. there is a reason i use windows with a gui, ;P
              can you write it exactly as i need to in the prompt?

              thanks.

              1 Reply Last reply Reply Quote 0
              • A
                Alizel last edited by

                IT works now.

                F^%& VI right in the urethra

                i had to have
                hw.clflush_disable=1
                as

                echo "hw.clflush_disable=1" >> /boot/loader.conf.local

                now to figure out NIC's

                thanks guys.

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

                  @Alizel:

                  F^%& VI right in the urethra

                  Ha!  :D
                  emacs man are you?

                  You can always use ee which is already included.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb last edited by

                    Oh, yeah I forgot to put the quotes in there, edited my post.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post