Temat: Netgear R6220 19.07 Brak serwisu DHCP po restarcie
Moze kogos zainteresuje. To urzadzenie z wgranym openwrt, ostatnim 19.07 stad. Po restarcie nie uruchamia poprawnie DHCP z jakiegos powodu.
Nie znam przyczyny. Obejscie, ktore zadzialalo u mine to ustawienie:
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
/etc/test.sh &exit 0
#!/bin/sh
while [ 1 == 1 ]
do
sleep 2
grep -c dhcp-range /var/etc/dnsmasq.conf.cfg01411c > /dev/null
if [ $? == 1 ]
then
F=`date`
echo "${F}" >> /tmp/"${F}"
cat /var/etc/dnsmasq.conf.cfg01411c >> /tmp/"${F}"
/etc/init.d/dnsmasq restart
fi
done
Jakby ktos znal powod i/lub lepsza metode chetnie sprobuje.
Z logow widze ze zawsze po resecie raz dnsmasq musi by zrestartowany, poniewaz dnsmasq.conf nie jest poprawny, brakuje w nim pewnych sekcji