Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 19:28:40 -0400
From:      Randy Pratt <rpratt@FreeBSD.ORG>
To:        fujie zhang <fujiezhang@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how to quit ppp?
Message-ID:  <01082319284001.09685@k6-2.weeble.com>
In-Reply-To: <20010823113218.F88519@dub.net>
References:  <0108091950310B.43178@k6-2.weeble.com> <20010823113218.F88519@dub.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Aug 2001 13:27:11 -0700 (PDT), you wrote:
> hi, does anybody know how to quit ppp once it is up? i
> set up my user ppp in the auto mode. it automatically
> connect when i boot the machine although i did not use
> any internet related application. don't know why.
> also, how to get info like remote and local ip
> addresses once the link is up? help appreciated.

killall ppp 
would work for you.  The manual page (man killall) has information on other 
uses also.

Alternatively, when you run ppp -auto, you can still control ppp thru the use 
of pppctl.  You'll need to add the appropriate lines to your 
/etc/ppp/ppp.conf and restart ppp.  See man ppp and man pppctl for 
information on configuring and using pppctl.

The ppp log (/var/log/ppp.log) may contain the information on IP addresses 
that you're looking for (myaddr and hisaddr).

Hope this helps.

Randy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01082319284001.09685>