Hi Stephan, > is it possible to change dhcp plugin or write a new plugin to support > busybox udhcp insteed dhcp-client and resolvconf and make configure > options to enable/disable this? i have seen moblin has a busybox > package too.
yes, that is possible. And quite simple actually. You only need to write a new plugin for udhcp support. And we can add an extra check to the dhclient plugin to fail probe() if the binary is not installed. Keep in mind that no DHCP plugin is allowed to modify the interface settings. Setting IP address etc. is job of the IPv4 plugin. The resolvconf plugin check if resolvconf is available and if not it fails. Then the resolvfile plugin (which modifies /etc/resolv.conf directly) gets applied. However for resolver stuff, I prefer you use dnsproxy plugin and point /etc/resolv.conf to 127.0.0.1 then no file needs any kind of re-write all the time. And we can handle DNS requests simultaneously. Regards Marcel _______________________________________________ connman mailing list [email protected] https://lists.moblin.org/mailman/listinfo/connman
