#136 Need more PPPD flags in UI

PPP (15)

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"


  • Klaas van Gend

    Klaas van Gend - 2009-07-19

    I understand what you did, but I'm not happy with it.
    Let me think how to solve it differently.

    I don't believe that updetach should make a difference.
    This sounds like a serial connect/disconnect issue.

    Do you have the same problem with 0.10alpha2 ???

  • Eugene Korotkov

    Eugene Korotkov - 2009-07-19

    i dont test it with 0.10alpha2, but i just ran pppd from command line with updetach option and always got disconnect.
    in man i found that "With this option, pppd will detach from its controlling terminal once it has successfully established the ppp connection (to the point where the first network control protocol, usually the IP control protocol, has come up)."
    But i do not need to detach pppd. When i use KPPP all is ok and pppd always running.


Log in to post a comment.