OpenWrt Forum Archive

Topic: iftop error

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

When I first got my router and loaded OpenWrt on it the first package that I installed was iftop.  I was new (newer) at this then and was just fooling around looking at the various packages.  I wound up re-flashing OpwnWrt after I had severely borked it, losing iftop and a few other nifty packages.  I just tried to re-load iftop and the installation goes without errors.  However, when I try and execute the program I get the following:

$ iftop
interface: br0
IP address is: 192.168.1.1
MAC address is: 00:13:10:xx:xx:xx (edited)
Open RING [fd=-1]
Error opening terminal: xterm.

Any idea?  I have tried to remove the package and all its dependencies but still get the error.

Thank you,
   Duffin

(Last edited by Duffin444 on 15 Nov 2005, 05:57)

Answering my own question, again tongue.  I installed the terminfo package and then added the following line to my /etc/profile.

export TERMINFO=/usr/share/terminfo

-Duffin

The discussion might have continued from here.