setting an interface to promiscuous mode
Michael R. Head
burner at suppressingfire.org
Mon Aug 20 13:30:16 UTC 2007
On Thu, 2007-08-16 at 15:07 +0900, Tomoki Taniguchi wrote:
> I am trying to figure out a way to set eth1 up and in promiscuous mode when
> the system starts up
>
> i can setup promiscuous mode by running
> ifconfig eth1 up promisc
>
> how do i set up the same behavior in
> /etc/network/interface file so that it runs the same thing when
> /etc/init.d/networking is called
I believe you can use the "pre-up" or "post-up" directives if you like:
post-up ifconfig eth1 up promisc
But why do you want to? Most apps (such as wireshark or iptraf) that
make use of promiscuous mode will enable and disable it on demand.
> TIA,
> Tomoki
>
--
Michael R. Head <burner at suppressingfire.org>
http://picasaweb.google.com/demiri.head.wedding
More information about the ubuntu-users
mailing list