LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2003, 01:46 AM   #1
sadhanandh
LQ Newbie
 
Registered: Sep 2003
Location: Chennai, India.
Distribution: RedHat
Posts: 11

Rep: Reputation: 0
Access restrictions in Redhat to connect to the web


Hi all

I seem to have some access problems in Redhat 9.0 (Shrike). I have created a normal user who belongs to the 'users' group. I have also created a KPPP connection to my ISP. The following steps would help you to diagnose the problem.

1. The user, clicks on the KPPP icon in the KDE menu
2. The authentication dialog opens up
3. The user gives the root password and clicks on 'Ok'.
4. The KPPP dialog opens up.
5. He/she clicks on 'Connect' button in the KPPP dialog.
6. KPPP dials up the ISP, and initiates a connection.
7. The log window says, connected.
8. The user opens up Mozilla / Konqueror.
9. He tries to open a site, say "www.yahoo.com"
10. Mozilla / Konqueror tries for a couple of seconds/minutes and says unable to open page.

The same sequence of events if run from a terminal after 'su' ing, takes place correctly. i.e. the user is able to access the web sites in root mode.

I tried writing a file "/etc/kppp.allow" and adding the users name to this file, but to no avail.

I tried to create a group "dialout" and added the user to this group and then 'chown'ed the "/usr/share/bin/kppp" file to this group, again to no avail.

Your help in this regard will be greatly appreciated.
 
Old 11-18-2003, 02:00 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Can you ping www.yahoo.com ?
What does /sbin/ifconfig display after you've dialed?
 
Old 11-18-2003, 07:25 AM   #3
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268

Rep: Reputation: 30
i am glad you can access the internet because i cannot becuase i do not have a linux compatable modem but a winmodem, its a right pain
 
Old 11-18-2003, 09:09 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by 8nasmith
i am glad you can access the internet because i cannot becuase i do not have a linux compatable modem but a winmodem, its a right pain
Again, useless. Why did you post this if its not an actual answer to this person question? If you have your own questions, you should ask them in their own threads.

Thanks.
 
Old 11-18-2003, 10:56 PM   #5
sadhanandh
LQ Newbie
 
Registered: Sep 2003
Location: Chennai, India.
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all

Can anyone be more specific about my problem. I have tried to be specific, and I would expect the same in return.

I really appreciate Azmeen's answer. I shall have to try them on my machine and then return with the answers.

But again, trying not to be hasty, I welcome any answer that would throw light on the subject.

Regards...
 
Old 11-19-2003, 01:53 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Without responding to my earlier questions any other suggestions are useless.

Those two steps are the bare minimum that you need to do before we can diagnose your problems further.
 
Old 11-19-2003, 10:40 PM   #7
sadhanandh
LQ Newbie
 
Registered: Sep 2003
Location: Chennai, India.
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

I tried connecting through KPPP dialer. It connected but again was unable to browse or email. Then I noticed something in the terminal. KPPP messages, showing that the device ppp0 was not found and so on. Then I went to the Network Devices control panel, and activated the ppp0 device. It dialed the ISP and now I was able to connect to the internet. But these were done again as a root.

When I connected via the KPPP dialer, I ran the /sbin/ifconfig. It displayed the three connections or devices connected. eth0, lo, and ppp0. All showed their respective IP addresses and domain ip's. Some one else suggested nslookup. I ran that too, but it told me that it was deprecated and I had to run host. I was unable to interpret the results.

I was also unable to ping www.yahoo.com when connected using KPPP dialer.
 
Old 12-11-2003, 05:12 AM   #8
sadhanandh
LQ Newbie
 
Registered: Sep 2003
Location: Chennai, India.
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

Can anybody throw some light here!!!
 
  


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
How connect to the web with ADMtek USB ethernet converter in Redhat 9 CluelessNewbie Linux - Networking 0 02-18-2004 01:39 AM
Restrict web access using proxy in redhat 9 xeondavis Linux - Security 1 12-15-2003 04:51 PM
User and Group access restrictions? KendersPlace Linux - Security 1 08-20-2003 06:32 PM
How to remove FTP access restrictions goodman Linux - Newbie 4 08-16-2003 07:07 PM
redhat 8 external web access problems shaefner Linux - Networking 1 12-06-2002 07:53 PM


All times are GMT -5. The time now is 10:19 AM.

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