Results 1 to 4 of 4
I want to monitor network traffic with ntop from a Lucid 10.04 machine. Both NICs have picked up an IP address, I need to put one in promiscuous mode. I ...
- 06-17-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 16
Cant Put Network Card into Promiscious Mode
I want to monitor network traffic with ntop from a Lucid 10.04 machine. Both NICs have picked up an IP address, I need to put one in promiscuous mode. I typed sudo ifconfig eth1 promisc and the response was SIOCSIFFLAGS: Permission denied.
I also tried sudo su ifconfig eth1 promisc
[sudo] password for user1: I put it in
Unknown id: ifconfig
Sure would love to fix this, thanks.
- 06-18-2010 #2
how about
--- rod.Code:sudo /sbin/ifconfig ......
Stuff happens. Then stays happened.
- 06-18-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 16
That worked, thanks. And subsequent to that, just sudo does it. What does that command mean?
- 06-18-2010 #4
/sbin is the directory in which ifconfig lives. That directory is normally in the $PATH for user root, but not for everyone else. Same logic applies for anything else in /sbin, such as fdisk, or route, or modprobe or a lot of other commonly used utilities.
--- rod.Stuff happens. Then stays happened.


Reply With Quote