From owner-freebsd-questions  Sat Nov  9 07:37:57 1996
Return-Path: owner-questions
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id HAA04671
          for questions-outgoing; Sat, 9 Nov 1996 07:37:57 -0800 (PST)
Received: from ns.usac.edu.gt (ns.usac.edu.gt [168.234.52.2])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA04665
          for <questions@FreeBSD.ORG>; Sat, 9 Nov 1996 07:37:51 -0800 (PST)
Received: from localhost by ns.usac.edu.gt; (5.65/1.1.8.2/30Jul96-0309PM)
	id AA11529; Sat, 9 Nov 1996 09:36:17 -0600
Date: Sat, 9 Nov 1996 09:36:17 -0600 (GMT-0600)
From: Victor Manuel Carranza Gonzalez <victor@usac.edu.gt>
To: Phil Richardson <phil@pico.humber.ac.uk>
Cc: questions@FreeBSD.ORG
Subject: Re: Advice/Support on pppd
In-Reply-To: <739FE676152@pico>
Message-Id: <Pine.OSF.3.93.961109092044.11534B-100000@ns.usac.edu.gt>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-questions@FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk

On Sat, 9 Nov 1996, Phil Richardson wrote:

> When first run, all seems to be ok. The address of the server side
> becomes 194.80.51.42, and the address of the remote pc side becomes
> 194.80.51.45 as expected. A snap-shot of the connection dialog is
> below. I guess that the unknown protocol refers to the Windows-95 side
> of things, although it doesn't seem to cause any problem.
> 
>  pppd 2.1.2 started by root, uid 0
>  Connect: ppp0 <--> /dev/ttyd2
>  input: Unknown protocol (80fd) received!
>  local  IP address 194.80.51.42
>  remote IP address 194.80.51.45
>  Connection terminated.
> 
> When the connection is terminated, and a new connection is initiated
> the following dialog is seen;
> 
>  pppd 2.1.2 started by root, uid 0
>  Connect: ppp0 <--> /dev/ttyd2
>  input: Unknown protocol (80fd) received!
>  local  IP address 194.80.51.42
>  remote IP address 194.80.51.45
>  ioctl(SIOCAIFADDR): Address already exists
>  Connection terminated.
> 
> The connection terminated occurs when I disconnect the line or tell the
> Windows-95 system to drop the line. The connection seems to make but
> neither the server nor the client can communicate. There is no activity
> seen on the modem either.

Which version of FreeBSD are you using? I had a similar problem when using
2.1.0, but upgrading to 2.1.5 fixed the "address already exist" problem.

I suggest you enable pppd debugging (include "kdebug 1" and "debug" in
separate lines of the options file), in order to see the reason for the
connection to terminate.  Try to manually dial-in (via Windows95
HyperTerminal), and see if you can get a login prompt.

Try using pppd as a login shell instead of a getty, too. I think the getty
method is for PAP authenticacion only.

One more thing: try using a different username. Maybe root is not allowed
to log-in from pseudo-terminals. 

+-----------------------------------------------+
|      Victor Manuel Carranza Gonzalez          |
|  Unidad de Internet/Red Cientifico-Educativa  |
| Depto. de Procesamiento Electronico de Datos  |
| Universidad de San Carlos de Guatemala -USAC- |
|                                               |
|e-mail: victor@usac.edu.gt,                    |
|Telefono oficina: (502)4769723 (fax/voz)       |
|                  (502)4767719 (voz)           |
|Telefono casa   : (502)4782916 (502)2891037    |
+-----------------------------------------------+