Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Dialing into a Linux box

Posted on 1997-05-14
1
195 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
ID: 1584653
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FTP File Transfer Failure 13 177
OpenWrt 1 47
how to monitor remote shell execution on linux 9 104
How does the STUN server helps discover the device public ip address 4 87
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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