On 05/10/2011 12:18 PM, James McKenzie wrote: > On Tue, May 10, 2011 at 10:58 AM, Ranjan Maitra <maitra@xxxxxxxxxxx> wrote: >> On Tue, 10 May 2011 10:10:37 -0500 James McKenzie >> <jjmckenzie51@xxxxxxxxx> wrote: >> >>> On Tue, May 10, 2011 at 7:00 AM, Ranjan Maitra <maitra@xxxxxxxxxxx> wrote: >>>> Hi, >>>> >>>> I have been using wvdial (briefly) and I have a strange outcome when I >>>> disconnect. This happens about 90% of the time. About 10% of the time, >>>> it exits cleanly and everything is fine, but my question pertains to >>>> the other 90%. >>>> >>>> So, I hit ctrl-c and get the following >>>> >>>> ^CCaught signal 2: Attempting to exit gracefully... >>>> % >>>> >>>> There is no wvdial process anymore. >>>> >>>> $ killall wvdial >>>> wvdial: no process found >>>> >>>> >>>> However, the connection is not terminated (the meter is running), and indeed, >>>> >>>> $ ps aux | grep wvdial >>>> root 2024 0.0 0.0 50616 2344 pts/0 S 08:39 0:00 /usr/sbin/pppd 230400 modem crtscts defaultroute usehostname -detach user 1 noipdefault call wvdial usepeerdns idle 3600 logfd 6 remotename 0 >>> >>> kill -15 2024 >>> if that fails >>> kill -9 2024 >>> as root >>> >>> This should disconnect you. >>> >>> James McKenzie >> >> Thank you! I guess the answer then is, to try >> >> sudo killall pppd >> >> which should do it? >> >> This works! At least has, this first time around.... >> > That should work just well. Most people do not use CNTRL-C to kill > this process. Usually it is started to run in the background and then > killed using the command you just stated. pppd has a lot of options to control on-demand/disconnect operations. The OP should really "man pppd" and look at the demand, holdoff, idle and [no]persist options. These can be placed in "/etc/ppp/options" (globally applied) or "~/.ppprc" (per-user). ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, C2 Hosting ricks@xxxxxxxx - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - "More hay, Trigger?" "No thanks, Roy, I'm stuffed!" - ---------------------------------------------------------------------- -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines