BBB Industrial, set static IP

Hello,

I’m using the Debian 9.3 2018-01-28 4GB SD LXQT image. I need to configure a static IP, I have modified the /etc/network/interfices file. But when I reboot the system, the IP hasn’t changed.

Can you help me?

Here is the file:

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

Static IP

auto eth0
iface eth0 inet static
address 172.16.0.189
netmask 255.255.255.0
gateway 172.16.0.254
broadcast 172.16.0.255
dns-nameservers 8.8.8.8

The primary network interface

#auto eth0
#iface eth0 inet dhcp

Example to keep MAC address between reboots

#hwaddress ether DE:AD:BE:EF:CA:FE

##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP addr$
#sudo connmanctl config --ipv4 manual <ip_addr> -$

##connman: WiFi

its all done using conman
not using /etc/network/interfaces file

I just set a static up with my BBBW. It’s done using connmanctl. There is a good tutorial on github. I posted the link in the thread when. I asked the same question.