• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 5.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.
  • S
    Sergei_Shablovsky @stephenw10
    last edited by Sergei_Shablovsky Feb 12, 2021, 11:16 PM Feb 12, 2021, 9:54 PM

    @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
    • S
      Sergei_Shablovsky
      last edited by Sergei_Shablovsky Jul 26, 2021, 12:04 AM Jul 25, 2021, 11:07 PM

      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
      • S
        Sergei_Shablovsky @Gertjan
        last edited by Nov 4, 2021, 10:15 PM

        @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
        • S
          Sergei_Shablovsky @Gertjan
          last edited by Nov 4, 2021, 10:23 PM

          @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.)

          G 1 Reply Last reply Jan 22, 2025, 12:19 PM Reply Quote 0
          • S
            s3b0
            last edited by Jan 22, 2025, 11:33 AM

            Any one has recipe for pfsense 2.7.2-RELEASE?

            G 1 Reply Last reply Jan 22, 2025, 12:20 PM Reply Quote 0
            • G
              Gertjan @Sergei_Shablovsky
              last edited by Jan 22, 2025, 12:19 PM

              @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
              • G
                Gertjan @s3b0
                last edited by Jan 22, 2025, 12:20 PM

                @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 Jan 22, 2025, 12:31 PM Reply Quote 0
                • S
                  s3b0 @Gertjan
                  last edited by Jan 22, 2025, 12:31 PM

                  @Gertjan recipe for btop :)

                  G 1 Reply Last reply Jan 22, 2025, 3:13 PM Reply Quote 0
                  • G
                    Gertjan @s3b0
                    last edited by Jan 22, 2025, 3:13 PM

                    @s3b0

                    [24.11-RELEASE][root@pfSense.bhf.tld]/root: pkg install btop
                    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.
                    pkg: No packages available to install matching 'btop' have been found in the repositories
                    

                    So btop not available.

                    If you want to have access main stream packages, install a main stream OS like this one. Or take this one.
                    pfSense is based upon FreeBSD, like your drone is based upon Linux. Each of these devices uses their own related repositories, and do not allow you to install 'other' non-related packages. Just the strictly needed. This to enforce the security of the device.
                    Or do you really have your drone flying around with X-Windows or MySQL server installed ?

                    ( see pfSense Documentation : you can override this, and switch to the FreeBSD public repository. Do this only when you are ware of the risks.

                    Btw : htop exists.

                    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 Jan 22, 2025, 4:18 PM Reply Quote 0
                    • S
                      s3b0 @Gertjan
                      last edited by Jan 22, 2025, 4:18 PM

                      @Gertjan i know htop exist but it lacks some features. I understand security reasons and i appreciate them, but having btop would be nice :)

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received