LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-08-2003, 07:25 PM   #1
hkslacker
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware 8.1
Posts: 9

Rep: Reputation: 0
kppp and pppsetup in Slackware


Hi all!

Was just trying out the Slackware Distro and was trying to figure out how to do a few things as a normal user and not root.

I can get kppp to dial out as a normal user, but the browser won't make the connection to the internet. Kppp works fine as root: no problems with the browser connecting.

Is there something I'm missing on how to set up kppp as a normal user. I'm used to Debian Linux and dialing out as root while running X as a normal user. Apparently, I can't do this in Slackware?

And what about pppsetup? My ISP has Dynamic configuration for the nameserver instead of static. But pppsetup only asks for the ip for the nameserver not allowing an option for dynamic configuration. Is there a way to set up pppsetup to work around this problem?

Thanks for any help,

Hank
 
Old 02-08-2003, 07:49 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I suspect you may have answered your own question in a way. The problem may be with the permissions of the DNS server assignment config for a normal user. The file is /etc/resolv.conf. It should include at a minimum at least one DNS assignment.

nameserver xxx.xxx.xxx.xxx

Where the xxx's are the IP address of the DNS server. The line can be specified multiple times if desired. It may be that permissions have been set for a normal user when dialing in, but then the DNS assignments are not able to be set. Try "chmod 666 /etc/resolv.conf"

You could also just dialup as root where everythings works OK. View the resolv.conf file settings for the IP addresses and then disconnect and then edit the regular resolv.conf for the new settings.

Last edited by Excalibur; 02-08-2003 at 07:50 PM.
 
Old 02-10-2003, 11:09 PM   #3
hkslacker
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware 8.1
Posts: 9

Original Poster
Rep: Reputation: 0
Well, your info set me on the right track. I can use the Run command and then use options to run kpp as another user: root in this case. The web browsers were then able to access the internet. I tried the chown 66 /etc/resolv.conf: but that didn't help.

Thanks,

Hank
 
Old 02-11-2003, 11:11 AM   #4
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 824

Rep: Reputation: 30
Re: kppp and pppsetup in Slackware

Quote:
Originally posted by hkslacker

My ISP has Dynamic configuration for the nameserver instead of static. But pppsetup only asks for the ip for the nameserver not allowing an option for dynamic configuration. Is there a way to set up pppsetup to work around this problem?
I highly doubt your isp has dynamic configuration for their nameservers... they might automatically assign you an ip address upon connection, but they dont have dynamic dns #s.. what isp do you use?
 
Old 02-11-2003, 11:29 AM   #5
hkslacker
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware 8.1
Posts: 9

Original Poster
Rep: Reputation: 0
Dynamic configuration

Well, let me clarify the matter.

I use pppsetup in Slackware 8.1

PPP asks me this question:

What is the IP address of your Internet Provider's nameserver?

kppp setup asks me for Dynamic or Static Configuration. I choose dynamic and it works.

with pppsetup I enter the static IP address--I have no other option.

ifconfig shows that I have a ppp0 connection after using ppp-go. But ncftp, lynx, etc give the message "unknown host."

Somethings not right. I don't know what it is. I wish pppsetup had the option of Dynamic Configuration.

Hank
 
  


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
KPPP vs ppp-go in slackware pj320 Linux - Networking 1 07-26-2005 06:24 PM
HELP!!! PPPSetup and other Internet Problems - Slackware 10 mmarkvillanueva Linux - Networking 1 06-02-2005 04:03 AM
Slackware - pppsetup - dial-up connection Sader Slackware 2 01-21-2005 10:42 AM
pppsetup messes up kppp, then gnome slackist Slackware 0 08-28-2004 08:24 AM
pppsetup v. KPPP in dial-up use rich442 Slackware 7 04-15-2003 07:27 PM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration