Date: Mon, 19 Apr 1999 12:30:55 +0400 From: "Andrew A.Karjagin" <Andrew.Karjagin@tdis.gctc.rssi.ru> To: "Pavel V. Antipov" <pavel@ikar.elect.ru>, freebsd-isp@freebsd.org Subject: Re: PPP works abnormally Message-ID: <371AE9BF.FA13529A@tdis.gctc.rssi.ru> References: <Pine.BSF.3.96.990417172225.29376B-100000@ikar.elect.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------E6C7D6B02965D8472FA34BB3 Content-Type: multipart/alternative; boundary="------------ECB9233CC593BBDC93825EEF" --------------ECB9233CC593BBDC93825EEF Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit "Pavel V. Antipov" wrote: > Hi, > > I try to create PPP server for MS clients. I have FreeBSD 2.2.5. > When client dialups my server in terminal mode (via HyperTerminal) > everything works correctly with shell for ppp: /bin/csh. > But when I set ppp shell to /usr/local/ppplogin, client-side drops > the connection. > > What can I do to make ppp-server to work correctly ? > > I have some settings: > > /etc/ppp/ppp.conf > # > # ppp.conf showing possible setup for ppp server > # > > # default is to enable extentions to ppp to have Microsoft clients > # negotiate nameservers and netbios nameservers > > default: > disable lqr > set log phase lcp chat > set timeout 0 > enable msext > > # dial-in PPP where mgetty has "auto" detected PPP packets and ran > # /usr/sbin/ppp -direct pap(line) > # (see sample.ppp-pap-dialup) > # we enable pap to authenticate the user, and enable passwdauth > # (another modification) to use the password file to authenticate > # the user, and log them on to the system > > papcuaa1: You can use PAP auth only with mgetty compiled with AUTO_PPP option (see comments) > > enable pap > enable passwdauth > set log phase lcp chat > set ifaddr 192.168.25.23 192.168.25.24 255.255.255.224 > enable msext > enable proxy > > /etc/passwd > root:*:0:0:Charlie &:/root:/bin/csh > toor:*:0:0:Bourne-again Superuser:/root: > daemon:*:1:1:Owner of many system processes:/root:/nonexistent > operator:*:2:20:System &:/usr/guest/operator:/bin/csh > bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent > games:*:7:13:Games pseudo-user:/usr/games:/nonexistent > news:*:8:8:News Subsystem:/:/nonexistent > man:*:9:9:Mister Man Pages:/usr/share/man:/nonexistent > uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico > xten:*:67:67:X-10 daemon:/usr/local/xten:/nonexistent > pop:*:68:6:Post Office Owner:/nonexistent:/nonexistent > nobody:*:65534:65534:Unprivileged user:/nonexistent:/nonexistent > ppp:*:69:69:PPP User Login:/home/ppp:/usr/local/bin/ppplogin > > /etc/ttys > # > # @(#)ttys 5.1 (Berkeley) 4/17/89 > # > # name getty type status comments > # > # This entry needed for asking password when init goes to single-user mode > # If you want to be asked for password, change "secure" to "insecure" here > console none unknown off secure > # > ttyv0 "/usr/libexec/getty Pc" cons25r on secure > # Virtual terminals > ttyv1 "/usr/libexec/getty Pc" cons25r on secure > ttyv2 "/usr/libexec/getty Pc" cons25r on secure > # Serial terminals > ttyd0 "/usr/libexec/getty std.9600" unknown off secure > ttyd1 "/usr/libexec/getty std.38400" unknown off secure > ttyd2 "/usr/libexec/getty std.9600" unknown off secure > ttyd3 "/usr/libexec/getty std.9600" unknown off secure > # > cuaa1 "/usr/libexec/getty std.19200" dialup on secure > > /etc/gettytab is standard > > /usr/local/bin/ppplogin > #!/bin/sh -p > exec /usr/sbin/ppp -direct papcuaa1 Use /etc/ppp/ppp.* files as dot files for your purposes. Also you can use information for PPP-server from my HomePage ( http://tdis.gctc.rssi.ru/~richi only in Russian!) > > > ----------- > Please help me ! > > Your's sincerly > Pavel > E-mail:pavel@ikar.elect.ru > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message --------------ECB9233CC593BBDC93825EEF Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> "Pavel V. Antipov" wrote: <blockquote TYPE=CITE>Hi, <p>I try to create PPP server for MS clients. I have FreeBSD 2.2.5. <br>When client dialups my server in terminal mode (via HyperTerminal) <br>everything works correctly with shell for ppp: /bin/csh. <br>But when I set ppp shell to /usr/local/ppplogin, client-side drops <br>the connection. <p>What can I do to make ppp-server to work correctly ? <p>I have some settings: <p>/etc/ppp/ppp.conf <br># <br># ppp.conf showing possible setup for ppp server <br># <p># default is to enable extentions to ppp to have Microsoft clients <br># negotiate nameservers and netbios nameservers <p>default: <br> disable lqr <br> set log phase lcp chat <br> set timeout 0 <br> enable msext <p># dial-in PPP where <b><u>mgetty</u></b> has "auto" detected PPP packets and ran <br># /usr/sbin/ppp -direct pap(line) <br># (see sample.ppp-pap-dialup) <br># we enable pap to authenticate the user, and enable passwdauth <br># (another modification) to use the password file to authenticate <br># the user, and log them on to the system <p>papcuaa1:</blockquote> You can use PAP auth only with mgetty compiled with AUTO_PPP option (see comments) <blockquote TYPE=CITE> <br> enable pap <br> enable passwdauth <br> set log phase lcp chat <br> set ifaddr 192.168.25.23 192.168.25.24 255.255.255.224 <br> enable msext <br> enable proxy <p>/etc/passwd <br>root:*:0:0:Charlie &:/root:/bin/csh <br>toor:*:0:0:Bourne-again Superuser:/root: <br>daemon:*:1:1:Owner of many system processes:/root:/nonexistent <br>operator:*:2:20:System &:/usr/guest/operator:/bin/csh <br>bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent <br>games:*:7:13:Games pseudo-user:/usr/games:/nonexistent <br><a href="news:*:8:8:News">news:*:8:8:News</a> Subsystem:/:/nonexistent <br>man:*:9:9:Mister Man Pages:/usr/share/man:/nonexistent <br>uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico <br>xten:*:67:67:X-10 daemon:/usr/local/xten:/nonexistent <br>pop:*:68:6:Post Office Owner:/nonexistent:/nonexistent <br>nobody:*:65534:65534:Unprivileged user:/nonexistent:/nonexistent <br>ppp:*:69:69:PPP User Login:/home/ppp:/usr/local/bin/ppplogin <p>/etc/ttys <br># <br># @(#)ttys 5.1 (Berkeley) 4/17/89 <br># <br># name getty type status comments <br># <br># This entry needed for asking password when init goes to single-user mode <br># If you want to be asked for password, change "secure" to "insecure" here <br>console none unknown off secure <br># <br>ttyv0 "/usr/libexec/getty Pc" cons25r on secure <br># Virtual terminals <br>ttyv1 "/usr/libexec/getty Pc" cons25r on secure <br>ttyv2 "/usr/libexec/getty Pc" cons25r on secure <br># Serial terminals <br>ttyd0 "/usr/libexec/getty std.9600" unknown off secure <br>ttyd1 "/usr/libexec/getty std.38400" unknown off secure <br>ttyd2 "/usr/libexec/getty std.9600" unknown off secure <br>ttyd3 "/usr/libexec/getty std.9600" unknown off secure <br># <br>cuaa1 "/usr/libexec/getty std.19200" dialup on secure <p>/etc/gettytab is standard <p>/usr/local/bin/ppplogin <br>#!/bin/sh -p <br>exec /usr/sbin/ppp -direct papcuaa1</blockquote> Use /etc/ppp/ppp.* files as dot files for your purposes. <br>Also you can use information for PPP-server from my HomePage ( <A HREF="http://tdis.gctc.rssi.ru/~richi">http://tdis.gctc.rssi.ru/~richi</A> only in Russian!) <blockquote TYPE=CITE> <p>----------- <br>Please help me ! <p> Your's sincerly <br> Pavel <br> E-mail:pavel@ikar.elect.ru <p>To Unsubscribe: send mail to majordomo@FreeBSD.org <br>with "unsubscribe freebsd-isp" in the body of the message</blockquote> </html> --------------ECB9233CC593BBDC93825EEF-- --------------E6C7D6B02965D8472FA34BB3 Content-Type: text/x-vcard; charset=koi8-r; name="Andrew.Karjagin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Andrew A.Karjagin Content-Disposition: attachment; filename="Andrew.Karjagin.vcf" begin:vcard n:Karjagin;Andrew x-mozilla-html:FALSE url:http://tdis.gctc.rssi.ru/~richi org:Gagarin Cosmonaut Training Center adr:;;;Star Town;;;Russia version:2.1 email;internet:Andrew.Karjagin@tdis.gctc.rssi.ru x-mozilla-cpt:;-15056 fn:Andrew Karjagin end:vcard --------------E6C7D6B02965D8472FA34BB3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?371AE9BF.FA13529A>