GlowingApple
New Around Here
I accidentally unplugged my router, and when I plugged it back in and booted it up my squid proxy and custom dns entries were not working any longer. I upgraded to the newest firmware and even wiped the jffs and recreated the scripts/configs, but I'm running into the same issues.
I have a dnsmasq.conf.add that adds "addn-hosts=/opt/etc/hosts.dnsmasq". Upon reboot none of the entries in this file are set. If I "kill -HUP dnsmasq", all my entries work again. It's as if this config line is not being added until after dnsmasq starts.
Second, my squid proxy won't start. I get errors reading:
FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-cf__metadata.shm): (13) Permission denied
Squid is running as "nobody", but has always been set up this way and I didn't have this issue until now. Running "chmod -R 777 /dev/shm/" allows squid to run, but this is probably not a good solution, and gets reset every reboot.
I'm not sure if these issues are related, but both seemed to crop up when I rebooted my router this last time. Any ideas what might be wrong?
I have a dnsmasq.conf.add that adds "addn-hosts=/opt/etc/hosts.dnsmasq". Upon reboot none of the entries in this file are set. If I "kill -HUP dnsmasq", all my entries work again. It's as if this config line is not being added until after dnsmasq starts.
Second, my squid proxy won't start. I get errors reading:
FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-cf__metadata.shm): (13) Permission denied
Squid is running as "nobody", but has always been set up this way and I didn't have this issue until now. Running "chmod -R 777 /dev/shm/" allows squid to run, but this is probably not a good solution, and gets reset every reboot.
I'm not sure if these issues are related, but both seemed to crop up when I rebooted my router this last time. Any ideas what might be wrong?