Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
seasonsOffline
Post subject: [SOLVED] dhcp nameserver configuration  PostPosted: 18.10.2010, 18:05



Joined: 2010-09-13
Posts: 92

Status: Offline
I want to use Google's DNS servers, because they're faster and work better (less errors) than my ISP's (comcast) DNS servers.

How do I get dhclient to stop overwriting my resolv.conf every time the network interface is brought up?

Thanks


Last edited by seasons on 22.10.2010, 03:01; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
HeSaidOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 18.10.2010, 18:11
Moderator


Joined: 2010-09-11
Posts: 56
Location: southwest Florida, USA
Status: Offline
You didn't say if you are wired or wii, but nevertheless, you can use ceni to configure your DNS servers. The info is in the aptosid manual here:
http://manual.aptosid.com/en/internet-connecting-en.htm#netcardconfig.
I am a comcast subscriber, also, and I use OpenDNS for primary and secondary and google for the tertiary servers.
--
Neal

_________________
Registered Linux User # 159445
aptosid 64-bit Lenovo Thinkpad Edge
aptosid 64-bit HP dv6000 laptop
aptosid 32-bit eeePC 900A
 
 View user's profile Send private message  
Reply with quote Back to top
seasonsOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 18.10.2010, 19:04



Joined: 2010-09-13
Posts: 92

Status: Offline
Hi Neal. I'm using wireless USB, and I tried ceni, but it didn't show the DNS field as shown in the manual.
 
 View user's profile Send private message  
Reply with quote Back to top
HeSaidOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 18.10.2010, 21:33
Moderator


Joined: 2010-09-11
Posts: 56
Location: southwest Florida, USA
Status: Offline
Does ceni start up showing your USB wireless?
Highlight it, <enter>,
remove configuration for wlan0 (or ra0 or whatever it's called). <enter>
then SCAN <enter>,
choose your desired access point, highlight and <enter>.
First screen should have the line for DNS entries, separate them with a space.

You can also install wicd network manager instead of ceni. It has a gui layout and an n-curses screen. wicd runs via daemon, so you can reboot after install to get it started.
--
Neal

_________________
Registered Linux User # 159445
aptosid 64-bit Lenovo Thinkpad Edge
aptosid 64-bit HP dv6000 laptop
aptosid 32-bit eeePC 900A
 
 View user's profile Send private message  
Reply with quote Back to top
seasonsOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 19.10.2010, 01:33



Joined: 2010-09-13
Posts: 92

Status: Offline
Neal, that's why I did, but I only see the following fields on the dialog:
Method (dhcp selected)
Class (allow hotplug selected)
IP
Network
Gateway
Netmask
Broadcast

Since this is my home desktop and always has the same settings, I really prefer not to use a network manager and configure manually through .conf files. I will read the man page for dhclient.conf more closely when I'm not ill and can concentrate better.
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject: RE: dhcp nameserver configuration  PostPosted: 19.10.2010, 15:51
Team Member


Joined: 2010-08-26
Posts: 170

one bild tells more then 1000 words

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
seasonsOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 19.10.2010, 17:14



Joined: 2010-09-13
Posts: 92

Status: Offline
@x-un-i: Read the post above yours. The screenshot is almost the same as what I see, except I'm not offered any DNS input fields. Thanks anyway.
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 19.10.2010, 19:42



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
seasons,
is the package resolvconf installed?

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
seasonsOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 20.10.2010, 03:16



Joined: 2010-09-13
Posts: 92

Status: Offline
Hi devil, IIRC, I removed resolvconf because it kept overwriting my manual changes, and wouldn't prepend the lines I wrote in the head file. I'm still not feeling well, so I'll look into it more deeply later this week.
 
 View user's profile Send private message  
Reply with quote Back to top
seasonsOffline
Post subject: RE: dhcp nameserver configuration  PostPosted: 22.10.2010, 03:00



Joined: 2010-09-13
Posts: 92

Status: Offline
Ok, I installed resolvconf and added my lines to the /etc/resolvconf/resolv.conf.d/head file, and everything worked well. Thanks to all.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio