Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 10:41:16 EST
From:      Andrea Venturoli <ml.ventu@flashnet.it>
To:        freebsd-net@freebsd.org
Subject:   Dial in only works for a while
Message-ID:  <200211050941.gA59fKe04559@relay.flashnet.it>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211050941.gA59fKe04559>