Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP with fixed DNS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jlady
n00b
n00b


Joined: 07 May 2002
Posts: 17
Location: Seattle, WA

PostPosted: Tue Apr 01, 2008 4:02 am    Post subject: DHCP with fixed DNS Reply with quote

I'm having a perplexing problem with DHCP with gentoo on a x86 box. I dual boot between Windows 2000 and Gentoo. Qwest is my ISP. We also have a Macintosh with OS X on the network. Everything worked fine until a few weeks ago when the Mac could no longer access the network. I fixed the problem by manually setting the DNS on it instead of using whatever the default was from the DHCP transaction.

Windows 2000 continues to work fine, but now, after resetting the modem, Gentoo seems to have the same problem that the Mac was having. I tried to use the same fix by putting the following in /etc/conf.d/net

dns_servers_eth0="205.171.3.65 205.171.2.65"

but that doesn't seem to work. How do I override the default dns? I know this should be Qwest's problem, but I'm weary of dealing with tech support, and it will be easier to convince them that it is their problem if I can make this work.

Thanks.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Tue Apr 01, 2008 5:32 am    Post subject: Re: DHCP with fixed DNS Reply with quote

jlady wrote:
How do I override the default dns?


Add the server to /etc/resolv.conf (nameserver IP_OF_THE_SERVER) and add

Code:
dhcp_eth0="nodns"


to /etc/conf.d/net.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
jlady
n00b
n00b


Joined: 07 May 2002
Posts: 17
Location: Seattle, WA

PostPosted: Wed Apr 02, 2008 4:58 pm    Post subject: Reply with quote

Thanks! That solved the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum