LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-19-2016, 03:31 PM   #1
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Rep: Reputation: 40
DD-wrt how to change dchp default gateway


Hi group,
I have a LinkSys wrt54g router with DD-wrt install (Firmware: DD-WRT v24-sp2 (08/12/10) micro). DHCP is enabled. By default the DNS is defined as the router's IP address. I need to change the default DNS but I can't find where to change it. It is not in the setup=>basic setup tab under 'Network Address Server Settings (DHCP)'?
I do have telnet access.

Anybody know the secret handshack to define the default DNS address?

Thanks for your time.

Last edited by MrUmunhum; 04-19-2016 at 04:47 PM. Reason: I ment DNS not gateway!
 
Old 04-19-2016, 04:30 PM   #2
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Original Poster
Rep: Reputation: 40
Through the infinite typing if found the answer here:https://www.dd-wrt.com/wiki/index.ph...r#Static_Route
Code:
ISP DNS-Servers

If you wish to pass through the DNS servers from your ISP, you can use the following parameters:

dhcp-option=6, x.x.x.x, y.y.y.y

where
x.x.x.x = DNS1
y.y.y.y = DNS2

[edit]
The secret is where to place this info:
Code:
Extra DNSMasq options

There are some extra options in the web interface for DNSMasq that you can set by entering them in Additional DNSMasq Options on the "Services" tab.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the default gateway? shams Linux - Networking 3 02-14-2013 08:01 PM
[SOLVED] change default Gateway amartlk Linux - Networking 10 12-23-2011 06:19 AM
How do I change the default gateway? tbruer1138 Linux - Networking 3 03-10-2005 08:21 PM
Cannot change default gateway parr Linux - Networking 22 07-31-2003 06:13 PM
want to change default gateway juanb Linux - General 1 03-12-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration