o If you dial from console with the wvdial command,  and it stays
  in the foreground on the console, merely pressing [Ctrl-C] will 
  terminate the wvdial and pppd sessions.
  
o If wvdial has been started as a background process, then it is
  prudent to kill both wvdial and pppd, to prevent  redial.  See
  LOST #122 placed below.
  
HTH

Bish  
   
 
On Wed, Feb 13, 2002 at 12:48:45PM -0800, Naren Devaiah wrote:
> 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 men-
> tioned in your mail).
> 
> -Naren
> 
> > 
> > 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.
> > 
---end quoted text---

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Background dialing in wvdial                   LOST #122

To make wvdial dial in the background, and keep terminal free
#wvdial [dialer] > ~/wvdial.log 2>&1 &
To disconnect, put these lines in a script to be run as root:
killall -INT pppd 2>/dev/null
killall -INT wvdial 2>/dev/null
 
####<[EMAIL PROTECTED]>####################################
:


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to