Does anyone know if an hardware ethernet on/off switch exists to buy? Or if it would be possible to build one?
I currently have an issue in my software development environment that can only be resolved by pulling the ethernet cable out of my my machine. I know it does not make much sense, but it is the fastest solution I have to solving this issue (see my open question on StackOverflow)
What I am looking for is some type of dongle that would sit between my ethernet cable and my machine. I envision a simple on/off switch on it. Does this exist? If not, would I be able to build one? Is there some physical limitation to doing this?
I am really looking for a hardware solution here. As far as a software solution is concerned, I have exhausted most of the possibilities (firewalls, turning off network connection, etc) and most have either not worked or caused some other issues.
I took the advice of @tom-wijsman and implemented a software solution. I created a small C# application that adds and deletes an entry in the HOSTS file. This entry will point our database server to a nonexistent IP address. Its kind of a hack, but it solves our problem.