I want to configure my BBB (Bullseye Version) to have a Fixed IP address.
I use the following command: connmanctl config --ipv4 manual .
It works, but when I do the ip a command, I see that I also have a dynamic IP address. How to delete it?
I tried the sudo dhclient -r eth0 command and modified the /etc/network/interfaces file, but nothing worked. Do you have an idea ?
THANKS
HI PhilGood,
you can do by following method
For Converting Dynamic Ip to Static IP
Go to location /etc/systemd/network (this maybe differ)
Find file like eth0.network.
open file by sudo nano eth0.network and comment last line and add below things
Address=192.168.1.xxx/24
Gateway=192.168.1.1
DNS=8.8.8.8
That image is using systemd-networkd…
If you installed connman without uninstalling systemd-networkd there is probably a conflict…
You should be modifying /etc/systemd/network/eth0.network
Thank you for your reply.
I edited the /etc/systemd/eth0.network file and commented DHCP=ipv4.
[Match]
Name=eth0
Type=ether
[Link]
RequiredForOnline=yes
[Network]
#DHCP=ipv4
Now it’s OK, I only recover my Fixed IP address, thank you.
Thank you for your response, I will stop installing connmamctl and do as you recommend by working on the /etc/systemd/network/eth0.network file. THANKS.