LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   when I login not as root, it does not connet to internet........ help (https://www.linuxquestions.org/questions/linux-networking-3/when-i-login-not-as-root-it-does-not-connet-to-internet-help-75627/)

broodman 07-24-2003 06:09 PM

when I login not as root, it does not connet to internet........ help
 
I have redhat 8.0, and I get a router connect to verzizon DSL modem.
when I login as root, I get connected to internet; but when I login as a norml user, I can not ..........

please help

lukas_z 07-25-2003 10:03 AM

I'm pretty sure this is matter of access permissions (to the device or connect script or whatewer is used during the connection process). I don't use DSL myself but i had the same problem with dialup. Look into syslog and search for "permission denied" or something similar, you should be able to identify what's wrong.

broodman 07-25-2003 10:59 AM

can you please tell me what to do in detail?
I don't know which syslog to look into,and there are many file have a name "syslog" or "*syslog*".

ppuru 07-25-2003 12:10 PM

login in as a non-root user

open a terminal, and type

su -c "tail -0f /var/log/messages"
you will be prompted for the root password.

now start try to connect to the net and note the messages on the terminal.

broodman 07-25-2003 03:44 PM

Hi, ppuru: I did what you said, in a non-root terminal, after I type su -c "tail -0f /var/log/messages" and I input root password, nothing happened. I can not even inout next command without "ctrl + c"; and I tried to connect internet but failed ..............
what can I do next?

ppuru 07-25-2003 11:24 PM

That is the correct behavior exhibited by the su command. It is supposed to list the contents being added to /var/log/messages till you break out of it.

When you tried to connect to the Internet, did you see any messages being displayed on the terminal?

Those messages will give you an understanding of why you are able to connect only as root.

broodman 07-26-2003 11:10 AM

thanks.
I tried again. and after I type "su -c "tail -0f /var/log/messages"" and my root password, I open a mozilla and try to connect to internet. but I did not see any message displayed in terminal ...........

ppuru 07-26-2003 12:06 PM

Where is the DSL modem installed? If it is a separate box, how is it connected to your system? via the ethernet port?

broodman 07-27-2003 11:13 AM

the DSL is connected to a router, which is connected to my ethernet port? does it make difference?

broodman 07-27-2003 11:13 AM

the DSL modem is connected to a router ........


All times are GMT -5. The time now is 07:24 PM.