From owner-freebsd-questions Wed May 1 16:57:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.siscom.net (mail.siscom.net [209.251.2.99]) by hub.freebsd.org (Postfix) with SMTP id 44F7D37B405 for ; Wed, 1 May 2002 16:57:09 -0700 (PDT) Received: (qmail 97614 invoked by uid 0); 1 May 2002 23:57:02 -0000 Received: from unknown (HELO satellite) (208.33.113.125) by 0 with SMTP; 1 May 2002 23:57:02 -0000 Message-ID: <000a01c1f16b$2fee36e0$0200a8c0@satellite> From: "dave" To: References: Subject: Re: transposing ppp chat Date: Wed, 1 May 2002 19:52:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Disposition-Notification-To: "dave" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, When i try to set up user ppp in the manner with which you specify i can never get it to consistently dial. If you've got a working configuration i would be interested. And yes ssh-ing in to the gateway box. Dave. ----- Original Message ----- From: "Joe & Fhe Barbish" To: "dave" Sent: Wednesday, May 01, 2002 7:09 PM Subject: RE: transposing ppp chat > You stated 'I have to ssh from an internal machine to the router'. > What do you mean by router? When you say router, do you mean the FBSD > gateway box? > > Typically this is how an FBSD gateway with private ip address Lan behind it > works. > The FBSD gateway is booted, it can connect to the ISP right away or wait for > the first request for internet services before dialing the ISP and > connecting. You can tell user ppp to use it's internal Nat function for ip > address translation between your private lan IP address and the public ip > address, also you can set a inactive timeout limit after which it will drop > the isp connection until the next request for internet access. This request > can originate from any of the lan workstations. An request is defined as any > ip packet destined for the public internet. In this customary configuration > there is no need to ssh into FBSD and start the common user ppp dial out > session to your ISP. You are making it much harder than it has to be. And > besides why use ssh from a lan workstation on the private lan which is > secure by design any how. Now if this does not address your situation that > please explain in greater detail why you want each lan workstation to start > and terminate the isp connection. > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of dave > Sent: Wednesday, May 01, 2002 6:37 PM > To: freebsd-questions@FreeBSD.org > Subject: Re: transposing ppp chat > > Hi, > Sorry about being unclear. Here goes. I've got an fbsd box set up as a > gateway to the internet for my internal users. Currently i'm connecting to > my isp via user ppp and to start this process i have to ssh from an internal > machine to the router, and start ppp from there. What i'd like is a web > interface, ideally i'd like to be able to point my internal machines' web > browsers to a internal web page and from there they could start, view status > of, and take down ppp. The only examples i've found of this deal with kernel > ppp, which i can not get the chat sequence right so it will work with my > isp. What i'd like is to take the user ppp chat sequence and have kernel ppp > read it or even better find a user ppp web connection script. > I hope this makes a little more sense. > Thanks. > Dave. > > ----- Original Message ----- > From: "Joe & Fhe Barbish" > To: "dave" > Sent: Wednesday, May 01, 2002 5:42 PM > Subject: RE: transposing ppp chat > > > > You are not very clear about what you are trying to acomplish. > > You said "I want to give my users a web interface to ppp vs having to ssh > in > > to the router". What users are you talking about? The ones behind the FBSD > > gateway on your private lan or the one coming in over the public internet? > > Restate what you are trying to do as a general function so people can > > understand what and/or why you think you need to do it. > > > > > > -----Original Message----- > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of dave > > Sent: Wednesday, May 01, 2002 5:10 PM > > To: freebsd-questions@FreeBSD.org > > Subject: transposing ppp chat > > > > Hello, > > I've got a fbsd box acting as a gateway for an internal network. I > want > > to give my users a web interface to ppp vs. having to ssh in to the > router. > > The problem is the only scripts i can find for this use kernel ppp. My isp > > connection works with user ppp just fine, i was wondering how can i take > the > > set dial line in /etc/ppp.conf and make it work in /etc/ppp/chatscript? Or > > failing that, find a perl .cgi ppp web interface script? > > Thanks. > > Dave. > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message