Static IP on Beaglebone Black


I am using Beaglebone Black with new debian
I refered this link :

this time I tried to set static ip with eth0 as below

auto eth0
iface eth0 inet static   

i reboot beaglebone black and then i did ‘sudo ifconfig’
then the ip is not


Please, Let me know how to set static ip with eth0.
and one more
could you explain how to set router on beaglebone black?

thank you

@sonds1, this is because connman is installed by default.

You can either remove connman:

sudo apt remove connman

Or use the connman commands to setup the static ip…

connmanctl services
sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server>


Thank you so much~~

I resolved static ip problem using connmanctl

1 Like