From owner-freebsd-questions Mon Nov 15 21:11:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 0656B14E5B; Mon, 15 Nov 1999 21:11:43 -0800 (PST) (envelope-from kstewart@3-cities.com) Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by corinth.bossig.com (Rockliffe SMTPRA 3.4.2) with ESMTP id ; Mon, 15 Nov 1999 21:17:44 -0800 Received: from 3-cities.com (kenn1185.bossig.com [208.26.241.185]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id VAA19804; Mon, 15 Nov 1999 21:11:38 -0800 (PST) Message-ID: <3830E7AE.3B662337@3-cities.com> Date: Mon, 15 Nov 1999 21:12:14 -0800 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: William Woods Cc: freebsd-mobile@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Mobile PPP - PPP on a laptop with many connections.... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG William Woods wrote: > > I have a problem, I hope my fellow laptop users can help me with. I have > several dial ups, ie, I need to dial a "9" while at work, and sometimes I need > to dial a long distance code as well as dial while I am at home, my > regular number. > > I do have in my /etc/rc.conf file this command that starts ppp in the > background; > > /usr/sbin/ppp -auto cybcon > > But, I find whenever I change locations that requires a different number to be > dialed, like a 9 or a long distance code, I have to edit /etc/ppp/ppp.conf and > then reboot. I know there must be a simpler way....... You need to setup your ppp.conf so that you can use pppctl. You can always kill ppp and there was never a need to reboot. Then, you need to have an entry in your ppp.conf for both work and home. Each entry can have their own telephone number. You would then type "ppp -auto cybcon" for work and "ppp -auto home" for home. I also have a shell aliases that close and dial the connection using pppctl. The close closes the connection and stops ppp. Kent > > I am open to ideas > > ---------------------------------- > E-Mail: William Woods > Date: 15-Nov-99 > Time: 19:50:26 > > This message was sent by XFMail > ---------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message