libera/#devuan/ Friday, 2024-12-27

freemI think the funniest thing with PW and PA is that people believe it replaces alsa... people seem to forget that alsa is really the kernel's API for sound, apparently.12:38
raubFeeling like an idiot: how do I tell a devuan host to use the ntp server being fed by dhcp?18:22
fsmithredset it in /etc/ntp.conf? Just a guess.18:23
raubfsmithred: That would be the manual solution. I was hoping for it to get that info off dhcp18:24
raubfsmithred: in /etc/dhcp/dhclient.conf the option ntp-servers is defined in the request statement. I now wondering if my dhcp server is passing it18:33
gnarfaceraub: off the top of my head i don't know whether it is or not, but i think it's possible that it is not; even passing the DNS servers isn't actually part of the base DHCP standard, it's actually a Microsoft contributed extension18:42
gnarface(i found that out when i discovered around 2006 that not all the DHCP clients in Debian at the time could accept the DNS server field)18:43
gnarfaceso, yea, for any extra fields outside just the IP address stuff to work, you have to have both server and client side support for those fields, and it's very possible for them to be missing when you're using an arbitrary mix of different vendors' stuff18:44
gnarfaceat that time, I was able to fortunately use the built in script hooks to extend the DHCP client we were using so it could accept DNS fields too - if you can't do something similar the only thing i could suggest is using a different server and/or client18:47
gnarfacefor whatever it's worth, even if your DHCP server is properly sending NTP fields, i don't have any particular reason to believe that any of Debian's NTP solutions are actually wired up to accept them without some initial customization, so maybe it's not the DHCP setup at fault here...18:49
gnarface(you might, for example, have to make some custom script yourself and attach it to the DHCP client's hook so that it knows to overwrite the ntp.conf when it gets a proper NTP field from the server)18:53
gnarface(ymmv also depending on if you're using a particular network manager)18:54

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!