Newsgroup: it.comp.os.linux.sys
Titolo: modem "in ascolto!"

 Frantz Collini
Prova a mettere questa riga in /etc/inittab
s0:12345:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS0 ttyS0 F57600 vt100
Ti riporto anche il file /etc/default/uugetty.ttyS0 ache se penso che non sia
diverso a quello che troverai di default.
guarda nel file /etc/gettydefs che ci sia la entry F57600 o simile (comunque
così dovresti settare la veloecita del terminale)
Facendo ripartire il PC dovresti avere la uugetty in ascolto.
Con minicom (facendo il tuo numero di telefono chi ti chiama arriva alla tua
login)
# [ put this file in /etc/uugetty.<line> ]
#
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# this config file sets up uugetty to use the RINGBACK feature for
# answering calls.
# ringback enable.  The defaults are trusted here (and are pretty sane).
# first, one to three rings, then hangup and call back within 6 and 60
# seconds.
RINGBACK=YES
MINRBTIME = 7
MAXRBTIME = 21
INTERRING = 6
MINRINGS = 1
MAXRINGS = 2
DEBUG=010
# line to use to do initialization.  All INIT, OFF, and WAITFOR functions
# are handled on this line.  If this line is not specified, any other
# program that wants to share the line (like kermit, uucp, seyon) will
# fail.  This line will also be checked for lockfiles.
#
# format: <line> (without the /dev/)
INITLINE=cua0
# timeout to disconnect if idle...
TIMEOUT=60
# modem initialization string... Sets the modem not to auto-answer
#
# format: <expect> <send> ... (chat sequence)
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n AT\sM1\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n
# waitfor string... if this sequence of characters is received over the line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence.  This chat sequence is performed
# after the WAITFOR string is found.  The \A character automatically sets
# the baudrate to the characters that are found, so if you get the message
# CONNECT 2400, the baud rate is set to 2400 baud.
#
# format: <expect> <send> ... (chat sequence)
CONNECT="" ATA\r CONNECT\s\A
# this line sets the time to delay before sending the login banner
DELAY=1
DEBUG=010
2)
Io sono un utente infostrada ecco i miei script:
/etc/ppp/option
# General configuration options for PPPD:
lock
defaultroute
modem
/dev/ttyS0
57600
crtscts
# Uncomment the line below for more verbose error reporting:
#debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do.  To work around this,
# uncomment the line below.  Note that this may have negative side effects
# on system security if you allow PPP dialins.  See the docs in /usr/doc/ppp*
# for more information.
noauth
asyncmap 0
name "
dev...@libero.it
"
remotename libero
#name "simone.stanzani"
#remotename tiscalinet
#name "
sst...@tin.it
"
#remotename tin
mtu 552
mru 552
/etc/ppp/pap-secrets
# Username      Server      Password      IP addresses
"
dev...@libero.it
" libero        "xxxxxx"
"
sst...@tin.it
"     tin           "xxxxxx"
"simone.stanzani"   tiscalinet    "xxxxx"
(Le passwords non te le ho messe.....)
/etc/ppp/pppscript
TIMEOUT         3
ABORT           '\nBUSY\r'
ABORT           '\nNO ANSWER\r'
ABORT           '\nRINGING\r\n\r\nRINGING\r'
''              \rAT
'OK-+++\c-OK'   ATH0
TIMEOUT         30
#OK              ATDT0518490000
#OK              ATDT0516437511
OK              ATDT0519901010
CONNECT         "\~"
Per lanciare la connessione uso uno script standard ppp-go (Io ho una
slackware)
ppp-off per disconnettersi.
Spero di esserti stato utile
                        CIAO
                                Simone

 wrote in message
391204DE...@libero.it...


andata!
Occhio!! sii gentile anche tu, non ripostare 200 righe per aggiungerne
due.
Ciao.roberto
-- 
Save our planet!
Save wildlife;
For your E-MAIL use only recycled Bytes !!
roberto poggi  
rpo...@softhome.net

scusami, non sono forse molto sveglio!
Ciao!
Frantz Collini