SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.