I know, I know, it’s a little off topic but I’d struggled with this for quite a while before solving it so hope to save the pain of others with the same issue.
I recently installed a Windows Media Centre at home, and it’s fantastic. Shortly afterwards I bought a Raspberry Pi, connected it to a television in another room of the house and install RaspBMC on it. I then connected it via my home network to the shares on my always-on Media Centre (initially mapping to hostnames but later on switching to mapping via IP); this gave me access to all the media on the Windows device, except for the live television.
Everything worked great for a whole 24 hours until I started seeing the error “10060 Connection Timed Out” on the Raspberry Pi when trying to access the Windows shares, although my other Windows devices could access the same shares. Assuming it to be a fault with Samba on the Pi device I tried restarting the Pi, and re-establishing the mount points/mappings – but none of this made any difference; bizarrely, the only solution was to restart the Media Centre in order for the Pi to get network connectivity back – this does not really something that seemed that logical because the fault surely lies within the Pi.
In the end, after 2 weeks of frustration and Media Centre rebooting, I wondered if the fault could lie in the Pi not registering itself correctly with the SMB browser service on my network; because the Media Centre was always switched on it was fairly safe to assume that it was the Master Browser. By disabling the “Computer Browser” service on my Media Centre I was preventing it from becoming the Master Browser, and this simple change solved all my networking issues between the Media Centre and the Raspberry Pi!
So if you are experiencing similar issues, try disabling this service and then rebooting by the Windows computer and the Raspberry Pi, hopefully this will solve it for you.