LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2006, 03:12 AM   #1
henrnorl
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
Cannot change nameserver IP addresses


Hi!

My Debian Linux doesn't get on the internet, but it can ping the internet provider's gateway 192.168.0.1.

I found that the settings in /etc/resolv.conf was wrong:
nameserver 193.216.69.12
nameserver 193.216.1.12

I changed it to what it should be, and saved it as root:
nameserver 193.216.69.10
nameserver 193.216.1.10

When I run "/etc/init.d/networking restart" the numbers change back to 193.216.69.12 and 193.216.1.12.

Question 1: How do I change the nameserver IP?

Question 2: Are there other possible reasons why I don't get on the internet? I did before...
 
Old 11-03-2006, 04:33 AM   #2
ele0100443
LQ Newbie
 
Registered: Oct 2006
Location: Sokoto, Nigeria
Distribution: RedHat, Mandrake
Posts: 15

Rep: Reputation: 0
Unhappy

I am afraid you cant change it except if you did a new installation.
Even if you happen to do it your machine will became very slow
 
Old 11-03-2006, 07:32 AM   #3
fireant
LQ Newbie
 
Registered: Nov 2006
Location: Dalmatovo, Russia
Distribution: Debian GNU Linux Sarge
Posts: 26

Rep: Reputation: 15
I think your problem may depends on resolvconf package. I mean, resolvconf change /etc/resolv.conf behind your back.

Check whether resolvconf installed on your system, try to remove package, or properly configure it.

And, do you use dhcp to assign IP from provider?
 
  


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
netconfig doesn't change nameserver?? zeeple Linux - Networking 11 09-09-2006 11:50 AM
Change IP Addresses civicsi Linux - Newbie 3 04-23-2004 01:21 PM
change nameserver in suse8.2 AgedNoob Linux - Networking 1 03-14-2004 12:41 PM
change nameserver domain on ssh ? maxboost Linux - Networking 1 10-07-2003 11:57 PM
Server assigned nameserver addresses jrdioko Linux - Newbie 6 10-03-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 AM.

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