OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

dhcp problem

Open XiongJunDelta opened this issue 7 years ago • 1 comments

the network dhcp was configed by NETAUTO=dhcp, and the ip is ok but the /etc/resolv.conf file is nothing. there is other ways to resolved it.

XiongJunDelta avatar Jun 22 '18 10:06 XiongJunDelta

I know this is an old issue, but I am also having this issue in ONL8 -- nameservers from the chain loader are not applied to the main OS. A work around is to run dhclient on the management interface, however I am not sure whether or not this is persistent. I have made it 'persistent' by providing an init script that runs dhclient -- however init scripts don't "support" one shot services like systemd does so the service is constantly shown as running.

A better understanding of how the chain loader (with udhcp?) applies DHCP settings to the main OS would be useful. /var/lib/dhcp/dhclient.leases is empty

CommitThis avatar Jan 23 '20 12:01 CommitThis