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.
A bit of an odd thing happening. Whenever I connect to the Internet through KPPP as root - No problems. Browse the Internet etc fine.
However, when I use KPPP as a regular user, I can connect fine. Connection is established and my time is ticking away. When I try to use any web browser no web site can be retrieved.
Any ideas? I have a feeling it's a permissions thing, but I thought I'd sorted that out when I was able to connect as a user. I just don't feel confortable browsing the web as root. I also want to get my partner set up on Linux and it would just be an added complication for her.
Run kppp as root, connect and then open a terminal and type
ifconfig
and
route
Close the connection. Now run kppp as normal user and do the same. Please post the result to the forum.
As a normal user and connected, if you can ping another ip address directly then check the /etc/resolv.conf nameserver settings between root and the user. They should have the same settings when connected.
Here is the listings I obtained. Sorry it's taken me so long to post:
As root:
#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:62.136.49.45 P-t-P:195.92.64.63 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:1 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:64 (64.0 b) TX bytes:97 (97.0 b)
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
praseodymium.le * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo
default praseodymium.le 0.0.0.0 UG 0 0 0 ppp0
----
As a regular user:
$/sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:62.136.29.5 P-t-P:195.92.64.34 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:1 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 b) TX bytes:61 (61.0 b)
$/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.92.64.34 * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo
default 195.92.64.34 0.0.0.0 UG 0 0 0 ppp0
A far as I can see, the only difference between the two sets of data is that the default Gateway from route as a user is different to the one set as root.
I set up Kppp twice, Once through KDE as root, then again as a normal user. I did exactly the same thing both times.
I use Freeserve to connect.
Is any of this information useful? I just can't understand it.
It looks OK. Everything's fine. It looks as a DNS issue. Log in as a normal user and connect. Open any browser and try to connect to 64.179.4.146. It should bring you to this site. If it works, open /etc/resolv.conf and see what you have inside. If it's empty when you're normal user, conenct as root and copy it in a safe place, disconnect, copy as resolv.conf and connect as normal user.
I copied the contents of resolv.conf as root into my normal user's resolv.conf and all worked perfectly, browser-wise.
For some reason root gets two extra temporary nameservers when KPPP connects, whilst my user gets only one temporary nameserver that was identical to the nameserver KPPP connected with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.