Define ifreq blah; strcpy(blah.ifr_name, "name-of-device0"), set
blah.ifr_flags to IFF_PROMISC then ioctl() the socket;

_________________________________________
John Daniele
Technical Security & Intelligence
Toronto, ON
Voice:  (416) 605-2041
E-mail: [EMAIL PROTECTED]
Web:    http://www.tsintel.com

On Fri, 8 Feb 2002, Steve Schott wrote:

> I am having problems figuring out how to put a NIC in or out of
> promiscuous mode. I am using RH 7.2 using an Intel Pro 100+
>
> How does one do that.
>
> I can get around pretty well in Linux. I am just missing the step by
> step procedure.
>
> Thanks so much.
>
> Steve
>
> Definition of insanity: Repeating the same action over and over
> expecting a different outcome.
>
> ---------------------------------
>
>
>
>

Reply via email to