Im trying to connect to my operator and always got disconnect from pppd. I compare flags with my KPPP(works fine) and found "updetach" differences.
I comment out this flag in PPPConnection.cpp and pppd starts fine, but i always got error dialog with no stdout and stderr information.
kdbg helps me to find place in PPPConnection::isPPPDConnected function:
if (myPID == theRunningPPPDPID)
// euh? finished *and* still running?
// that means we have a zombie
// - process is dead, we have to reap it...
myPID = -1;
I comment it out and now all works fine.
Solution: when "updetach" flag is not set do not verify "is pppd finished"