From owner-freebsd-net Tue Nov 5 4:43: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A71B37B401 for ; Tue, 5 Nov 2002 04:43:01 -0800 (PST) Received: from ene.asda.gr (ene.asda.gr [193.92.118.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FC4C43E8A for ; Tue, 5 Nov 2002 04:43:00 -0800 (PST) (envelope-from lefty@ene.asda.gr) Received: from ene.asda.gr (lefty.ene.asda.gr [193.92.118.162]) (authenticated bits=0) by ene.asda.gr (8.12.6/8.12.6) with ESMTP id gA5CgpcJ080484; Tue, 5 Nov 2002 14:42:55 +0200 (EET) (envelope-from lefty@ene.asda.gr) Message-ID: <3DC7BCC4.52B5BF65@ene.asda.gr> Date: Tue, 05 Nov 2002 14:42:44 +0200 From: Lefteris Tsintjelis X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,el MIME-Version: 1.0 To: Andrea Venturoli Cc: freebsd-net@FreeBSD.ORG Subject: Re: Dial in only works for a while References: <200211050941.gA59fKe04559@relay.flashnet.it> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Same pattern of garbage when pressing a key usually means wrong speed in most cases, or parity/stop/start/data bits. It could be your serial port or your modem at your end or remote end. Next time try and use -s 115200 with cu. That would set the serial port speed at 115200 and see what happens. Regards, Lefteris Andrea Venturoli wrote: > > Hello. > > I set up a machine to accept dial-in modem connections according to the suggestions in the Handbook: > _ I set up my modem so as to lock its speed, don't echo commands, don't give any reply code and auto-answer; > _ I modified rc.serial so as to set-up /dev/ttyd0 as a modem at 57600 bps; > _ through /etc/ttys, I instructed init to spawn a getty process with a terminal type of std.57600; > _ I corrected /etc/gettytab, adding a pp options so as to invoke a script for ppp; > _ I set up ppp.conf for dial-in. > > Everything works fine, I can login directly with a terminal emulation program (like cu) or via a ppp connection... for a > while. > After a few days this stops working: ppp cannot pass the login phase and if I connect with cu I see garbage coming from > the remote end instead of the login prompt. If I press any single key, several other garbage chars will come in again. > > I tried rebooting the machine, reinvoking rc.serial, power-cycling the modem, HUPping getty, but all this usually fails, > until I finally manage to get it back to work, I don't really know how. > > Has anyone had the same problem? Does anyone have any hint to share? > > Bye & Thanks a lot > av. > > P.S. The modem is an external 3Com 56K. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message