I have two laptops (both wifi enabled) and a wireless router. I want to use one of the laptop on a robot and other laptop to SSH into the first one. Is it possible to connect the two PCs even if I don't have a modem or internet and just use the wifi router? If so how to do that? I learned about the ad-hoc network, but I am unable to create an ad-hoc network on my macbook pro 6'2 with ubuntu 11.10, so i need an alternate method.
I haven't tried this before, but here's what you can do -
First install an ssh server on the laptop you whish to ssh to.
For ubuntu type this in the terminal -
And for the other laptop -
You can then connect to you server -
You can add static IPs to both of your laptops so that their addresses don't change!...
Hope this helps.
The wifi router will work regardless of whether you have internet. So, both laptops will be connected using the router as a common link. So, to ssh to one of them you'd use something like