PDA

View Full Version : User can Ping but can't Dig - Root works fine - any help?



Cuddles
12-24-2003, 09:54 PM
TearingHairOut,

Continuation of LTModem issue...

Background:
Root can dialout, use LTWinModem, and get to Web sites through Mozilla and Konqueror.
All other users can dialout, use LTWinModem, but can not get to Web sites through Mozilla or Konqueror.

Have checked Mozilla and Konqueror for Policy - not enabled.
THO...
Tried PING to address you gave me - worked perfectly.
Tried DIG to Knoppix address you gave me - FAILED.

Error returned by DIG:
;; connection timed out; no servers could be reached

BTW - Firestarter did get installed fine, with some pushing and pulling - but now it is having crashing problems when I am connected - I need to research this one...

Cuddles

tearinghairout
12-24-2003, 10:21 PM
Cuddles
I think I have it.
I was able to reproduce your situation on my PC.

You should have a file called /etc/resolv.conf

Check the output of ls -l /etc/resolv.conf
It should look something like this.

-rw-r--r-- 1 root root 87 Dec 24 11:50 /etc/resolv.conf
The bits we are interested in are the sequence of dashes, r's and w's at the front.

If yours does NOT look like the one above (I suspect yours will be something like -rw-------) then do a chmod 644 /etc/resolv.conf to change it. Of course you will need to logged in as root to change it.

Once you have it looking like the one above, then try konqueror/mozilla again as a non-root user. You should probably make sure that you exit and restart konqueror/mozilla after changing the file.

Re: firestarter, I can't really help you here. I have never used it myself.

Cuddles
12-25-2003, 02:13 AM
Attempt failed... THO

ls -l within the /etc location is something like this:

lrwxrwxrwx ... ---> /etc/dhcpc/resolv.conf

Note the ending - is this a "redirected" file ???

I tried the chmod but the same thing above stays unchanged.

I ALSO went into the /etc/dhcpc location - and a resolv.conf file exists in that location as well...

An ls -l on this file reported the "what you wanted it to look like" settings.
But I did a chmod 644 on this file as well, and a ls -l on this file afterwords, keeps the same settings you displayed as a target permissions.

At this point I left Root, logged in to my "normal" account, and tried a "dig" again - failed with the same return as I posted earlier.

Any ideas?
Cuddles

tearinghairout
12-25-2003, 03:19 AM
Hmmm, very strange.

I'm sort of clutching at straws here, but I did find another topic that seems to address this, and possibly how to fix it.

Have a look at http://www.knoppix.net/forum/viewtopic.php?t=2982#14057

Cuddles
12-25-2003, 03:27 PM
THO,

Looked at pre-post -=- I have all that they say - Users I create get the following Groups assisgned to them: audio, cdrom, dialout, dip, fax, floppy, games, knoppix, sudo, tape, usb, users, video, and voice.

Am I missing any groups? (Actually, "knoppix" was removed from the groups that AREN'T "knoppix" - I thought it rather redundant to get all my Users grouped together with other Groups that the User makes.)

Should the Users be a group of Root? Is a group I am not including supposed to give the User access to the Web? SOMEONE - We are standing at the edge here, Save me before I take the LAST step... [giggle] j/k

I would think I DON'T want to include a non-Root user into the Group "root" - wouldn't that defeat the purpose of having a user who isn't Root?

Only thing I can think of is the User is missing being included in a Group that gives them access to the Web? But, Other than the user not being apart of the Group Root, the users are identical, e.g. Root --> Cuddles -=- users.

Thanks, Anyone...
Cuddles
[ps] THO - thanks for all the help - I'm at wits end too.

[ppss] Where do I locate Screen Savers? [giggle] The debian site was down, so I couldn't search it, and it took me hours just to navigate FreshMeat to a listing of more than a thousand programs, all could not be "filtered" down to any single type -=- Linux, Screen Saver, Download -=- but continued to give me listings of everything. After ten screens of listings - I gave up.