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)
https://stackoverflow.com/questions/967710/crystal-reports-9-database-connection-issue
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.
SOLUTION:
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.


0.0.0.0? Kind of a nasty workaround, but you wouldn't have to plug the cable every time. It might also be interesting to see what Wireshark has to say... – Tamara Wijsman Aug 31 '11 at 17:52