[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectpcnet32 - promiscuous mode bug
To those interested in pcnet32,

In pcnet32_set_multicast_list(), the driver sets the promiscuous bit in
the init_block mode field. This is copied to CSR15 during

However, that bit is only read/write accessible when the device is in
the suspend or stopped state, so setting the promiscuous bit will have
no effect on an already UP interface.

Thus, to get the interface to actually be in promiscuous mode, one must:
ifconfig -i eth0 promisc
ifdown eth0 ; ifup eth0
tcpdump will now see promiscuous packets
and to turn it off,,
ifconfig -i eth0 -promisc
ifdown eth0 ; ifup eth0

It also appears that tcpdump 3.6.2 isn't triggering that code at all...
What does the driver need to support for tcpdump?

Anyone have a fix for this?

--------------------. Real Users find the one combination of bizarre
Eli Carter \ input values that shuts down the system for days.
eli.carter(a) `-------------------------------------------------
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.050 / U:1.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site