javitu / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 2 forks source link

unable to change cache size in dnsmasq #1398

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. added line "cache-size=2048" at line 4 in Custom Configuration File 
"dnsmasq.conf"
2.
3.

What is the expected output? What do you see instead?
Expected dnsmasq to use new cache size. However, on hitting the button apply, 
dnsmasq fails to start. Syslog entries related to this issue as below:
Jan 11 13:36:54 dnsmasq[7679]: illegal repeated keyword at line 4 of 
/etc/storage/dnsmasq/dnsmasq.conf
Jan 11 13:36:54 dnsmasq[7679]: FAILED to start up
Jan 11 13:36:57 dnsmasq[7684]: started, version 2.72 cachesize 1024

My guess is there is a hardcoded config somewhere to set cache size to 1024. I 
propose to move this into the custom config file so that users can change the 
value as per their requirements.

What version of the product are you using? On what operating system?
firmware version is 3.4.3.8-088

Please describe the problem as detailed as it's possible.
If you have connection problem, then syslog file is required. (please do
attach it as a file)
Note that if there will be a poor problem description the issue status will
be changed to 'Invalid'!

Original issue reported on code.google.com by bfg1...@gmail.com on 11 Jan 2015 at 4:52