I am trying to set my Beaglebone Black to a static IP address.
I edited /etc/network/interfaces as follows (leaving out some comments):
The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
auto eth0
iface eth0 inet static
address 192.168.169.211
netmask 255.255.255.0
gateway 192.168.169.1
Ethernet/RNDIS gadget (g_ether)
Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
Unfortunately it seem like the file is ignored and some other ip address is obtained, ostensibly by dhcp.
I am running Debian 8.3 (Linux beaglebone 4.1.15-ti-rt-r43). Any idea how to fix this?