Solved

Dialing into a Linux box

Posted on 1997-05-14
1
178 Views
Last Modified: 2010-03-18
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
Comment
Question by:bpavane
1 Comment
 
LVL 2

Accepted Solution

by:
mlev earned 100 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now