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,777
Thanks: 55
Thanked 6,034 Times in 2,458 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 09:02 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  362
john9527  156
azazel1024  108
stevech  96
htismaqe  96
sfx2000  77
L&LD  63
TonyH  59
ColinTaylor  53
AndreyPopov  53
RMerlin  6033
john9527  378
stevech  350
ryzhov_al  279
TeHashX  236
L&LD  232
RogerSC  199
sinshiva  147
sfx2000  133
joegreat  126
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  17029
Old Brainstorming...  2382
Old RT-AC68P  2319
Old Advice on...  2179
Old Looking for...  2154
Old RT-AC68U...  1568
Old Asus...  1548
Old Issues...  1474
Old AC-68...  1401
Old Does Auto...  1265
Old Asuswrt-Merli...  128
Old Advice on...  49
Old Brainstorming...  47
Old Looking for...  35
Old Issues...  25
Old Stable...  25
Old WiFi Rates  23
Old RT-AC68U...  22
Old Belkin Pre-N...  21
Old Network...  18


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