LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2011, 01:02 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
Debian doesn't remember DNS settings


on every boot, I have to enter DNS address again.
this problem started with latest update to debian64 testing
how to solve it?
 
Old 05-05-2011, 01:08 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Does this help:
http://wiki.debian.org/NetworkConfig...lvconf_program
 
1 members found this post helpful.
Old 05-05-2011, 01:25 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
there is already line "dns-nameservers 12.34.56.78 12.34.56.79"
in /etc/network/interfaces
I'm using static IP settings.

that file also has this note " # dns-* options are implemented by the resolvconf package, if installed"
however, package resolvconf is NOT installed. should it be?
 
Old 05-05-2011, 02:09 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally Posted by qrange View Post
there is already line "dns-nameservers 12.34.56.78 12.34.56.79"
in /etc/network/interfaces
I'm using static IP settings.

that file also has this note " # dns-* options are implemented by the resolvconf package, if installed"
however, package resolvconf is NOT installed. should it be?
If your using static settings you should be able to simple enter your name servers in /etc/resolv.conf. Unless this is what is getting overwritten your all set.
 
Old 05-05-2011, 02:23 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Are you sure that DHCP is really disabled? I'd suggest to check if dhcpcd (or which program Debian uses) really doesn't run when the system is started. Since you wrote that you updated your system it may be that any local configurationfiles have been overwritten.

If you have dhcpcd, you can prevent it from overwriting /etc/resolv.conf with an additional line in the dhcpcd.conf file
Code:
nohook resolv.conf
Markus
 
Old 05-05-2011, 02:58 AM   #6
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
/etc/resolv.conf:
---
# Generated by NetworkManager
nameserver 12.34.56.78
nameserver 12.34.56.78
---


dhcp is not in 'ps -ef'


edit: er.. solved, by installing the package 'resolvconf'. should have done that after reading your first reply.

Last edited by qrange; 05-10-2011 at 08:44 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC doesn't save settings. Debian 5.0 used to work until update joebpa Debian 1 07-07-2009 07:49 AM
Fedora 10 won't remember DNS settings on reboot Laserjock Linux - Newbie 6 03-31-2009 09:29 AM
Debian Ditches DNS settings hugeness Debian 1 07-24-2007 07:11 PM
KDE doesn't remember sound settings DaFrEQ Linux - Software 4 10-17-2004 08:34 PM
ALSAmixer does not remember settings? Pwcca Linux - Software 3 08-05-2003 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 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