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 online now
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 9,746
Thanks: 49
Thanked 5,203 Times in 2,197 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 12:29 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  477
stevech  187
sm00thpapa  184
azazel1024  178
KGB7  153
philmiami  95
jim769  90
microchip  89
htismaqe  73
hggomes  71
RMerlin  5202
stevech  315
ryzhov_al  259
TeHashX  212
RogerSC  187
L&LD  186
joegreat  123
jlake  122
sinshiva  118
sfx2000  112
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  39495
Old Switched...  9289
Old NEW RT-AC68R...  8645
Old ASUS...  8378
Old ASUS...  7999
Old 3.0.0.4.376.1...  7194
Old ASUS RT-AC87...  5859
Old ASUS RTAC68U...  4181
Old ASUS...  4128
Old Netgear...  3926
Old Asuswrt-Merli...  330
Old ASUS...  102
Old Overclock...  78
Old [Q] How to...  75
Old Switched...  66
Old NEW RT-AC68R...  57
Old N66U daily...  47
Old How many of...  45
Old ASUS...  45
Old ASUS...  44


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