wvdial does not disconnect after ctrl-c

James McKenzie jjmckenzie51 at gmail.com
Tue May 10 19:18:09 UTC 2011


On Tue, May 10, 2011 at 10:58 AM, Ranjan Maitra <maitra at iastate.edu> wrote:
> On Tue, 10 May 2011 10:10:37 -0500 James McKenzie
> <jjmckenzie51 at gmail.com> wrote:
>
>> On Tue, May 10, 2011 at 7:00 AM, Ranjan Maitra <maitra at iastate.edu> 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.

James McKenzie


More information about the users mailing list