Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 10:27:51 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, freebsd-questions@freebsd.org
Subject:   Re: What is wrong with this ppp connection?
Message-ID:  <19990623102751.A18907@internal>
In-Reply-To: <199906221835.TAA00674@keep.lan.Awfulhak.org>; from Brian Somers on Tue, Jun 22, 1999 at 07:35:37PM %2B0100
References:  <19990622185157.A7554@internal> <199906221835.TAA00674@keep.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22-Jun-1999 at 19:35:37 +0100, Brian Somers wrote:
> > Hi,
> > 
> > I want to connect to a 3.2-STABLE machine (called messfix) which
> > is attached to a mobile phone GSM 900 modem. On this machine I am using
> > the pp=/usr/local/bin/ppplogin feature. Here I have also got a 3.2-STABLE
> > machine, it is called server.
> [.....]
> > Jun 22 18:34:42 <daemon.info> server ppp[8385]: tun0: LCP: Magic is same (47b99d4a) - 1 times 
> [.....]
> > Jun 22 18:34:44 <daemon.info> server ppp[8385]: tun0: LCP: Magic is same (45ef93ee) - 2 times 
> [.....]
> 
> http://www.FreeBSD.org/FAQ/userppp.html

OK, I have found my problem now. As I said I use the
pp=/usr/local/bin/ppplogin feature which is implemented
in the getty(8) process. Now here is what happened:

1. The remote machine gets dialed and CONNECTs.
2. There is some noise on the line (which hasn't occured
   while the machine was here in the lab)
3. These noise characters fill the login: prompt of the running
   getty(8).
4. getty(8) thinks it is a username and launches login(1).
5. login(1) alternatingly keeps wanting a login: and a password:
   string.

I now synchronize the chat script to a "ogin:" prompt and issue than
a CTRL-D. So login(1) terminates and control is passed over to getty(8)
with a clean line.

Might we add this to the FAQ?

	-Andre


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?19990623102751.A18907>