:: Re: [DNG] request for advice
Etusivu
Poista viesti
Vastaa
Lähettäjä: Simon
Päiväys:  
Vastaanottaja: Devuan ML
Aihe: Re: [DNG] request for advice
o1bigtenor via Dng <dng@???> wrote:

> Please - - - can someone tell me how to restart this part of the system without
> having to restart the whole box?
>
> (Thread veered off in a number of directions after this email. Would
> still really
> like to know - - - I'm in thunderstorm season for at least another 8 weeks so
> the likelihood of needing the information is - - - to me - - - quite real.)


A quick search came up with https://unix.stackexchange.com/questions/8160/how-to-clear-dns-cache-on-dd-wrt
The bit that seems appropriate for your needs would be :
Since there are no init scripts on DD-WRT, I guess this would be the easiest way to restart dnsmasq:

> • Kill dnsmasq:
> root@ddwrt6:~# killall dnsmasq
>
> • Start dnsmasq:
> root@ddwrt6:~# dnsmasq --conf-file=/tmp/dnsmasq.conf



Or there’s this page https://www.freesoftwareservers.com/display/FREES/Restart+DNSMasq+DD-WRT+Command+Line
> killall dnsmasq
> dnsmasq --conf-file=/tmp/dnsmasq.conf




Simon