Click to See Complete Forum and Search --> : Can't access Internet from anyone but root


mka
01-01-2001, 07:50 PM
My RH 6.0 system suddenly started to not let me access the Internet or email from usres other than root.

I have no idea why this is happening. I updated my system with some RPMs but I don't think they were anything related to connectivity.

Any help is appreciated!

THANKS!

------------------
mka

George W. Bush: "A key to foreign policy is to rely on reliance."

theoenophile
01-01-2001, 07:57 PM
1. Need some more information:

what were the rpms??
Dialup mode?? KPPP, PPP
Acess via household LAN/DSL??

Did you change any permissions lately?

mka
01-01-2001, 08:25 PM
I am using a cable modem direct from my computer (no firewall, etc). I connect using DHCP

The rpms I installed were:

slocate-2.4-0.6.x.i386.rpm
ed-0.2-19.6x.i386.rpm
tcsh-6.10-0.6.x.i386.rpm
rpm-3.0.5-9.6x.i386.rpm
rpm-devel-3.0.5-9.6x.i386.rpm

I did change permissions recently on some files but I did not have problems immediately following that. It just happened now. Anyway, the files were for logs I think.

Anyway, if I messed up something I neede to connect, you would think root couldn't get on either!

DOH!

------------------
mka

George W. Bush: "A key to foreign policy is to rely on reliance."

CP
01-02-2001, 02:30 AM
Are you using KDE. If so I had the same problem. I couldn't get the KDE dialer, KPPP, to work. So I switched to RedHat dialer, went first time, as any user. Just a thought.

mka
01-02-2001, 07:03 PM
Nope, it's independent of KDE, but thanks for the input!

Someone mentioned that it might be a permissions problems on a file.

Anyone have any idea what files I might want to check??

Thanks!

------------------
mka

George W. Bush: "A key to foreign policy is to rely on reliance."

lad24mx
01-02-2001, 07:28 PM
i think the file your looking for is /dev/modem check there for the right permissions

mka
01-02-2001, 08:45 PM
I'm using a cable modem, so I'm not sure if /dev/modem is applies does it?

Anyway, here it is:


[root@aeon /root]# ls -l /dev/modem
lrwxrwxrwx 1 root root 5 May 11 1999 /dev/modem -> ttyS1
[root@aeon /root]# ls -l /dev/ttyS1
crw------- 1 root tty 4, 65 May 5 1998 /dev/ttyS1


Does that look right?

------------------
mka

George W. Bush: "A key to foreign policy is to rely on reliance."

mka
01-02-2001, 11:39 PM
I found out what was causing my problem. We were all on the right track, but it took a fellow named odo on #LinuxHelp on irc.linux.com to figure it out.

Seems like I had my umask set as 077. So dhcp would change the rights to /etc/resolv.conf to -rw------- everytime.
The rights need to be -rw-r--r-- for other users to access the connection.

Thanks for all the help!