Hi,
I have a project where two Pi's are connected via a standard (non-crossover) ethernet cable where one acts as a controller and the other as a logger. I am having trouble getting them to talk the more so by the fact that I don't have a monitor/keyboard (well HDMI monitor) and so am using SSH to configure them which I lose when I try the direct connection.
The set up I have on one is:
iface eth0 inet static
address 192.168.0.30
netmask 255.255.255.0
And on the other:
iface eth0 inet static
address 192.168.0.40
netmask 255.255.255.0
When they are connected to the wired network I can ssh to both of them and they can ping each other, when I connect them together they can't see each other so it has to be a routing issue. I have looked this up and there is conflicting advice as to the need for a gateway and just what other settings I need (IP tables??).
I am hoping someone can give me a quick pointer in the right direction, one of the Pi's has a GPS attached which I think gets in the way of a normal tty session so I seem to be going in circles sorting this out!
Many thanks,
Scott.