Re: Disconnection command?
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Wed, 19 Apr 2006 22:01:18 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Unruh wrote:
Rodolfo Medina <rodolfo.medina@xxxxxxxxx> writes:
Under Gnu/Debian Linux, to connect and disconnect I use the commands
'pon' and 'poff' respectively.
Instead, other Linux distributions don't have 'pon' and 'poff':
then I connect with 'pppd call my_provider', but don't
know how to disconnect apart from switching off the phone.
Can you please suggest the suitable command to disconnect?
killall pppd
I'll be /really/ pedantic and say...
For ppp0
kill SIGHUP `cat /var/run/ppp0.pid`
For ppp1
kill SIGHUP `cat /var/run/ppp1.pid`
etc
FWIW, you can substitute -SIGTERM or -SIGINT for -SIGHUP
- --
Lew Pitcher
Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFERutuagVFX4UWr64RAmKIAKCGW4D39E3j4g6Gviih8rM2Wd5NIACeNGIQ
Ch4w9KB+Lc0T4VKKigztEG0=
=VtNv
-----END PGP SIGNATURE-----
.
- Follow-Ups:
- Re: Disconnection command?
- From: Unruh
- Re: Disconnection command?
- From: Rodolfo Medina
- Re: Disconnection command?
- References:
- Disconnection command?
- From: Rodolfo Medina
- Re: Disconnection command?
- From: Unruh
- Disconnection command?
- Prev by Date: Re: Disconnection command?
- Next by Date: Re: Disconnection command?
- Previous by thread: Re: Disconnection command?
- Next by thread: Re: Disconnection command?
- Index(es):
Relevant Pages
|
|