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, 11: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-30-2012, 12:42 AM
RMerlin's Avatar
RMerlin RMerlin is offline
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 11,182
Thanks: 58
Thanked 6,274 Times in 2,557 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-30-2012, 12:52 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

[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, 01: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 05:07 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  434
azazel1024  125
L&LD  94
john9527  92
htismaqe  82
ColinTaylor  70
stevech  65
hggomes  64
sfx2000  58
Anzaia  50
RMerlin  6273
john9527  444
stevech  352
ryzhov_al  289
TeHashX  252
L&LD  242
RogerSC  202
sinshiva  146
sfx2000  136
joegreat  127
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  46013
Old RT-AC68 -...  21990
Old RT-AC68P...  6940
Old Moderate Nat...  4621
Old ASUS RT-N66U...  4157
Old iOS 8.1...  3923
Old WiFi...  2413
Old RT-AC87U -...  2411
Old RT-AC68P QOS...  1943
Old AC68U,...  1697
Old Asuswrt-Merli...  212
Old RT-AC68 -...  137
Old Review: 24...  35
Old RT-AC68P...  33
Old iOS 8.1...  33
Old Moderate Nat...  29
Old WiFi...  27
Old RT-AC87U -...  26
Old RT-AC68P QOS...  24
Old How to flash...  24


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