I would imagin that you can disconnect from the internet by killing the pppd process (and the wvdial process if required).
killall -HUP pppd Or run the ppp-off script (if that is what you have as you mentioned in your mail). -Naren On Wed, 13 Feb 2002, K. Ghosh wrote: > Naren Devaiah wrote: > > > > There should be a lock file that was not deleted when you bailed out from > > the session. > > > > Usually lock files are located in /var/lock (and then possibliy under a > > subdirectory there). The naming convention also varies between apps but > > generally it would be something like 'lock..ttyS0'. > > > > Search for anything that has ttyS0 and delete that file. > > > > This should allow you to use the modem. > > > > -Naren > > You were absolutely right. I found the culprit as a stale pid > /var/run/pppd.tdb. > Deleting this file brought up my modem right away. Got the location > while looking through /usr/share/doc/ppp-X.X.X/scripts/ppp-off. > > Now, coming back to the original problem, how do I disconnect from the > internet after I have > logged in through wvdial ? > Thanks & regards, > K.Ghosh. > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
