raspberry pi , static ip? C’mon

You got to be kidding me. Why on earth are RASPBIAN JESSIE diverting from a common practices on ALL Linux distributions ? Setting a static IP on debian should be done via /etc/network/interfaces why on earth are they making dhcpcd the master of the univers?.

a common /etc/network/interface should look like;

auto eth0
iface eth0 inet static

but under defaul raspbian it looks like;

iface eth0 inet manual

In order to get static ip on a raspbian these days you need to edit /etc/dhcpcd.conf. And you need to put in the top of the file.

interface eth0
static ip_address=
static routers=

And a even funnier, if you have no link on the interface, it will not have an IP! This is just plain stupid.

Leave a Comments