haldrik
asked on
"Host Not Found" error w/ non-root KPPP
Hi!
I just installed JAVA and got it running so I could (don't laugh)
play Yahoo games online and use a gnutella program.
Well, now I have a weird problem (that just started today, which is
why I think it has something to do with my Java installation:
When I dial into my ISP using KPPP (non-root), everything seems to work fine
until I try to access the internet, and I get a "host not found" error.
I also can't access my pop mail server, so the whole name lookup
function seems to be lost. However, if I do pull up a termainal,
"su root" and then use KPPP, I AM able to access the internet and
nameserver stuff doesn't cause an error! I don't get it!
Incidentally, when I tried to dial the first time after installing
Java, I got this "can't open lock file" type of error, which I
haven't seen for years...could it be that some permissions were
reset on some items? How can I fix???
THanks!
I just installed JAVA and got it running so I could (don't laugh)
play Yahoo games online and use a gnutella program.
Well, now I have a weird problem (that just started today, which is
why I think it has something to do with my Java installation:
When I dial into my ISP using KPPP (non-root), everything seems to work fine
until I try to access the internet, and I get a "host not found" error.
I also can't access my pop mail server, so the whole name lookup
function seems to be lost. However, if I do pull up a termainal,
"su root" and then use KPPP, I AM able to access the internet and
nameserver stuff doesn't cause an error! I don't get it!
Incidentally, when I tried to dial the first time after installing
Java, I got this "can't open lock file" type of error, which I
haven't seen for years...could it be that some permissions were
reset on some items? How can I fix???
THanks!
ASKER
Mandrake 8.2.
I'll have a look at this tonight and see if I can give myself permission again on this file and if that helps...I'll let you know!
I'll have a look at this tonight and see if I can give myself permission again on this file and if that helps...I'll let you know!
It's been a while since I had an occasion to use KPPP, but my recollection is that KPPP needs to be suid to root in order to fully set up the system when invoked by other than root.
ASKER
Well, I think I got it working, (changed permissions of the resolv.conf to 777 ) but there still seems to be something wrong:
The resolv.conf file is an exact copy of the fstab file , but without any server info. Then, once when I used KPPP as root, the file was modified with two lines of server information at the bottom. But then when I dialed in as a regular user and looked at the file again, it was again an exact replica of the fstab file. Does this file get continually updated and are /dev/hda and other hard drives normally a part of it???? Is it possible that the Yahoo games Java applet (or the java setup itself) could be changing things? I know this may sound nuts, but thats the only thing I've changed before all their weirdness started.
The resolv.conf file is an exact copy of the fstab file , but without any server info. Then, once when I used KPPP as root, the file was modified with two lines of server information at the bottom. But then when I dialed in as a regular user and looked at the file again, it was again an exact replica of the fstab file. Does this file get continually updated and are /dev/hda and other hard drives normally a part of it???? Is it possible that the Yahoo games Java applet (or the java setup itself) could be changing things? I know this may sound nuts, but thats the only thing I've changed before all their weirdness started.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, you were right...the resolv.conf file seems to have been a symlink to the fstab file (I'm the only one using the computer, so I guess it must have been me! Couldn't tell you how I managed to mess that up, though...)
THanks!
THanks!
Dunno how you'd have done that by accident, but at least it's fixed now.
What version of Linux is this?