Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 1999 17:35:16 +0400 (MSD)
From:      "Pavel V. Antipov" <pavel@ikar.elect.ru>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-isp@freebsd.org
Subject:   PPP works abnormally
Message-ID:  <Pine.BSF.3.96.990417172225.29376B-100000@ikar.elect.ru>

next in thread | raw e-mail | index | archive | help
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:
 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

-----------
Please help me !

			Your's sincerly
			Pavel	
			E-mail:pavel@ikar.elect.ru




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990417172225.29376B-100000>