Date: Fri, 24 Mar 2000 14:08:06 -0600 (CST) From: Andy Wallace <awallace@physics.angelo.edu> To: freebsd-questions@FreeBSD.org Subject: dial-in service Message-ID: <200003242008.OAA02989@physics.angelo.edu>
next in thread | raw e-mail | index | archive | help
Hello all,
I am running FreeBSD 3.2 with a cirrus 5430 chipset
modem. I have followed the on-line handbook chapter
14 section 3. When I test the configuration for dial
in service, the client's terminal window displays
random characters mixed in with the login: prompt.
My configuration information is listed below. Do I
have a configuration error or I have I missed something
in the configuration.
Andy
********Output from /sbin/dmesg | grep 'sio'********
cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
********Section from /etc/gettytab********
# Entry for V.42bis Modem (33.6 kbps with maximum of 57600 bps)
# Starts at 57600 and cycles down to 9600 bps, then starts over
um|V9600|High Speed Modem at 9600,8-bit:\
:nx=V57600:tc=std.9600:
# ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and
# (none): same as even except -inpck instead of inpck for login.
um|V9600|High Speed Modem at 9600,8-bit:\
:nx=V57600:tc=std.9600:
un|V19200|High Speed Modem at 19200,8-bit:\
:nx=V9600:tc=std.19200:
uo|V38400|High Speed Modem at 38400,8-bit:\
:nx=V19200:tc=std.38400:
up|V57600|High Speed Modem at 57600,8-bit:\
:nx=V38400:tc=std.57600:
********Section from /etc/ttys********
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
ttyd1 "/usr/libexec/getty V57600" dialup on insecure
ttyd2 "/usr/libexec/getty std.9600" dialup off secure
ttyd3 "/usr/libexec/getty std.9600" dialup off secure
********Sections from /etc/rc.serial********
modem() {
# Modem that supports CTS and perhaps RTS handshaking.
ci=$1; shift
co=$1; shift
for i in $*
do
# may depend on modem
comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180
# Lock crtscts on.
# Speed reasonable for V42bis.
stty </dev/ttyi$ci$i crtscts 57600
stty </dev/ttyl$ci$i crtscts
stty </dev/cuai$co$i crtscts 57600
stty </dev/cual$co$i crtscts
done
}
# Initialize assorted 8250-16550 (sio) ports.
# maybe d a 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s
t u v
# mouse d a 2
modem d a 1
# terminal d a 0
********Output from stty -f /dev/ttyid1********
speed 57600 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost -onlcr -oxtabs
cflags: cs8 -parenb crtscts
********Output from ps ax | grep ttyd********
2838 ?? I 0:00.02 /usr/libexec/getty V57600 ttyd1
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?200003242008.OAA02989>
