LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   kppp and pppsetup in Slackware (http://www.linuxquestions.org/questions/slackware-14/kppp-and-pppsetup-in-slackware-44630/)

hkslacker 02-08-2003 07:25 PM

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

Excalibur 02-08-2003 07:49 PM

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.

hkslacker 02-10-2003 11:09 PM

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

php 02-11-2003 11:11 AM

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?

hkslacker 02-11-2003 11:29 AM

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


All times are GMT -5. The time now is 03:23 PM.