Networking – Inserting a non-Internet LAN cable breaks wifi

connectioninternetlannetworkingwireless-networking

My vista laptop catches wifi fine here. But when I plug in a lan cable (for a separate pc-to-pc connection), the wifi stops working (page loads timeout).
Any idea why?
It seems vista thinks I'm plugging in an internet connection, so it stops using wifi and tries to use the LAN connection for internet, then fails.

Best Answer

Vista supports only one internet connection, and in addition has the annoying habit of always preferring wired connections over non-wired, on the supposition that they are faster (have better metric).

See this article for a solution with many screenshots :
"Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN".

The basic solution is to use the command:

route delete 0.0.0.0 IF 11

where the IF 11 refers to Inteface List # 11 (which is displayed by route print command output, in the Interface List section).

Related Question