Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to connect two PCs running Windows 7 via a wifi ad-hoc network and then use Remote Desktop from one of the PCs to the other? In addition to this the Remote Desktop host PC should still be able to connect to the internet via a separate ethernet adapter, allowing the client to use the internet via the remote host screen.

share|improve this question

2 Answers 2

I believe that the wired and wireless networks should stay separate, with different IP segments per each network.

You should then bridge the two adapters on the PC that has the Internet access.
See How to Bridge From a Wireless to a Hard-Wired LAN.

This should enable the client PC to use the Internet connection of the other one.
I am not too clear about using Remote Desktop in this setup, so just try and see.

share|improve this answer
    
I tried bridging the adapters, setting up the Ad-Hoc network, and connecting the client PC to the network. I was able to connect to the network and use the internet from the client PC but as soon as I tried to connect Remote Desktop the ad-hoc network shut down and the connection was lost on the client. –  StickFigs Mar 12 '13 at 5:00
    
Ad-hoc is defined as a temporary connection, but I believe that RDP should still work. Are you getting an error message with the disconnect? Anything in the Event Viewer? Are you using only Windows or 3rd-party software? Try also using static IP addresses for both computers. –  harrymc Mar 12 '13 at 7:18
    
How do I use static IP addresses? –  StickFigs Mar 15 '13 at 1:45
    
Here is a tutorial. Choose values that are in the right segment - use ipconfig in a command prompt on both computers to find out which is the segment to use. –  harrymc Mar 15 '13 at 8:29

This should absolutely be possible. Just set the ad-hoc network on a different IP range (for example, use 192.168.2.1 and 192.168.2.2 as the IPs for the two computers, and set the subnet mask to 255.255.255.0). The host must be able to run a Remote Desktop server (which I believe is restricted to Pro and up), but you can have a computer connected to two networks.

share|improve this answer
    
I would describe that as a different IP, rather than a different IP range. –  Austin ''Danger'' Powers Mar 4 '13 at 5:49
    
@Dan I meant "use the range 192.168.2.x" (as opposed to 192.168.1.x). The right term would be "different network" or "different subnet", but "different range" is less confusing. –  cpast Mar 4 '13 at 5:52
    
This is promising but could you be more specific, How do I set these IP parameters? –  StickFigs Mar 4 '13 at 18:55
    
@StickFigs In Windows, under "Network Connections", right click the wireless interface, and hit "Properties". Click "TCP/IP version 4", and hit the configure button. Then, select "Manual IP" and enter these. –  cpast Mar 4 '13 at 19:23
    
@cpast I tried setting the host IP to 192.168.2.1 but when I connect the other PC to the ad-hoc network it resets to the default IP 192.168.137.Something. You said to set the IP on both PCs? Before or after connecting/creating the network? –  StickFigs Mar 6 '13 at 23:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.