[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How To Temporarily Suspend Network Traffic



Hi,

I want to temporarily suspend the network traffic on a particular
interface -- if possible, in microsecond granularity. For this purpose,
ifup/ifdown ioctl() calls doesn't work. That is, for wireless,
connection isn't get recovered; for wired, it takes at least 2 seconds
to recover. I tried using tc, but it doesn't accept "rate 0" parameter.
Neither "iwconfig wlan0 rate 0" has any effect. (Moreover, in iwconfig
manual it is told that values below 1000 are card specific and are
usually an index in the bit-rate list.) Do you have any suggestions? Or
can you point me to some other resource/mailing-list that I can consult?


Regards.


Reply to: