SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-29-2012, 10:39 PM
tjfriese tjfriese is offline
New Member
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tjfriese is just starting out
Default How to use dnsmasq.conf.add

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
Reply With Quote
  #2  
Old 11-29-2012, 11:42 PM
RMerlin's Avatar
RMerlin RMerlin is offline
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 10,725
Thanks: 55
Thanked 6,015 Times in 2,446 Posts
RMerlin is just starting out
Default

Quote:
Originally Posted by tjfriese View Post
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.
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.

Quote:
Originally Posted by tjfriese View Post
2) Do I need to modify permissions for the .add file once I have it on the RT-N16?
Just make sure the file is executable:

Quote:
chmod a+rx /jffs/configs/dnsmasq.conf.add
Quote:
Originally Posted by tjfriese View Post
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.
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.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
  #3  
Old 11-29-2012, 11:52 PM
tjfriese tjfriese is offline
New Member
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tjfriese is just starting out
Default

[quote=RMerlin;53360]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.

I never thought about using the USB. I figured I would have to FTP it in somehow. Thanks!
Reply With Quote
  #4  
Old 11-30-2012, 12:01 AM
tjfriese tjfriese is offline
New Member
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tjfriese is just starting out
Default

And yes I have updated my dnsmaq.conf.add to have "server=" lines instead of what I had above.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 04:00 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  353
john9527  150
azazel1024  132
stevech  120
L&LD  114
htismaqe  98
sfx2000  75
TonyH  72
ChristineBCW  65
AndreyPopov  59
RMerlin  6014
john9527  373
stevech  349
ryzhov_al  277
TeHashX  232
L&LD  231
RogerSC  199
sinshiva  147
sfx2000  133
joegreat  126
Most Viewed Threads* Hottest Threads*
Old Shellshock...  27387
Old Asuswrt-Merli...  8760
Old Antenna...  3833
Old Asus...  3455
Old Simple NAS...  2359
Old Brainstorming...  2159
Old Looking for...  1912
Old RT-AC68P  1767
Old New Router:...  1586
Old RT-AC68U...  1342
Old Antenna...  73
Old Asuswrt-Merli...  63
Old Brainstorming...  47
Old Advice on...  43
Old Simple NAS...  36
Old Looking for...  35
Old Shellshock...  31
Old Asus...  29
Old WiFi Rates  23
Old RT-AC68U...  22


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.