LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-22-2011, 02:35 AM   #1
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
DNS Servers


Please can someone advise how I can change my DNS servers for PCLinux OS 2011 Gnome? I use a DSL ppp0 connection type.

I found a post elsewhere suggesting to specify the addresses in:

cat /etc/sysconfig/network-scripts/ifcfg-ppp0

Now the thing is I can bring this up in the terminal but when I look in my etc, there is no sysconfig folder? Can I somehow edit this in terminal, or do I need to look somewhere else for the ppp0 file?

I have already made a manual entry for DNS servers in my network settings, but although clearly displayed, it is ignored.
 
Old 12-22-2011, 02:47 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
I am not familiar with PCLinux OS, but a quick google search suggests the interfaces ARE configured by that method.

Are you trying to edit the file as root?
 
Old 12-22-2011, 03:15 AM   #3
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for responding. I know how to edit the file as root assuming I can find it, but as per my other post, there is no Sysconfig folder in my etc. If I can edit this and save it via the terminal I'll need someone please to tell me how?
 
Old 12-22-2011, 03:23 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hi,

on most systems you'll find the nameserver entries in /etc/resolv.conf
Every entry has the syntax
Code:
nameserver 8.8.8.8
where 8.8.8.8 is an example.

But note that if your distribution uses dhcpcd it will overwrite the manually configured nameserver while the next system-start. In this case you'll have to edit the configurationfile for dhcpcd and add "nohook resolv.conf".

Markus

Last edited by markush; 12-22-2011 at 03:26 AM.
 
Old 12-22-2011, 03:26 AM   #5
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
There is a folder: /etc/resolv.conf - but no files in it.
 
Old 12-22-2011, 03:27 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
A folder or a file???

Markus
 
Old 12-22-2011, 03:32 AM   #7
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
The folder:/etc/resolv.conf contains just one sub folder called update-libc.d, in which there is the avahi-deamon and nothing else.
 
Old 12-22-2011, 03:37 AM   #8
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
This is the thread where I found the original information.

http://www.pclinuxos.com/forum/index...c,93278.0.html

If you follow it through you can see this person also had the same problem, and also the not very helpful answer.
 
Old 12-22-2011, 03:38 AM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
I don't seem to find any valuable information about PCLinuxOS in the internet. Is the distribution still supported?

Markus

Last edited by markush; 12-22-2011 at 04:14 PM.
 
Old 12-22-2011, 03:43 AM   #10
PrimeSuspect
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I'm not sure what the exact situation is regarding Gnome. The PC LinuxOS Gnome forum now links to here instead:

http://linuxgator.org/

This was where I found the link for the 2011 Gnome download because I didn't like the look of their Zen option.
 
Old 12-22-2011, 04:12 PM   #11
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,199

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
Gnome?

Gnome is just a desktop and has nothing to do with DNS or name resolution.
This PARTICULAR site relates to gnome for your distro. It may hold a link to a more useful site.

I would Check the forums, FAQ, and documentation there to see if it matches your system.
I would also search (Google) for how-to documents on network for PCLinux to see if your subject has already been covered elsewhere.

I will when I have time and opportunity, and will try to update this thread if I find anything useful.

Last edited by wpeckham; 12-22-2011 at 04:16 PM.
 
Old 12-22-2011, 04:47 PM   #12
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by PrimeSuspect View Post
The folder:/etc/resolv.conf contains just one sub folder called update-libc.d, in which there is the avahi-deamon and nothing else.
There is something badly wrong there; I have never seen /etc/resolv.conf be anything other than a file. There are several things that can overwrite that file, including ppp, which you seem to be using, but if the file is dynamically overwritten, there is a comment included in the file to say which app has overwritten it, so that would normally be clear when the file is examined.

You haven't had any unclean shutdowns which could have lead to corruptions, have you? Otherwise I'm a bit mystified about resolv.conf being a directory and its contents.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
replace the existing dns servers with OPEN DNS servers in fedora 13 z99 Linux - Newbie 3 03-23-2011 09:29 AM
DNS Questions Multiple DNS Servers with single domain linuxcrazyguy Linux - Networking 1 01-27-2009 12:21 PM
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 09:19 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM


All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration