Netgate SG-1000 microFirewall

Author Topic: Any way to install Nano on 2.3?  (Read 6402 times)

0 Members and 1 Guest are viewing this topic.

Offline Trel

  • Sr. Member
  • ****
  • Posts: 368
  • Karma: +11/-1
    • View Profile
Any way to install Nano on 2.3?
« on: April 21, 2016, 10:36:34 am »
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?

Offline hda

  • Hero Member
  • *****
  • Posts: 600
  • Karma: +32/-4
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #1 on: April 21, 2016, 12:19:42 pm »
There is also "ee" besides "vi".

Offline BBcan177

  • Hero Member
  • *****
  • Posts: 2608
  • Karma: +824/-5
    • View Profile
    • Click for Support
Re: Any way to install Nano on 2.3?
« Reply #2 on: April 21, 2016, 12:32:12 pm »
« Last Edit: April 21, 2016, 12:35:37 pm by BBcan177 »
"Experience is something you don't get until just after you need it."

 | http://pfblockerng.com | Twitter @BBcan177  | #pfBlockerNG |

Offline Trel

  • Sr. Member
  • ****
  • Posts: 368
  • Karma: +11/-1
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #3 on: April 21, 2016, 02:43:53 pm »
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)

Offline paftdunk

  • Jr. Member
  • **
  • Posts: 48
  • Karma: +6/-2
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #4 on: April 24, 2016, 11:42:03 am »
Code: [Select]
pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/nano-2.4.3.txz

Offline Trel

  • Sr. Member
  • ****
  • Posts: 368
  • Karma: +11/-1
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #5 on: April 26, 2016, 10:29:34 am »
Code: [Select]
pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/nano-2.4.3.txz

Perfect, thanks :)

Offline heper

  • Hero Member
  • *****
  • Posts: 2730
  • Karma: +259/-12
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #6 on: April 26, 2016, 11:40:56 am »
 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

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15778
  • Karma: +1503/-210
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #7 on: April 26, 2016, 12:41:12 pm »
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.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.3-RELEASE (work)
1x SG-3100 2.4.3-RELEASE (work)
1x SG-4860 2.4.3-RELEASE (home)

Offline heper

  • Hero Member
  • *****
  • Posts: 2730
  • Karma: +259/-12
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #8 on: April 26, 2016, 01:01:42 pm »
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

Offline paftdunk

  • Jr. Member
  • **
  • Posts: 48
  • Karma: +6/-2
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #9 on: April 26, 2016, 10:11:20 pm »
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

Offline cmb

  • Hero Member
  • *****
  • Posts: 11226
  • Karma: +896/-7
    • View Profile
    • Chris Buechler
Re: Any way to install Nano on 2.3?
« Reply #10 on: April 26, 2016, 10:18:47 pm »
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.

Offline Trel

  • Sr. Member
  • ****
  • Posts: 368
  • Karma: +11/-1
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #11 on: April 27, 2016, 10:35:33 am »
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.

Offline oddworld19

  • Jr. Member
  • **
  • Posts: 27
  • Karma: +1/-0
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #12 on: April 28, 2016, 01:41:58 pm »
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

Offline heper

  • Hero Member
  • *****
  • Posts: 2730
  • Karma: +259/-12
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #13 on: April 28, 2016, 01:48:36 pm »
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:
Code: [Select]
pkg update
pkg install nano

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15778
  • Karma: +1503/-210
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Any way to install Nano on 2.3?
« Reply #14 on: April 28, 2016, 01:54:49 pm »
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
« Last Edit: April 28, 2016, 02:01:59 pm by johnpoz »
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.3-RELEASE (work)
1x SG-3100 2.4.3-RELEASE (work)
1x SG-4860 2.4.3-RELEASE (home)