How to use dnsmasq.conf.add

Discussion in 'Asuswrt-Merlin' started by tjfriese, Nov 29, 2012.

  1. tjfriese

    tjfriese New Around Here

    Joined:
    Nov 29, 2012
    Messages:
    3
    Hello,

    I have the following in a dnsmasq.conf.add file on my desktop:

    server/netflix.com/184.169.139.227
    server/theplatform.com/184.169.139.227

    Three questions:

    1) How do I get this onto my RT-N16? I have already set up JFFS in the admin settings. I have tried Putty SFTP but was unable to connect.

    2) Do I need to modify permissions for the .add file once I have it on the RT-N16?

    3) Can I disable JFFS once I have the file on the RT-N16? I would need to re-enable it if I ever needed to modify the file, I guess.

    Thanks,

    Tim
     
  2. Log in / Register to remove this ad

  3. RMerlin

    RMerlin Part of the Furniture

    Joined:
    Apr 14, 2012
    Messages:
    13,662
    Location:
    Canada
    Simplest way if you aren't very skilled at using Linux is to put them on a USB disk, then while connected through telnet you can copy them in their final location.

    Just make sure the file is executable:

    No. The idea of JFFS is to create a partition stored inside the router's flash storage to put scripts in. If you disable JFFS, it will disable the partition, meaning the firmware will no longer be able to access your config file at boot time to merge it with the main config file.
     
  4. tjfriese

    tjfriese New Around Here

    Joined:
    Nov 29, 2012
    Messages:
    3
     
  5. tjfriese

    tjfriese New Around Here

    Joined:
    Nov 29, 2012
    Messages:
    3
    And yes I have updated my dnsmaq.conf.add to have "server=" lines instead of what I had above.
     

Share This Page