Hi,

I'm not sure about resetting the stats for ifconfig, but if you use IPtables on your box, you can setup a accounting chain for the IP (i think you can also use the "eth" address, tho never have needed to do it by "eth") which then logs the packets and data, you can then reset the IPtables accounting chain which effectively resets the accounting chain stats.

I can supply IPtables information for setting this up if you wish.

- Regards -

Gabe

[EMAIL PROTECTED] wrote:

Hello list!

I would like to know if it is possible to "reset" a network card without
rebooting the computer.

What I really like to do is to "clean" the statistics of the network card
(those that are shown with ifconfig -a or with ifconfig -s).

Many thanks in advance,
Mihalis.

-----
:wq








--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to