serial modem

kalin m kalin at
Mon Jun 29 04:03:15 UTC 2009

hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...

modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes

my /etc/ttys:

ttyd0 "/usr/libexec/getty std.115200" dialup on
ttyd1 "/usr/libexec/getty std.115200" dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1

according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.

messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or directory

and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:

and, following the instructions in the handbook, try reaching the modem 
# tip -v cuad0

i get:
tip: unknown host tip0

dmesg says:
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
sio0: type 16550A
sio0: [FILTER]

and in the /etc/gettytab i have:

what next?


More information about the freebsd-questions mailing list