From owner-freebsd-questions Fri May 28 16:28:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 5167215211 for ; Fri, 28 May 1999 16:28:26 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA25369; Fri, 28 May 1999 16:28:15 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 28 May 1999 16:28:15 -0700 (PDT) From: Doug White To: Shaun Courtney Cc: questions@FreeBSD.ORG, laurief@eng.uct.ac.za Subject: Re: user ppp, leased line, getty on server In-Reply-To: <19990528234959.A53008@emma.eng.uct.ac.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 May 1999, Shaun Courtney wrote: > We are trying to connect two leased line analog modems using user ppp. > (2-wire modems.) Running on -stable as of last week. > > We know the modems work, because they have been previously set up > between another ISP and us (us being the client) and it worked. All > we need do was run "ppp -dedicated -alias" and it ran... > > The modems connect (deskport p 28.8) and using "cu -l /dev/cuaa1 > -s 38400" and "cu -l /dev/cuaA02 -s 38400" on the server, characters > on the server appear in the clients window. > > The question is what do we have to do on the server to get it to > work, i.e. run ppp on the line? > > I have tried to set up getty on the port: from /etc/ttys > cuaA02 "/usr/libexec/getty std.38400" dialup on insecure > Killed init kill -1 1 and getty runs but never runs > /usr/local/sbin/ppplogin. This has been set up using Method 2 in > the ppp man page. I've left out the chap and pap auth. since the > line is leased point-to-point. > > I've tried mgetty, but this hogs the line and the modem never reconnect :( Well, mgetty and -dedicated are mutually exclusive. Kill mgetty and take it out of /etc/ttys, then launch your ppp. Why run a getty if these are hardwired together? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message