I use imx8 maaxboard (yocto sumo & zues branch) iwave board(yocto zues branch),
for our app, we do not need to get ip address from DHCP_server(routers), we set static IP address(or vlan ip address), but when we connect to a router, it always obtain a IP address from the router to make our code error.
so how to disable dhcp_clinet in linux (yocto sumo and zues) or directly remove dhcp_client executable from yocto local.conf?
we try to change /etc/systemd/network/99-default.link
it seems can not work well.
I think it depend on the configuration of the system you used on your board. You may check 'ps aux' if there is any dhcp client running. Or add a fix IP in your network interface setting in system .. etc.