Re: network manager dhcp ntp server issue



Am 19.01.2013 00:52, schrieb Dan Williams:
So NetworkManager pushes out *every* DHCP option in the environment of dispatcher scripts. This should be happening both on 'dhcp4-change' and 'up' events. This would be the preferred mechanism to push NTP server and other random information to other tools like ntpd. Is this not working?
Cannot say yet.
I found out that adding an entry NTPSERVERS to /var/run/netconfig/NetworkManager.netconfig by hand let netconfig find and set ntp server. Because in NetworkManager there is already code to set DNSSERVERS, which is somehow transfered into /var/run/netconfig/NetworkManager.netconfig and I added similar code for NTPSERVERS, which works for me.

If your question is still relevant please let me know. In this case I need to dig more into the way opensuse deals with setting dhcp options.

Ralf



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]