- Joined
- Dec 31, 2004
- Location
- Osan AB, South Korea
I'd like to connect my Raspberry Pi to my laptop (windows 8.1) directly via ethernet, without going through a router. I thought I could just set static IPs on both my laptop and the Pi, but they're not talking to each other. I shouldn't need to use a crossover cable, as both devices should be auto-sensing. The goal is to have a totally mobile platform where I can program on the pi from my laptop, anywhere, with just one connection to the Pi (plus USB power).
Laptop settings:
IP Address: 192.168.1.2
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS (not that it matters): 8.8.8.8
Pi settings (in /etc/network/interfaces):
iface lo inet loopback
iface eth0 inet static
address 192.168.1.106
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1
Laptop settings:
IP Address: 192.168.1.2
Subnet: 255.255.255.0
Gateway: 192.168.1.1
DNS (not that it matters): 8.8.8.8
Pi settings (in /etc/network/interfaces):
iface lo inet loopback
iface eth0 inet static
address 192.168.1.106
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1