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

    Add iftop to 1.2.3 embedded

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    6 Posts 3 Posters 4.2k 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.
    • M
      mihai.aldea
      last edited by

      Hello,

      After using a normal machine with 1.2.2, I've decided to go back to my PCEngines router that I wasn't using because I couldn't add packages. Now, on the 1.2.3 I can add packages from the web based configuration page but when I am trying to install pfop, I can not because the system complaints about being Read-Only

      hq:~#  pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/iftop.tbz
      Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/iftop.tbz… Done.
      bin/iftop: Could not unlink: Read-only file system
      man/man8/iftop.8.gz: Could not unlink: Read-only file system
      share/doc/iftop/README: Failed to create dir 'share/doc/iftop': No such file or directoryCan't create 'share/doc/iftop/README': No such file or directory
      tar: Error exit delayed from previous errors.
      pkg_add: extract_plist: can not invoke 114 byte tar pipeline: /usr/bin/tar cf - bin/iftop man/man8/iftop.8.gz share/doc/iftop/README|/usr/bin/tar --unlink -xpPf - -C /usr/local

      Does anyonw has any ideas ast what needs to be tweaked or something? I am really a big fan of this application because it allows me to monitor the bandwdth in real time. Perhaps the most useful thing unlike pftop is those white bars it displays. I keep a dedicated monitor on my desk with PuTTY displaying iftop. Whenever the screen starts to turn white because of the white bars iftop displays, it cathes my attention and I can instalntly see who is doing massive traffic on the network.

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

        Packages are not supported on embedded. You could try mounting the FS R/W and then installing the package. I'm not familiar with this package but if it needs to write to the disk it will probably not work. See my similar request in the DenyHosts package thread:

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

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          @pakjebakmeel:

          Packages are not supported on embedded. You could try mounting the FS R/W and then installing the package. I'm not familiar with this package but if it needs to write to the disk it will probably not work. See my similar request in the DenyHosts package thread:

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

          That is not really correct.

          Packages are supported on NanoBSD, at least some of them. You can add them from the GUI like always (System > Packages)

          You are correct in that you need to remount partitions are Read/Write in order to make manual changes from the console. That can be done like so:

          /etc/rc.conf_mount_rw
          pkg_add <blah>/etc/rc.conf_mount_ro

          If you use anything that makes changes to the filesystem, or writes a file anywhere that isn't in /tmp or /var, you will need to mount rw.</blah>

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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

            @jimp:

            @pakjebakmeel:

            Packages are not supported on embedded. You could try mounting the FS R/W and then installing the package. I'm not familiar with this package but if it needs to write to the disk it will probably not work. See my similar request in the DenyHosts package thread:

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

            That is not really correct.

            Packages are supported on NanoBSD, at least some of them. You can add them from the GUI like always (System > Packages)

            You are correct in that you need to remount partitions are Read/Write in order to make manual changes from the console. That can be done like so:

            /etc/rc.conf_mount_rw
            pkg_add <blah>/etc/rc.conf_mount_ro

            If you use anything that makes changes to the filesystem, or writes a file anywhere that isn't in /tmp or /var, you will need to mount rw.</blah>

            That's new. Just curious, is there a list of NanoBSD compatible packages?

            1 Reply Last reply Reply Quote 0
            • M
              mihai.aldea
              last edited by

              Hello Jimp and thank you for helping me figuring out  :)

              It works now.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                @pakjebakmeel:

                That's new. Just curious, is there a list of NanoBSD compatible packages?

                Not really, as packages are found that do not work properly, they are excluded from showing up for NanoBSD.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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