Q: mgetty/DIAL-IN problem
Thomas Mandl (Thomas.Mandl@neuroth.co.at)
Fri, 05 Feb 1999 14:28:26 +0100
This is a multi-part message in MIME format.
--------------ACA9B7929F204B7251FD809F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Len Ovens wrote:
>
> Thomas Mandl wrote:
>
> > I have to setup a remote *dial-in* connection using a SupraFAX Modem
> > V.32bis on /dev/ttyS1 (COM2). I use an Intel PC running Linux RedHat
>
> These are normally good modems... if they are older. The one I tried
> since supra got sold to Dimond has unreliable CID support, but seems to
> be all right besides that. The one I use is older than that and
> everything works just fine. I normally start with at&f2 for init and go
> from there. Do not use at&f or atz. at&f2 sets a known state, atz does
> not. at&f(0) turns off too much stuff :-) Here is my initchat in
> mgetty.config:
>
> # supra
> init-chat "" \d\d\d+++\d\d\dAT&F2w0s7=60s95=6MH#CID=1 OK
> ... ...
Hi Len!
Many thaks for your advice, problem solved. Now it's working fine (had
to use factory setting #2) in the init-chat as you told me.
Here is a working /etc/mgetty+sendfax/mgetty.config file (in case others
might have the same problem).
OS: Linux RedHat 5.2 (Apollo) on a i686 (2.0.36)
mgetty version: 1.1.14
Modem Type: SupraFAX Modem V.32bis on /dev/ttyS1
Purpose: Dial-in support under Linux (Linux host will serve as dial-in
server for remote terminal connections, no TCP/IP support, no PPP yet,
but simple, trivial terminal connection with two modems over phone line)
#
# $Source: /rdist/etc/mgetty+sendfax/RCS/mgetty.config,v $
#
# mgetty configuration file for remote dial-in support (for SupraFAX
Modem V.32bis)
#
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
debug 4
# access the modem(s) with 9600 bps or higher (not tested)
speed 9600
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
port-group staff
port-mode 0660
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the
others
#
# SupraFAX Modem v32bis 14,4k , connected to ttyS1: don't do fax, data
only
#
port ttyS1
data-only y
modem-type data
login-time 60
issue-file /etc/issue.modem
login-prompt \D\t\I\S\n\r
answer-chat "" ATA CONNECT \c
# Got this init chat from Len Ovens (len@studio.cbbs.org).
# You need the init-chat even for *dial-in*. This is the recommended way
to
# init your modem.
init-chat "" \d\d\d+++\d\d\dAT&F2w0s7=60s95=6MH#CID=0 OK
Many thanks again!
Thomas Mandl
--
Thomas Mandl
System and Network Administrator phone: +43 1 877 56 45/53
Thomas NEUROTH Ges.m.b.H. fax: +43 1 876 49 20
Hietzinger Hauptstrasse 22 e-mail: Thomas.Mandl@neuroth.co.at
A-1130 Vienna/Austria NIC-HDL: TM4373
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3i
mQCNAzRPQIQAAAEEAN8+hMTv0UYrXfQRtEtpOfSbo8mPguYTosCq1AUefVgd7pHD
zPbKObx72RvK4ere1HCRHlwypR0BPiGROolVmoEh6Z2Q+mNGNBcD+CfqYHujQ515
Q+D3OpI8HYa/Qc4RtmhOpkMzI1/Mn+c4tak1pbndqBDAVs/ZFQtlxjWyCUG1AAUR
tCBUaG9tYXMgTWFuZGwgPHRtYUBuZXVyb3RoLmNvLmF0PokAlQMFEDRPQIULZcY1
sglBtQEBrqAEAL2DSd7GKxAJKNkPa9EQYA5UY/HOB5uLywteKtj7YXEPNwLz3r9v
g1g3JC6fxjsnLIjxM9PqeDi4iTUY1XlNyPnYKmBEx0pwywLuxVx0NVPICWFmhgtC
BFhZpwc88NnnZDb/1d4HAJUKNbv7W7Tni/F1ybn7aDkfhrqK/NtODmln=07+w
-----END PGP PUBLIC KEY BLOCK-----
--------------ACA9B7929F204B7251FD809F
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Thomas Mandl
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Thomas Mandl
n: Mandl;Thomas
org: Thomas NEUROTH Ges.m.b.H.
adr: Hietzinger Hauptstraße 22;;;Vienna;Austria/EUROPE;A-1130 Vienna;Austria
email;internet: Thomas.Mandl@neuroth.co.at
title: Ing.
tel;work: +43 1 877 56 45/53
tel;fax: +43 1 877 49 20
note: System and Network Administrator
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------ACA9B7929F204B7251FD809F--