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 [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message