it seems like my router (a FritzBox) isn't assigning my Pi an IP address any more. Can't really tell why, I just came back from a business trip and cannot reach my Pi any more...
Since I always thought about assigning it a static address, I went ahead and configured /etc/network/interfaces:
Code: Select all
auto lo
iface lo inet loopbac
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.178.19
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1However neither can the Pi reach any other node in the network, nor vice versa.
The thing that's most interesting is that I have another Pi, which gets its IP address via DHCP and everything works fine.
The output of 'ip addr' on that second Pi is
Code: Select all
eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:e8:68:26 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.31/24 brd 192.168.178.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::46ab:8538:fba4:ba96/64 scope link
valid_lft forever preferred_lft foreverSo I assume it's something about the router, but where should I start looking?
Thanks!
EDIT: I just tried a different ethernet cable but didn't have any luck. The LEDs on both the Pi and my switch are blinking like they should though...