Open thehajime opened 9 years ago
Do you need all kernel parameters ? or dhcp only ?
as just an idea, I start to write bootp (not dhcp) client functionality for nuse process. bootp branch : https://github.com/libos-nuse/net-next-nuse/commit/d0866b787c9328d046821d3305aa71c3f010f51d if bootp is specified in config file, it sends bootp request and waits reply in nuse_netdev_create().
now, but read(2) does not work with raw socket...
like 'linux ip=dhcp'.
from getenv(2) ?