Date: Thu, 12 Oct 2000 13:12:34 +0200 (CEST) From: Micke Josefsson <mj@isy.liu.se> To: freebsd-questions@freebsd.org Subject: Dial-in and auto-baud question. Message-ID: <XFMail.001012131234.mj@isy.liu.se>
next in thread | raw e-mail | index | archive | help
I have made it possible to dial-in to my computer via a modem. The entries in /etc/gettytab works and selects the correct speed after each ENTER I press on the sending machine. But how is it that it only autobauds between 57600, 38400, 19200 and 9600 bauds? I have added 28800 and 26400 baud entries in /etc/gettytab (see below), but when i press ENTER, after calling and 'CONNECT', the receiving computer always shuts down communication when I reach one of them. I have tried finding a place in the source that defines the first mentioned speeds as allowed but not the latter ones - I have found no such place. Is it impossible for me to get a connection at 28800, which is what my modems muster? I have similar modems at each end. Both can go up to 28800 to ISP's so they are not dodgy. ................................... In gettytab that works: [snip] 2|std.9600|9600-baud:\ :np:sp#9600: g|std.19200|19200-baud:\ :np:sp#19200: std.38400|38400-baud:\ :np:sp#38400: std.57600|57600-baud:\ :np:sp#57600: std.115200|115200-baud:\ :np:sp#115200: std.230400|230400-baud:\ :np:sp#230400: # my additions per the handbook vp|VH9600:\ :nx=VH57600:tc=9600-baud: vq|VH19200:\ :nx=VH9600:tc=19200-baud: vr|VH38400:\ :nx=VH19200:tc=38400-baud: vs|VH57600:\ :nx=VH38400:tc=57600-baud: [SNIP] .......................................... ...and in one that does not work: [snip] 2|std.9600|9600-baud:\ :np:sp#9600: g|std.19200|19200-baud:\ :np:sp#19200: std.28800|28800-baud:\ :np:sp#28800: std.38400|38400-baud:\ :np:sp#38400: std.57600|57600-baud:\ :np:sp#57600: std.115200|115200-baud:\ :np:sp#115200: std.230400|230400-baud:\ :np:sp#230400: # my own vp|VH9600:\ :nx=VH57600:tc=9600-baud: vq|VH19200:\ :nx=VH9600:tc=19200-baud: vn|VH28800:\ :nx=VH19200:tc=28800-baud: vr|VH38400:\ :nx=VH28800:tc=38400-baud: vs|VH57600:\ :nx=VH38400:tc=57600-baud: [snip] ................................. Getty is started from /etc/ttys as: ttyd1 "/usr/libexec/getty VH57600" dialup on and appears as: 2322 ?? I 0:00.01 /usr/libexec/getty VH57600 ttyd1 when 'ps ax' I have also noted that 'stty -f /dev/ttyd1 57600' works but not when using 28800 for example. What are the standard speeds? How fine-grained are they? Eager for comments! /Micke ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.5-STABLE ---------------------------------- 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?XFMail.001012131234.mj>