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,337
Thanks: 54
Thanked 5,768 Times in 2,356 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 03:33 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  380
john9527  141
stevech  137
azazel1024  127
hggomes  91
noric  80
sfx2000  76
L&LD  68
KGB7  67
fistv  66
RMerlin  5767
stevech  335
john9527  279
ryzhov_al  272
TeHashX  227
L&LD  197
RogerSC  195
sinshiva  146
joegreat  127
sfx2000  124
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  12223
Old Asuswrt-Merli...  6444
Old My...  5165
Old Most stable...  4111
Old Asuswrt-Merli...  4095
Old Thinking of...  3815
Old RT-AC87R (U)...  3576
Old Connection...  3085
Old [HOW TO]...  2791
Old Can't trust...  2151
Old Asuswrt-Merli...  122
Old Connection...  59
Old My...  56
Old [HOW TO]...  50
Old Asuswrt-Merli...  45
Old RT-AC87R (U)...  39
Old USB N...  29
Old Most stable...  29
Old New...  28
Old Second new...  27


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