Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Dialing into a Linux box

I am trying to configure a Boca 28.8 modem as a dial-in
modem on my linux box. I have followed what the Serial-HOWTO
said, and looked at the manpages for getty and gotten nowhere
Can someone please tell me what to put in inittab, gettydefs
and any other files required for this setup.
0
bpavane
Asked:
bpavane
1 Solution
 
mlevCommented:
Here is how my box is configured: (my modem is at COM4).
It uses getty_ps, as Serial-HOWTO suggests, and may not be the best way to do it (people say mgetty is better), but it works.

/etc/inittab:
S3:45:respawn:/sbin/uugetty ttyS3 F38400 vt100
EOF

/etc/conf.uugetty.ttyS3:
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# alternate lock file to check... if this lock file exists, then uugetty is
# restarted so that the modem is re-initialized
ALTLOCK=cua3
ALTLINE=cua3
# line to initialize
INITLINE=cua3
# timeout to disconnect if idle...
TIMEOUT=60
# modem initialization string...
# format: <expect> <send> ... (chat sequence)
INIT="" AT\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
# this line sets the time to delay before sending the login banner
DELAY=1
#DEBUG=777

To put my computer in answering mode, I do "init 4" (3 being the default runlevel).

0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now