From owner-freebsd-questions Sat Mar 2 08:28:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA24242 for questions-outgoing; Sat, 2 Mar 1996 08:28:45 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA24234 for ; Sat, 2 Mar 1996 08:28:42 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id JAA17261; Sat, 2 Mar 1996 09:31:25 -0700 Date: Sat, 2 Mar 1996 09:31:25 -0700 From: Nate Williams Message-Id: <199603021631.JAA17261@rocky.sri.MT.net> To: sreid@edmbbs.iceonline.com Cc: questions@freebsd.org Subject: Re: PPP server setup In-Reply-To: <9603020503.D4598qw@edmbbs.iceonline.com> References: <9603020503.D4598qw@edmbbs.iceonline.com> Sender: owner-questions@freebsd.org Precedence: bulk > I'm trying to set up pppd to accept dial-in ppp users, but I can't get > it to work... I can dial in, but I can't get a ppp connection. Sometimes > pppd dumps core. ... > The above was created when I invoked pppd like so: > while true; do pppd /dev/ttyd1 115200 -detach; done Huh? This isn't in the man-pages or the handbook. > Trying cuaa1 instead of ttyd1, the results are a lot less > consistant... pppd should be started by the login process, not by you. Also, you don't want to stick it in a loop for dial-in processes, only dial-out processes. Let's start from the top. 1) Can you login as a regular user over the modem? This is the *first* thing that you need to be able to do, to make sure your modem and everything else is setup. 2) When you logout, does the modem hangup correctly? If it doesn't, you're in a world of hurt since the connection isn't ended correctly. [ These two make sure the modem is correctly configured, which is generally the problems people are having. ] 3) What is your ppp user login entry in /etc/passwd? Does the login acount exist, what is the login shell? 4) What does /etc/ppp/options look like? [ Is FreeBSD setup correctly? ] 5) What software is the client using to connect to FreeBSD? [ Is the remote end setup correctly? ] Nate