Comment 0 for bug 330116

Revision history for this message
pauls (paulatgm) wrote : kde 4.2 kppp not workin

kppp on kde 4.2 in jaunty does not work due to 2 problems.

First, launching it from the menu results in the kppp window, but it does not access the existing ~/.kde/share/config/kppprc file, so does not work. If I launch it from konsole, it will access the config file and work ok.

Second, when it dials and trys to run ppp0, it complains it can't find ppp0 or open /etc/resolv.conf.

paul :~$ kppp
Opener: received SetSecret
Opener: received SetSecret
Opener: received OpenLock
kppp(1297) Modem::opentty: Opening Device: "/dev/modem"
Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 1363
Kernel supports ppp alright.
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
It was pppd that died
pppd exited with return value 16
Sending 1297 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
error opening resolv.conf!
Opener: received RemoveLock
Opener: received PPPDExitStatus
Opener: received PPPDExitStatus

Apparently, it has the wrong executable permissions. On kde 3.x, kppp was always:

paul :~$ ls -l /usr/kde3/bin/kppp
-rwsr-xr-- 1 root dip 661392 2008-12-30 14:32 /usr/kde3/bin/kppp

But, on kde 4.2, its not suid nor group dip:
paul :~$ ls -l /usr/bin/kppp
-rwxr-xr-- 1 root root 652968 2009-02-05 18:24 /usr/bin/kppp

If I change the ownership and permissions, then kppp works fine.