From owner-freebsd-questions Wed Jun 23 8:38:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 0547F14EDA for ; Wed, 23 Jun 1999 08:38:05 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id RAA25192 for ; Wed, 23 Jun 1999 17:38:05 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id RAA20432 for ; Wed, 23 Jun 1999 17:38:04 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id RAA65673 for ; Wed, 23 Jun 1999 17:38:04 +0200 (CEST) Date: Wed, 23 Jun 1999 17:38:03 +0200 From: Andre Albsmeier To: Brian Somers Cc: Andre Albsmeier , freebsd-questions@freebsd.org Subject: Re: What is wrong with this ppp connection? Message-ID: <19990623173803.E19906@internal> References: <19990623102751.A18907@internal> <199906230942.KAA02434@keep.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <199906230942.KAA02434@keep.lan.Awfulhak.org>; from Brian Somers on Wed, Jun 23, 1999 at 10:42:35AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 23-Jun-1999 at 10:42:35 +0100, Brian Somers wrote: > Hi, > > I didn't realise you were using ``pp='' - I was thinking about > the FAQ section that says you should ``set openmode passive'', No problem, the explanation there brought me on the right path. > but that's not going to work against pp= :-( Correct :-) > I would have thought you shouldn't really hear any line noise... > not with error correction turned on. Maybe there's a problem with > the modem setup - or maybe the modem needs to be ATZ'd in a ``set > hangup'' script ? As it turnes out, the modem firmware is not very stable at the moment and therefore producing the noise. This resulted in the scenario described below. > > The only alternative approach I can think of is to use mgetty - maybe > that deals with things better. Well, it works now. It is a hack but I have no problems with hacks as long as they correct thing beyond my control (the modem firmware). Thanks again, -Andre > > > 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 server ppp[8385]: tun0: LCP: Magic is same (47b99d4a) - 1 times > > > [.....] > > > > Jun 22 18:34:44 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