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

    [SOLVED] How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?

    Scheduled Pinned Locked Moved General pfSense Questions
    46 Posts 5 Posters 7.7k 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.
    • Sergei_ShablovskyS
      Sergei_Shablovsky @Gertjan
      last edited by Sergei_Shablovsky

      @Gertjan said in How to installing Bashtop and adding it to Main Menu (menu in Console)?:

      As for myself : up until know, I didn't even know what bashtop was ...

      I told You more: zsh and fish shells able to impress You if You work in command line.

      And Bashtop, Pingtop, Hegemon, Gotop, htop, Gping, Vping, also able to give a You a little help if a You have a servers without (or just not need and prefer going to each server by ssh manually for maintenance) agent-server monitoring system like Netdata, LibreNMS, or Splunk.

      But another one time:
      all this tools is not for ordinary home using, only if You need 24/7 running service and clients and have an obligation.

      —
      CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
      Help Ukraine to resist, save civilians people’s lives !
      (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

      1 Reply Last reply Reply Quote 0
      • Sergei_ShablovskyS
        Sergei_Shablovsky @kiokoman
        last edited by Sergei_Shablovsky

        @kiokoman said in How to installing Bashtop and adding it to Main Menu (menu in Console)?:

        2.5.0

        pkg install bash
        pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/gsed-4.8.txz
        pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/coreutils-8.32.txz
        pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/py37-psutil-5.7.3.txz
        pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/bashtop-0.9.25_1.txz
        ln -s /usr/local/bin/python3.7 /bin/python3
        /usr/local/bin/bashtop
        

        On a follow system:

        2.5.0-RC (amd64) 
        built on Wed Feb 10 09:40:34 EST 2021 
        FreeBSD 12.2-STABLE
        

        The are next error:

        Updating pfSense-core repository catalogue...
        pkg: https://packages-beta.netgate.com/packages/pfSense_master_amd64-core/meta.txz: No address record
        repository pfSense-core has no meta file, using default settings
        pkg: https://packages-beta.netgate.com/packages/pfSense_master_amd64-core/packagesite.txz: No address record
        Unable to update repository pfSense-core
        Updating pfSense repository catalogue...
        pkg: https://packages-beta.netgate.com/packages/pfSense_master_amd64-pfSense_devel/meta.txz: No address record
        repository pfSense has no meta file, using default settings
        pkg: https://packages-beta.netgate.com/packages/pfSense_master_amd64-pfSense_devel/packagesite.txz: No address record
        Unable to update repository pfSense
        Error updating repositories!
        

        Soooo... How to install bashop now ? :)

        Thank You for Your time and patience!

        —
        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
        Help Ukraine to resist, save civilians people’s lives !
        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @Sergei_Shablovsky
          last edited by

          @sergei_shablovsky said in How to installing Bashtop and adding it to Main Menu (menu in Console)?:

          Error updating repositories!

          Before calling it a day, yesterday, I saw some posts signalling that the "repository " was out of order.
          Probably some product name changes or big updates or ahead.
          At least, in the "2.5.0" tree.
          Btw : me just thinking here. The 2.4.5-p1 tree seems fine.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          kiokomanK Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8 @Gertjan
            last edited by

            @Sergei_Shablovsky
            my 2 cent, they are probably moving 2.5.0 out of beta ...

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @kiokoman
              last edited by

              Yeah, I'm also afraid that that's what's coming up.

              The 'when is it ready ?' public will get transformed in the 'help a problem' group.
              The calm and all goes well period comes to an end.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • Sergei_ShablovskyS
                Sergei_Shablovsky @Gertjan
                last edited by Sergei_Shablovsky

                @gertjan said in How to installing Bashtop and adding it to Main Menu (menu in Console)?:

                @sergei_shablovsky said in How to installing Bashtop and adding it to Main Menu (menu in Console)?:

                Error updating repositories!

                Before calling it a day, yesterday, I saw some posts signalling that the "repository " was out of order.
                Probably some product name changes or big updates or ahead.
                At least, in the "2.5.0" tree.
                Btw : me just thinking here. The 2.4.5-p1 tree seems fine.

                Is any other way to install bpytop manually ?

                —
                CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                Help Ukraine to resist, save civilians people’s lives !
                (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @Sergei_Shablovsky
                  last edited by

                  @sergei_shablovsky Is that a package in the 'github' pfSense repository ?
                  Here https://github.com/pfsense/FreeBSD-ports ?

                  Installing manually packages on a must-always-be-connected-to-the-net-router is ...... awkward.

                  From higher levels (Netgate), very recently - on this forum - the advise was : don't.

                  You are using 2.5.0. : isn't it time to go vanilla ? Or prepare yourself for a re install. (not the moment to try try things out .....)

                  Btw : its doesn't exist for 2.4.5-p1 :

                  [2.4.5-RELEASE][root@pfsense.core2-wall.localnet]/root: pkg install bpytop
                  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.
                  Updating database digests format: 100%
                  pkg: No packages available to install matching 'bpytop' have been found in the repositories
                  

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  kiokomanK 1 Reply Last reply Reply Quote 0
                  • kiokomanK
                    kiokoman LAYER 8 @Gertjan
                    last edited by

                    ahh @Sergei_Shablovsky, you need to be more creative ! 😁

                    pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/py37-psutil-5.8.0.txz
                    pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/bpytop-1.0.61.txz
                    

                    open a ticket and ask jimp to add it if you like bpy that much, i don't think he will bite you.. maybe ...

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    GertjanG Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @kiokoman
                      last edited by Gertjan

                      @kiokoman said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                      i don't think he will bite you.. maybe ...

                      You said it yourself : we entered an exceptional moment.

                      ( !!!! Just one left !!!! (February 11, 2021 - 4:38 pm UTC )

                      edit : oops : this is the son of a b****** bug, with 5 years of history.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

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

                        You are set to pull from master still which is now 2.6.
                        Set your update repo to 2.5.0 RC and you should see something like:

                        [2.5.0-RC][admin@25dev.stevew.lan]/root: pkg -d update
                        DBG(1)[11583]> pkg initialized
                        Updating pfSense-core repository catalogue...
                        DBG(1)[11583]> PkgRepo: verifying update for pfSense-core
                        DBG(1)[11583]> Pkgrepo, begin update of '/root/var/db/pkg/repo-pfSense-core.sqlite'
                        DBG(1)[11583]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_5_0_amd64-core/meta.conf
                        DBG(1)[11583]> opening libfetch fetcher
                        DBG(1)[11583]> Fetch > libfetch: connecting
                        DBG(1)[11583]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_5_0_amd64-core/meta.conf with opts "i"
                        DBG(1)[11583]> Fetch: fetcher chosen: https
                        DBG(1)[11583]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_5_0_amd64-core/packagesite.txz
                        DBG(1)[11583]> opening libfetch fetcher
                        DBG(1)[11583]> Fetch > libfetch: connecting
                        DBG(1)[11583]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_5_0_amd64-core/packagesite.txz with opts "i"
                        DBG(1)[11583]> Fetch: fetcher chosen: https
                        pfSense-core repository is up to date.
                        Updating pfSense repository catalogue...
                        DBG(1)[11583]> PkgRepo: verifying update for pfSense
                        DBG(1)[11583]> Pkgrepo, begin update of '/root/var/db/pkg/repo-pfSense.sqlite'
                        DBG(1)[11583]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_5_0_amd64-pfSense_v2_5_0/meta.conf
                        DBG(1)[11583]> opening libfetch fetcher
                        DBG(1)[11583]> Fetch > libfetch: connecting
                        DBG(1)[11583]> Fetch: fetching from: https://files00.netgate.com/pfSense_v2_5_0_amd64-pfSense_v2_5_0/meta.conf with opts "i"
                        DBG(1)[11583]> Fetch: fetcher chosen: https
                        DBG(1)[11583]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_5_0_amd64-pfSense_v2_5_0/packagesite.txz
                        DBG(1)[11583]> opening libfetch fetcher
                        DBG(1)[11583]> Fetch > libfetch: connecting
                        DBG(1)[11583]> Fetch: fetching from: https://files00.netgate.com/pfSense_v2_5_0_amd64-pfSense_v2_5_0/packagesite.txz with opts "i"
                        DBG(1)[11583]> Fetch: fetcher chosen: https
                        pfSense repository is up to date.
                        All repositories are up to date.
                        

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • Sergei_ShablovskyS
                          Sergei_Shablovsky @kiokoman
                          last edited by

                          @kiokoman said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                          ahh @Sergei_Shablovsky, you need to be more creative ! 😁

                          pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/py37-psutil-5.8.0.txz
                          pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/bpytop-1.0.61.txz
                          

                          open a ticket and ask jimp to add it if you like bpy that much, i don't think he will bite you.. maybe ...

                          I still thinking that bpytop are so informative and flexible comparing to native pfSense top/pftop, so may be jimp would be agree to include it as standard tool for on-screen Monitoring....

                          P.S. The same for Gping/vping, but on 3 month ago they are not available for FreeBSD. Sad but true...

                          —
                          CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                          Help Ukraine to resist, save civilians people’s lives !
                          (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

                            Did you open a feature request yet? https://redmine.pfsense.org/

                            Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
                            • Sergei_ShablovskyS
                              Sergei_Shablovsky @stephenw10
                              last edited by

                              @stephenw10 said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                              Did you open a feature request yet? https://redmine.pfsense.org/

                              Right now no. But I would be happy when You doing this (for example)... :)

                              Due You have a much more valuable reputation in community :)

                              —
                              CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                              Help Ukraine to resist, save civilians people’s lives !
                              (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                              1 Reply Last reply Reply Quote 0
                              • Sergei_ShablovskyS
                                Sergei_Shablovsky @stephenw10
                                last edited by Sergei_Shablovsky

                                @stephenw10 said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                                Did you open a feature request yet? https://redmine.pfsense.org/

                                Already done

                                Please upvote / assist to make this happened.

                                —
                                CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                Help Ukraine to resist, save civilians people’s lives !
                                (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                1 Reply Last reply Reply Quote 0
                                • Sergei_ShablovskyS
                                  Sergei_Shablovsky
                                  last edited by Sergei_Shablovsky

                                  UPDATE

                                  on
                                  Version 2.6.0-DEVELOPMENT (amd64)
                                  built on Sun Jul 25 01:08:17 ED

                                  pkg install bash
                                  
                                  pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/gsed-4.8.txz
                                  pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/coreutils-8.32.txz
                                  pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/py38-psutil-5.8.0.txz
                                  pkg add https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/All/bpytop-1.0.67.txz
                                  
                                  ln -s /usr/local/bin/python3.8 /bin/python3
                                  /usr/local/bin/bpytop
                                  

                                  —
                                  CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                  Help Ukraine to resist, save civilians people’s lives !
                                  (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                  1 Reply Last reply Reply Quote 0
                                  • Sergei_ShablovskyS
                                    Sergei_Shablovsky @Gertjan
                                    last edited by

                                    @gertjan said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                                    You could 'diff' between the original files, and your files, and have this diff merged automatically during startup or even update (I use the 'Patches' package from pfSense).

                                    Could You be so please explain on an example (for /etc/rc.initial) how to make this according this topic.

                                    To save my time a little bit. ;) Anyway, a little bit later I try to study how to using the Patches. I found that official pfSense doc from NetGate have no such info and examples...

                                    I would be thankful for Yoyr time and efforts about helping people’s here on forum! Thank You again one time!

                                    But what if Netgate decided to fundamentally change the /etc/rc.initial file in the next version ? The merge won't work out. Your back to manual again.

                                    As I able to see, nothing much changed (just nothing) in last 3 year.

                                    Anyway, I make all system updates in manual mode, to look precisely on each changes.

                                    —
                                    CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                    Help Ukraine to resist, save civilians people’s lives !
                                    (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                    1 Reply Last reply Reply Quote 0
                                    • Sergei_ShablovskyS
                                      Sergei_Shablovsky @Gertjan
                                      last edited by

                                      @gertjan said in How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                                      edit : the main security issue is that the centralized Munin client - the site where I host all the charts of all my devices, connects every 5 minutes to a TCP port 4949 of my pfSense.
                                      A WAN firewall rule accepts incoming TCP 4949 connections from one IP only : the IP from my munin client.

                                      Let’s to note, better not to exposing ports to outside, and SSH keys are so easy to brute force nowadays on powerful i7/i9 or NVidia cards.
                                      As minimal, using OpenVPN / WireGuard + port knock + limit to x connection in y time.

                                      —
                                      CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                      Help Ukraine to resist, save civilians people’s lives !
                                      (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                      GertjanG 1 Reply Last reply Reply Quote 0
                                      • S
                                        s3b0
                                        last edited by

                                        Any one has recipe for pfsense 2.7.2-RELEASE?

                                        GertjanG 1 Reply Last reply Reply Quote 0
                                        • GertjanG
                                          Gertjan @Sergei_Shablovsky
                                          last edited by

                                          @Sergei_Shablovsky said in [SOLVED] How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                                          Let’s to note, better not to exposing ports to outside, and SSH keys are so easy to brute force nowadays on powerful i7/i9 or NVidia cards.

                                          So, my 512 byte size 'SSH key' is less better as my 512 size byte 'OpenVPN' key ?
                                          Ok, I agree, never expose an SSH (with the default initial user (probably root) and password) to the outside.
                                          That's why SSH+certificate was invented, right ?
                                          I do use fail2ban = your "play 3 times and then your banned for the week" of course.

                                          Never even thought I had to use SSH+cert over OpenVPN (like a secured connection into a tunneled secured connection) ..... but I give it one 👍

                                          No "help me" PM's please. Use the forum, the community will thank you.
                                          Edit : and where are the logs ??

                                          1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @s3b0
                                            last edited by

                                            @s3b0 said in [SOLVED] How to installing bpytop (former Bashtop) and adding it to Main Menu (menu in Console)?:

                                            Any one has recipe for pfsense 2.7.2-RELEASE?

                                            A recipe ?

                                            https://www.pfsense.org/download/ ?

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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