I tried giving my new rpi a static IP via eth0. I followed standard tutorials and changed interfaces from
iface eth0 inet dhcp
iface eth0 inet static address 192.168.0.107 netmask 255.255.255.0 gateway 192.168.0.1
192.168.0.1 is my router's adress and 192.168.0.107 the pi's current adress. When I do
I receive 192.168.0.1 as nameserver. This should be okay.
sudo /etc/init.d/networking restart and restarting the pi I can't see my ip adress and broadcast via
ifconfig and my windows machine can't ping my pi. Which it could previous to the changes.
I also tried adding
broadcastas well, no change.
I'm not an experienced linux user and I know there are ways to solve this issue via my router and the MAC adress, however I would like to understand what went wrong here.
auto lo iface lo inet loopback iface eth0 inet static adress 192.168.0.107 netmask 255.255.255.0 gateway 192.168.0.1 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
ifconfig eth0 comes back but the line above UP BROADCAST... where my IP should appear is empty.
route -n I see the headlines Destination Gateway etc. but no content underneath