Click to See Complete Forum and Search --> : Kppp Problem


ViMan
08-02-2002, 11:23 AM
My modem by defaults uses the interface ppp0. I use kppp to connect to the net with no problems. However, whenever I leave a batch job to run (ex. wget and use killall -9 pppd) to kill the pppd daemon, I get a problem when trying to run kppp. It runs normally but when it tries to connect, it tells me (in the terminal from which I ran it from): "Couldn't find interface ppp1: No such device" while telling me in the kppp window: "Logging onto Network" If I tell kppp to disconnect and then connect again, I have no problems. Why is it looking for the device on ppp1 when the device is on ppp0? Any ideas how to solve this problem? Thanks for your time...

slapNUT
08-02-2002, 05:10 PM
You should use kppp -k to terminate the connection.

killall -9 pppd is probably leaving a pid file somewhere (probably /var/run/ppp0.pid) that pppd sees and thinks there is a ppp0 session running so it starts ppp1.

rapture
08-02-2002, 05:55 PM
I believe the .pid file is located in, ~/.kde/share/apps/kppp, well at least that the where it is on my machine. I've had this problem before. So I would recommend that you use kill -15 instead of kill -9, unless using kppp -k is the same wa I suggested. Anyways, hope this helps some.

ViMan
08-03-2002, 08:35 AM
Thanks. Both solutions work :D