I'm transitioning from several years with DD-WRT to AsusWRT-Merlin on a TM-AC1900. I'm a pretty low-level user but I managed to find step-by-step "recipes" for fleshing out the configurations in DD-WRT, and I'm wanting to figure out how to transfer my fairly extensive firewalll rules (~270 lines) and DNSMasq rules (~130 lines) to Merlin.
I gather I need to create a file called <something>.conf.add and copy it to /jffs/configs. But there are a number of things I can't figure out that I need to know to make that happen.
The first thing is the format of the *.conf.add file. I telnetted in and tried to find an existing configuration file but can't locate any. The directories /jffs/configs and /jffs/scripts are empty.
I've read the github page on custom config files and it seems to be saying that the *.conf.add file is actually a script that uses a syntax something like:
pc_replace "original string" "new string" "config filename"
Except besides the pc_replace function, there's also pc_insert, pc_append and pc_delete. I can't find clarification on the use of each, and it seems to me I need to know what the current configuration is before I can know whether it's a replace, an insert, an append or a delete.
Or since /jffs/configs and /jffs/scripts are empty, do I proceed under the assumption that nothing is configured and everything is a pc_insert?
Also, my DNSMasq rules obviously go in dnsmasq.postconf.add, but I can't find any reference to the name of the file to contain my firewall rules/iptables.
Lastly, with such extensive configuration files, I obviously don't want to have to keypunch these in using VI, so I gather I can create them elsewhere (in UNIX format) but I have to set up a USB drive on the router and transfer the configuration files to it either by FTP or HTTP, then telnet in and move them to /jffs/configs. Yes? / No? / Maybe?
Answers, hints, and taunts are welcome.
[flamesuit on]
If there is a master "user's manual" for Merlin, I'd be especially grateful if someone would point me to it. The closest I've found to it is the Wiki at github. I have the (non-Merlin) AsusWRT manual and it's of no help.
I gather I need to create a file called <something>.conf.add and copy it to /jffs/configs. But there are a number of things I can't figure out that I need to know to make that happen.
The first thing is the format of the *.conf.add file. I telnetted in and tried to find an existing configuration file but can't locate any. The directories /jffs/configs and /jffs/scripts are empty.
I've read the github page on custom config files and it seems to be saying that the *.conf.add file is actually a script that uses a syntax something like:
pc_replace "original string" "new string" "config filename"
Except besides the pc_replace function, there's also pc_insert, pc_append and pc_delete. I can't find clarification on the use of each, and it seems to me I need to know what the current configuration is before I can know whether it's a replace, an insert, an append or a delete.
Or since /jffs/configs and /jffs/scripts are empty, do I proceed under the assumption that nothing is configured and everything is a pc_insert?
Also, my DNSMasq rules obviously go in dnsmasq.postconf.add, but I can't find any reference to the name of the file to contain my firewall rules/iptables.
Lastly, with such extensive configuration files, I obviously don't want to have to keypunch these in using VI, so I gather I can create them elsewhere (in UNIX format) but I have to set up a USB drive on the router and transfer the configuration files to it either by FTP or HTTP, then telnet in and move them to /jffs/configs. Yes? / No? / Maybe?
Answers, hints, and taunts are welcome.
[flamesuit on]
If there is a master "user's manual" for Merlin, I'd be especially grateful if someone would point me to it. The closest I've found to it is the Wiki at github. I have the (non-Merlin) AsusWRT manual and it's of no help.