Add iftop to 1.2.3 embedded



  • 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.



  • 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


  • Rebel Alliance Developer Netgate

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



  • @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?



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

    It works now.


  • Rebel Alliance Developer Netgate

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


Log in to reply