LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2003, 07:09 PM   #1
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Rep: Reputation: 15
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
 
Old 07-25-2003, 11:03 AM   #2
lukas_z
LQ Newbie
 
Registered: Jul 2003
Location: Czech Republic
Distribution: Mandrake 9.1
Posts: 18

Rep: Reputation: 0
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.
 
Old 07-25-2003, 11:59 AM   #3
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Original Poster
Rep: Reputation: 15
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*".
 
Old 07-25-2003, 01:10 PM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 07-25-2003, 04:44 PM   #5
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Original Poster
Rep: Reputation: 15
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?
 
Old 07-26-2003, 12:24 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 07-26-2003, 12:10 PM   #7
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Original Poster
Rep: Reputation: 15
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 ...........
 
Old 07-26-2003, 01:06 PM   #8
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Where is the DSL modem installed? If it is a separate box, how is it connected to your system? via the ethernet port?
 
Old 07-27-2003, 12:13 PM   #9
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Original Poster
Rep: Reputation: 15
the DSL is connected to a router, which is connected to my ethernet port? does it make difference?
 
Old 07-27-2003, 12:13 PM   #10
broodman
Member
 
Registered: Jun 2003
Location: NYC
Distribution: redhat 8.0
Posts: 32

Original Poster
Rep: Reputation: 15
the DSL modem is connected to a router ........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
disallow ssh root login only from internet wensveen Linux - Security 10 03-21-2005 08:34 AM
Can't boot into solaris and can't connet to internet aeruzcar Solaris / OpenSolaris 11 01-25-2005 04:27 PM
Mandrake 10: Internet and Root Login Problem Markes Mandriva 6 01-22-2005 06:22 PM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration