wvdial does not disconnect after ctrl-c
Ranjan Maitra
maitra at iastate.edu
Tue May 10 17:58:06 UTC 2011
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....
Is the other anomalous behavior a bug? Reported against what?
sudo tail -f /var/log/messages offers no clue.
Many thanks again, and best wishes,
Ranjan
More information about the users
mailing list