Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1689  / 1 Year ago, wed, february 8, 2023, 8:41:31

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.


More From » networking

 Answers
7

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 -



sudo apt-get install openssh-server


And for the other laptop -



sudo apt-get install openssh-client


Type ifconfig on your server laptop to find out its ip address.



You can then connect to you server -



ssh (server IP)


You can add static IPs to both of your laptops so that their addresses don't change!...



Hope this helps.


[#34982] Thursday, February 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ightrushi

Total Points: 129
Total Questions: 125
Total Answers: 127

Location: French Southern and Antarctic Lands
Member since Fri, Jan 6, 2023
1 Year ago
;