From owner-freebsd-questions Sun Mar 28 2:59:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alnitak.rad.co.za (unknown [196.22.202.129]) by hub.freebsd.org (Postfix) with ESMTP id 3536F1509D for ; Sun, 28 Mar 1999 02:58:54 -0800 (PST) (envelope-from paul@rad.co.za) Received: from alnilam (alnilam.rad.co.za [196.22.202.162]) by alnitak.rad.co.za (8.9.2/8.9.2) with SMTP id MAA01955; Sun, 28 Mar 1999 12:54:02 +0200 (SAST) (envelope-from paul@rad.co.za) From: "Paul" To: "'George Yobst'" , Subject: RE: Kernel pppd Date: Sun, 28 Mar 1999 13:00:20 +0200 Message-ID: <001001be790a$2cc20820$a2ca16c4@alnilam.rad.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of George Yobst Sent: Saturday, March 27, 1999 12:56 AM To: questions@FreeBSD.ORG Cc: George Yobst Subject: Kernel pppd Hi all, I'd like to hang 2 modems off my FBSD box (that's already on the net & running 3.1-Release) so that I can dial-up to it from home (W95). I tried to configure pppd and looked at the Pedantic PPP docs, but it seems written for dial-out. It looks like it's dialing up, the modem answers so I get a connection, but then it won't go further. Right now, the log messages are: Mar 26 14:43:48 lincc pppd[1180]: Connect: ppp0 <--> /dev/ttyd0 Mar 26 14:44:18 lincc pppd[1180]: LCP: timeout sending Config-Requests Mar 26 14:44:18 lincc pppd[1180]: Connection terminated, connected for 1 minutes Mar 26 14:44:19 lincc pppd[1181]: pppd 2.3.5 started by root, uid 0 I've changed so many parameters, that I'm just chasing my tail. Does anybody have multiple modems on their machine doing 'kernel ppp' care to share their configs in /etc/ppp - also pertinent parts of /etc/passwd & ttys would be greatly appreciated. Anything special on the W95 sw need to change? I got it working GREAT using the pap-secrets file BUT I'm battling to get it to work using the BSD password database. My setting are; 1. Make a file called /etc/ppp/server_options containing the following; /dev/cuaa0 115200 #whatever port your modems on crtscts modem connect "/usr/bin/chat -f /etc -f /etc/ppp/dialin" passive : netmask 255.255.255.0 auth proxyarp ms-dns ms-dns require-pap 2. Make a file called /etc/ppp/dialin containing the following; "" AT&C1&D3&K3&Q6S0=1&W OK ATZ OK #or whatever sets your modem to answer 3. Make a file called /etc/ppp/pap-secrets using this format; * george buggy.Foo.com abracadabra * 4. Make sure the pap-secrets file is read write only by root 5. Use the following at the command line OR in you start up scripts; pppd file /etc/ppp/server_options I DID NOT Modify my tttys,rc.serial or any of the other files and I DID NOT use getty or any of the other stuff you see in numerous posts. While I'm sure I might not be 100% correct, I notice no other posts in helping you with your problem,and this worked great for win95 clients for me, and was very simple to set up. What I couldn't get to work was the use of the BSD boxes password database, If you add the option to your options( server_options ) file AND then leave the password blank in your pap-secrets file it's supposed to use the normal BSD password database. But for the life of me I couldn't get this to work. The reason I'm using a file called server_options is that I presume your already running pppd for your other connection to the net. So you wouldn't want it to use the same options file as that connection uses, hence the pppd statement instructs pppd to use a DIFFERENT options file for this connection. Thanks! -George --------------------------------------------------------------------- George Yobst, Automation Specialist email: george@lincc.lib.or.us LINCC phone: 503-794-3890 16239 SE McLoughlin Blvd, Suite 208 fax: 503-655-8555 Oak Grove, OR 97267-4654 webmaster: [www.]lincc.lib.or.us "...it is impossible for anyone to begin to learn what he thinks he already knows." - Epictetus 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