Subject: ppp dialin from win 95
To: NetBSD-help <netbsd-help@netbsd.org>
From: Dave <dmill@globalnet.co.uk>
List: netbsd-help
Date: 04/24/1999 16:51:04
Hi,
I'm trying to set up a ppp dialin connection from WhineDoze
95 for a client to test a web site before uploading it to
their ISP hosted server. I don't seem to have it quite right
:(

I have the following entry for tty00 in /etc/ttys:

    tty00 "/usr/pkg/sbin/modemd usr-vi" unknown on  secure

and the following in the users(mcprop) ~/.login:

    /usr/sbin/pppd /dev/tty00 115200 192.168.0.1:192.168.0.2

192.168.0.1 and 192.168.0.2 are listed in /etc/hosts and are
aliased to localhost and ppp0 respectively with ifconfig.
The configuration works when testing on the localhost.

The win95 dialer is set up to accept server assigned ip and
nameserver addresses.

When the user dials in, the modem answers, but after some
negotiation hangs up again.

/var/log/messages has the following after an unsuccessful
attempt:

    Apr 23 21:16:32 oak pppd[337]: pppd 2.3.5 started by
mcprop, uid 32769
    Apr 23 21:17:56 oak pppd[337]: Using interface ppp0
    Apr 23 21:17:56 oak pppd[337]: Connect: ppp0 <-->
/dev/tty00
    Apr 23 21:18:26 oak pppd[337]: LCP: timeout sending
Config-Requests
    Apr 23 21:18:26 oak pppd[337]: Connection terminated.
    Apr 23 21:18:27 oak pppd[337]: Exit.

so pppd is successfully starting, but I'm not sure why it's
hanging up.

Should the line in ~/.login that starts pppd have 'passive'
as an option?

Any help would be gratefully received!

TIA,
Dave