hi,
I have a problem connecting pi and laptop via ethernet. after i have setup my pi with static ip.
So i have actually been accesing the pi through my home network but now i need to work with it outside of home therferefore i know i can just connect into it from my laptop via ethernet cable and i have done this in the past.
However i don't know why but now when i tried to ssh into the pi via ether net cable by ssh pi@192.168.2.2 like i did before it would not worK?
does this has anything to do with my network interface setting:
auto lo
#the primary wired network interface
auto eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.115
netmask 255.255.255.0
netwrok 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.116
netmask 255.255.255.0
netwrok 192.168.1.0
broadcast 192.168.1.255