From owner-freebsd-questions Tue Mar 20 6: 5: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hvmta03-stg.us.psimail.psi.net (hvmta03-ext.us.psimail.psi.net [38.202.36.27]) by hub.freebsd.org (Postfix) with ESMTP id 7916937B71F for ; Tue, 20 Mar 2001 06:04:59 -0800 (PST) (envelope-from drideout@cssnow.com) Received: from dave ([63.146.8.1]) by hvmta03-stg.us.psimail.psi.net (InterMail vM.4.01.02.17 201-229-119) with SMTP id <20010320140443.KHQF1427.hvmta03-stg.us.psimail.psi.net@dave> for ; Tue, 20 Mar 2001 09:04:43 -0500 From: "Dave Rideout" To: "FreeBSD Questions" Subject: PPP Date: Tue, 20 Mar 2001 09:13:13 -0500 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello: I am trying to get my FreeBSD box working with PPP and mgetty so that Win98 clients can dial in to the server and be able to get access to our internal network. The error message is that my network config is invalid. I have compiled mgetty-1.1.22.8.17 with the autoPPP option enabled. It seems that the win98 machine comes up with a freebsd login and when I login as njras and type the password in, it immediately disconnects. Here are the contents of my ppp.conf set device /dev/cuaa0 set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 120 # 3 mintue idle timer (the default) enable dns # request DNS info (for resolv.conf) incoming: enable pap enable passwdauth set ifaddr 192.168.1.9 192.168.1.30 255.255.255.255 enable proxy ttys.conf ttyd0 "/usr/libexec/getty std.57600" dialup on secure ttyd1 "/usr/libexec/getty std.57600" dialup on secure I have created users called njras and nyras. I made a shell script called /usr/local/bin/ppplogin which contains #! /bin/sh exec /usr/sbin/ppp -direct incoming If you have any FAQ's or example configs I can look at that would be great. This machine has fxp interface of 192.168.1.9 And I want the ras dialin users to have ips 192.168.1.30 and 192.168.1.31.. Hope I am being specific enough and appreciate all the help. Thanks Sincerely, Dave Rideout To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message