Hi
I am trying to set static ip on my board (eth0 which is shown in the output
of ifconfig).

I edited the /etc/network/interfaces to this, and rebooted my board.
=====================
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.1.30
    gateway 192.168.1.1
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
=====================
but the baord still get ip from dhcp. How I can resolve this problem?

this is the linux I am using:
Linux 4.4.0-linaro-lt-qcom #2 SMP PREEMPT Wed Feb 24 15:41:26 UTC 2016
armv7l GNU/Linux

Thanks
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to