[Prev][Next][Index][Thread]
Re: modem in and out
Hi Eran!
Thanks for the repply, I now believe more and more that there is
something wrong with my binaries of getty_ps. I hope this weekend I
have time to look into this. I hope it was understood that my problem
is not in seting up uugetty. uugetty works just fine the problem is
it locks my modem and I can't use it for outgoing calls.
Anyway i have a few remarks.
> 1. Login as root. Set up a new user account. Use adduser or
useradd. Set up a password for
>
> 2. Verify that you can log in as $user at another virtual terminal
using
>
> 3. Verify that the new user can create files by opening a text
processor (
>
What exactly does this have to do with seting up uugetty?
> 4. Setup uugetty. uugetty is set up as follows:
>
> *** In file /etc/default create this file:
>
> /etc/default/uugetty.dialin
>
.dialin? not .ttySx?
> #
> # Remote login uugetty file
> #
>
> # alternate lockfile to check... if this lockfile exists, then
uugetty is
> # restarted so that the modem is re-initialized
> ALTLOCK=cua0
>
> # timeout to disconnect if idle...
> TIMEOUT=100
>
> # modem initialization string... Sets the modem to auto-answer
> #
> # format: <expect> <send> ... (chat sequence)
> INIT="" \d+++\dATZ\r OK\r\n ATH0\r\n OK\r\n
ATM0E1Q0V1X4S0=0&D1&C1&S0\r\n OK\r\n
> WAITFOR=RING
This didn't work for me. Whatever I tried uugetty would just refuse
to
recognize my "RING", "RING/r" or even "RING/r/n" in the end I just
set up atS0=1 and used WAITFOR=CONNECT (this is the main reason I
think my uugetty is broken), this and the fact that TIMEOUT=60 times
out after 6 seconds, TIMEOUT=90 after 9 etc.
>
###############################################################################
> ### 19200 fixed modem entry, mine ( PETER )
>
###############################################################################
> F19200# B19200 CS8 HUPCL CRTSCTS # SANE B19200 CS8 HUPCL CRTSCTS
#@S login: #F9600
>
> F9600# B9600 CS8 HUPCL CRTSCTS # SANE B9600 CS8 HUPCL CRTSCTS #@S
login: #F9600
>
> F4800# B4800 CS8 HUPCL CRTSCTS # SANE B4800 CS8 HUPCL CRTSCTS #@S
login: #F2400
>
> F2400# B2400 CS8 HUPCL CRTSCTS # SANE B2400 CS8 HUPCL CRTSCTS #@S
login: #F19200
>
>
###############################################################################
>
> NOTE: make sure that there are no other lines with 'Fxxxx' anywhere
in the
> file. If there are then change the lines above to 'Gxxxx' or
whatever to
> avoid a conflict. Note that the lines above are chained. uugetty
tries to
> match the line speed with these lines. For 28800 you will add a
line like:
You don't need to use chained lines. The comm speed stays locked,
the modem hardware takes care of setting the right line speed, you're
modem will never reach the chained lines which is fortunate since
lowering the comm speed would only degrade the quality of the
connection.
The only use for chained lines with modern modems would to chain them
to
1200 and 2400 speeds. Some very old modems have problems connecting
to new ones, setting the comm speed of the modern modems to the line
speed has been known (by me) to help in some cases (don't ask me
why).
Eli Algranti <OR17367@elbit.co.il>
... There's no place like $HOME