TheEagle
09-11-2005, 22:39
Ok I "rtfm", I "utfs", still I can't explain the following.
I didn't tune Olegs firmware much, cept adding a cronjob. crontab file
is /var/spool/cron/crontabs/admin. This I added to the /usr/local/.files and saved/commited/enabled flashfs. Works like charme.
Now I discovered that I don't like the maximum lease time of 86400secs or 24hours my PCs get, even those that have manually assigned IP adress via MAC address. So I checked the net and discovered that dnsmasq also accepts hours (e.g. 168h for a week) or minutes or the word "infinite". hey cool, sounds like what I want. So I edited dnsmasq.conf to set infinite lease time. Restarted dnsmasq, renewed my ip, it works. Great. Now how to save dnsmasq permanently? Of course the same way I did with crontab file, I thought. Added "/etc/dnsmasq.conf" to /usr/local/.files, flashfs save/commit, output says it's saved. Reboot ... WTF it's back to old setting. Strange enough ... if I manually do a "flashfs load", dnsmasq.conf is overwritten and the changes I made are there like they should be.
So why is the crontab file loaded correctly from flashfs at boot time, and dnsmasq.conf is not, though it is in there. :confused: :confused: :confused:
I didn't tune Olegs firmware much, cept adding a cronjob. crontab file
is /var/spool/cron/crontabs/admin. This I added to the /usr/local/.files and saved/commited/enabled flashfs. Works like charme.
Now I discovered that I don't like the maximum lease time of 86400secs or 24hours my PCs get, even those that have manually assigned IP adress via MAC address. So I checked the net and discovered that dnsmasq also accepts hours (e.g. 168h for a week) or minutes or the word "infinite". hey cool, sounds like what I want. So I edited dnsmasq.conf to set infinite lease time. Restarted dnsmasq, renewed my ip, it works. Great. Now how to save dnsmasq permanently? Of course the same way I did with crontab file, I thought. Added "/etc/dnsmasq.conf" to /usr/local/.files, flashfs save/commit, output says it's saved. Reboot ... WTF it's back to old setting. Strange enough ... if I manually do a "flashfs load", dnsmasq.conf is overwritten and the changes I made are there like they should be.
So why is the crontab file loaded correctly from flashfs at boot time, and dnsmasq.conf is not, though it is in there. :confused: :confused: :confused: