eth0 in promisc mode
hey
i saw a question in the Networking forum in which someone has a problem with his eth0 (NIC). he cant set it back to non-promisc mode. i know how to put a card into promisc mode (prog in C - you get the ifreq struct and set the promisc flag....). how do i switch it back to non-promisc mode?? |
Never wrote any programs which changes the promiscuous mode of a network card. But I assume just clearing the IFF_PROMISC bit in the ifr_flags field, and then repeating the ioctl call should work.
|
:study: man ifconfig
probably : ifconfig eth0 -promisc just a matter of fiddling around, shouldnt be to diffcult. -------------- :jawa: |
All times are GMT -5. The time now is 02:39 AM. |