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

    Any way to install Nano on 2.3?

    Scheduled Pinned Locked Moved General pfSense Questions
    24 Posts 13 Posters 23.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.
    • T
      Trel
      last edited by

      I feel trapped every time I have to type "vi" or "vim" and then have to fumble for my cheatsheet.
      Is there any way to install Nano?

      1 Reply Last reply Reply Quote 0
      • H
        hda
        last edited by

        There is also "ee" besides "vi".

        1 Reply Last reply Reply Quote 0
        • BBcan177B
          BBcan177 Moderator
          last edited by

          @Trel:

          I feel trapped every time I have to type "vi" or "vim" and then have to fumble for my cheatsheet.
          Is there any way to install Nano?

          Hehe…. Learn it, Live it, Love it :)
          http://www.howtogeek.com/102468/a-beginners-guide-to-editing-text-files-with-vi/

          "Experience is something you don't get until just after you need it."

          Website: http://pfBlockerNG.com
          Twitter: @BBcan177  #pfBlockerNG
          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

          1 Reply Last reply Reply Quote 0
          • T
            Trel
            last edited by

            @BBcan177:

            @Trel:

            I feel trapped every time I have to type "vi" or "vim" and then have to fumble for my cheatsheet.
            Is there any way to install Nano?

            Hehe…. Learn it, Live it, Love it :)
            http://www.howtogeek.com/102468/a-beginners-guide-to-editing-text-files-with-vi/

            The only good vi command is :q!

            I like Nano.  8)

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

              pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/nano-2.4.3.txz
              
              1 Reply Last reply Reply Quote 0
              • T
                Trel
                last edited by

                @paftdunk:

                pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/nano-2.4.3.txz
                

                Perfect, thanks :)

                1 Reply Last reply Reply Quote 0
                • H
                  heper
                  last edited by

                  nano has been added to the pfsense pkg repo as a package. very likely it'll be available by simple pkg install from 2.3.1 onwards
                  https://github.com/pfsense/pfsense/commit/641b5618a764f5b6d56ab72eb7095666d37826b9

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    where  do you request packages to be added, I think dnstop would also be a useful tool that could be added..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • H
                      heper
                      last edited by

                      @johnpoz:

                      where  do you request packages to be added, I think dnstop would also be a useful tool that could be added..

                      no clue.  you could start a post in the snapshot section

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

                        I started a thread asking that pfSense go to a blacklist model rather than this custom whitelist that requires manual effort and review.

                        https://forum.pfsense.org/index.php?topic=110853.0

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

                          nano is available in the package list now, including on 2.3 release. I just added dnstop so that will be available within the next hour or so.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Trel
                            last edited by

                            @cmb:

                            nano is available in the package list now, including on 2.3 release. I just added dnstop so that will be available within the next hour or so.

                            Beautiful, thanks :)
                            Dyslexia + Vi is not a good combination, heh.

                            1 Reply Last reply Reply Quote 0
                            • O
                              oddworld19
                              last edited by

                              @cmb:

                              nano is available in the package list now, including on 2.3 release. I just added dnstop so that will be available within the next hour or so.

                              Perhaps I am missing it. Where is nano in the package list? I don't see it in the GUI of "available packages". I am on 2.3-RELEASE (amd64).

                              Supermicro SYS-5018A-FTN4 (Atom c2758)
                              pfSense 2.3.2

                              1 Reply Last reply Reply Quote 0
                              • H
                                heper
                                last edited by

                                its not in the GUI package list, but it is compiled on the pfSense pkg repo.

                                it can be installed on console (option 8 ) like:

                                pkg update
                                pkg install nano
                                
                                L 1 Reply Last reply Reply Quote 3
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  you will not see it in the gui, it will be available in the pkg install cmd..

                                  [2.3-RELEASE][root@pfSense.local.lan]/root: pkg update
                                  Updating pfSense-core repository catalogue…
                                  pfSense-core repository is up-to-date.
                                  Updating pfSense repository catalogue...
                                  pfSense repository is up-to-date.
                                  All repositories are up-to-date.
                                  [2.3-RELEASE][root@pfSense.local.lan]/root: pkg search dnstop
                                  dnstop-20140915                Captures and analyzes DNS traffic (or analyzes libpcap dump)
                                  [2.3-RELEASE][root@pfSense.local.lan]/root: pkg search nano-
                                  nano-2.4.3                    Nano's ANOther editor, an enhanced free Pico clone

                                  You can get a list here
                                  http://pkg.pfsense.org/pfSense_v2_3_0_amd64-pfSense_v2_3_0/All/
                                  http://pkg.pfsense.org/pfSense_v2_3_0_i386-pfSense_v2_3_0/All/

                                  you can view all installed with pkg info

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  • JailerJ
                                    Jailer
                                    last edited by

                                    @hda:

                                    There is also "ee" besides "vi".

                                    I see a lot of dislike for ee in the BSD world. At the risk of sounding naive, what is it about ee that no one seems to like?

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

                                      @Jailer:

                                      I see a lot of dislike for ee in the BSD world. At the risk of sounding naive, what is it about ee that no one seems to like?

                                      Probably mostly a "real sysadmins use <insert traditional="" *nix="" editor="" of="" choice="">" sentiment. Nothing inherently wrong with ee, but some seem to see it as amateur hour. It's not as powerful as vi/emacs/etc. but it's fine for basic needs.</insert>

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        heper
                                        last edited by

                                        most "real admins" i know don't want nor need an editor…..

                                        they only need a phone(book) and a banana to go "jump monkey, jump!"

                                        1 Reply Last reply Reply Quote 0
                                        • DerelictD
                                          Derelict LAYER 8 Netgate
                                          last edited by

                                          If you don't know vi maybe try Diagnostics > Edit File??

                                          I say "don't know" because if you knew it you'd love it. :P

                                          Chattanooga, Tennessee, USA
                                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Trel
                                            last edited by

                                            @Derelict:

                                            If you don't know vi maybe try Diagnostics > Edit File??

                                            I say "don't know" because if you knew it you'd love it. :P

                                            Vi is like a smelly hobo.  I'm sure it's nice, but from the little bits I've seen of it, I don't want to get to know it.

                                            Besides, this is for use over SSH.

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