SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed iftop to monitor bandwidth on my eth0 and maybe eth1 if necessary. But when I run iftop, this is what I get :
interface: nr0
Unable to get IP address for interface: nr0
ioctl(SIOCGIFADDR): Cannot assign requested address
MAC address is: 00:00:00:00:00:00
pcap_open_live(nr0): bind: Network is down
The only interface that has an ip add is eth0, which I'm currently working on through SSH. I need help please.
It appears to think that you have an interface named "nr0".
Not sure what the heck nr0 is though. On doing a Google search I find old 1996 references to a device of that name for a software called "netrom". In turn I find "netrom" is a utility for Amateur Radio stuff. Do you have that installed?
According to man page iftop goes to the first interface it thinks you have configured. You can however specify the correct interface with the -i flag: e.g. iftop -i eth0
It shouldn't try nr0 if you do that.
Yes it works with the -i flag. I'm not really sure if I have anything that refers to Amateur Radio. I'd like to know if it's possible to do any modification on an iftop script to refer to eth0,eth1, etc.
However, your post, completely resolved my problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.