Disable network iface?
-
This one will be difficult- Here's my situation: The owner of my company is ultra-paranoid about wireless networks. We have a few notebook PC's that will be in and out of our office. He wants all of those to have some way of auto-disabling the wireless when connecting to our network. I'd need to detect if they have a wireless device, detect if they are connected to our network (I could get away with connected to any network on a non-wireless if I had to), and find a way to disable the wireless. Is there a way to accomplish this? I don't need a full solution - just some pointers if you can. I have a way to find the interface info. I can use pcap or I have another library that uses the MIB (I hope I'm remembering that acronym properly). I don't know if either can tell me if it is wireless though. I also don't know if there is a way to disable an interface from within a program. Thanks for any help you may be able to provide. This one is really critical. Dave