I have two desktops and one laptop. What I want to do is connect my laptop with desktop_1 over a crossover cable, synchronize my files (i.e. with rsync), then travel, work during travel, arrive at second place, connect laptop with desktop_2 with the same cable, sync to desktop_2, work there and before returning back to place 1 do the same thing all over again in reverse order. I do that occasionally. So far I managed to connect laptop and desktop_1 by assigning static ip addresses at eth0 in the form:
I can ping each other, so the connection seems to work. But that’s all I managed to do so far. I tried to connect with ssh but I couldn’t. I googled around but I got confused. The two closest solutions I found were to use either samba or NSF, so one computer should be file server and the other one client, but which one should be which?. Am I on the right track here or is there a better solution? Another complication is that before using the crossover cable I need to plug out the network cable from the desktops, so I assume that I have to configure eth0 back again to its original state if I want to have internet connection on the desktops after synchronization finishes.
Any help or ideas very much appreciated
Code:
Desktop_1: IP=192.168.0.1; Netmask=255.255.255.0 Laptop: IP=192.168.0.2; Netmask=255.255.255.0
Any help or ideas very much appreciated
Comment