resolv.conf file under suse 7.3 (a fix)
Hi I have just installed Suse 7.3 and found that while internet dial up worked great, I got a host not found error in the web browser, anyway I managed to fix it and decided to post the fix to the group so others may benefit. The message given when clicking on internet dialer which told me I needed a /etc/resolv.conf file with the appropriate permissions. I was told to ask my system admin to do this, (this is great if the user is in a establishment where there is one, but for home users and beginners it can cause a slight problem). I created this (as root), and tried again and the problem was still there, looking at the permissions I had -rw-r--r-- with the owner as root. so I decided to change this to -rw-rw-rw or if right clicking on the file and looking at the table it now gives. Class read write exec user x x group x x others x x (this should be chmod 666 resolv.conf) this now seems to work, just by adding write permission to group and others. I am using the konquror browser, and can now look at web pages. I hope this is of help to anyone in the group who may be experiencing problems. Paul
On Mon, 26 Nov 2001, Paul Sutton wrote:
The message given when clicking on internet dialer which told me I needed a /etc/resolv.conf file with the appropriate permissions. I was told to ask my system admin to do this, (this is great if the user is in a establishment where there is one, but for home users and beginners it can cause a slight problem). I created this (as root), and tried again and the problem was still there, looking at the permissions I had -rw-r--r-- with the owner as root. so I decided to change this to -rw-rw-rw or if right clicking on the file
Probably worth mentioning that this is not a solution that should be used on any "public" box since those permissions will allow anyone to fake any address of their choosing by misdirecting your resolver. A "better" solution would be for the dialer to have a setuid helper that could write to /etc/resolv.conf. I can't remember off-hand whether or not pppd will do this itself. Michael
On Mon, Nov 26, 2001 at 11:05:29PM -0000, Paul Sutton wrote:
Hi
I have just installed Suse 7.3 and found that while internet dial up worked great, I got a host not found error in the web browser, anyway I managed to fix it and decided to post the fix to the group so others may benefit.
The message given when clicking on internet dialer which told me I needed a /etc/resolv.conf file with the appropriate permissions. I was told to ask my system admin to do this, (this is great if the user is in a establishment where there is one, but for home users and beginners it can cause a slight problem).
I created this (as root), and tried again and the problem was still there, looking at the permissions I had
-rw-r--r-- with the owner as root.
so I decided to change this to -rw-rw-rw or if right clicking on the file and looking at the table it now gives.
Class read write exec user x x group x x others x x
(this should be chmod 666 resolv.conf)
this now seems to work, just by adding write permission to group and others.
I am using the konquror browser, and can now look at web pages.
I hope this is of help to anyone in the group who may be experiencing problems.
Paul
You should put uklinux's nameservers in resolv.conf by hand IMO. Your resolv.conf should look something like: search uklinux.net nameserver 80.84.72.20 nameserver 212.1.128.156 If it does then you shouldn't need the open permissions to allow your dialer software to change it. It's worth getting to grips with how name resolution works on a box without Bind running on it. It's all explained in the PPP-HOWTO in the section: 10. Setting up Name to Address Resolution (DNS) If you cut out all the GUI business then you're in a better position to troubleshoot when things go wrong, again IMHO. -- Frank *-*-*-*-*-*-*-*-*-*-* Boroughbridge. Tel: 01423 323019 --------- PGP keyID: 0xC0B341A3 *-*-*-*-*-*-*-*-*-*-* http://www.esperance-linux.co.uk/ All things are possible, except for skiing through a revolving door.
participants (3)
-
Frank Shute
-
Michael Brown
-
Paul Sutton