[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

ˇˇAYUDA!! CONFIGURACIÓN DEL MÓDEM



    Tengo un módem interno SupraExpress 56i V PRO. Cuando veo sus
características en el Administrador de Dispositivos de Windows me da
estos datos:

        Puerto: COM3
        Int.:      09
        Mem.:  03E8-03EF
        ( Conetado al bus PCI )

    Pues bien, cuando llegué tan contento a Linux e intenté configurar
el módem, nada funcionó. Primero, seguí los consejos de la revista "Sólo
Linux", en su número 1, donde se incluía la distribución Red-Hat 5.1
(aunque a mí me instalaron la versión de Eurielec), en lo referente al
puerto (COM3-ttyS2), irq, etc., y el programa setserial. Entonces hacía:

        #setserial -b /dev/ttyS2 irq 9 port 0x3e8 skip_test autoconfig
        #setserial /dev/ttyS2 spd_vhi

    Incluso he creado el script /etc/rc.d/rc.serial (que no existía) con
estas líneas. Pero nada de nada.
    También lo he intentado ayudándome del "Serie-Como" del INFSLUG, con
el programa uugetty. He creado el fichero /etc/conf.uugetty.ttyS2 tal y
como viene allí (cambiando las referencias a cua3 por cua2, claro);
luego, he incluído la siguiente línea en /etc/inittab:

        S2:23456:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS2
ttyS2 F115200

    (La línea correspondiente a F115200 venía ya en /etc/gettydefs, así
que este archivo no lo he tocado).

    Pues con ésto tampoco ... Aparece un mensaje tal que asín:
      " Id S2: respawning too fast: disabled for 5 minutes "

    He probado con minicom (no hace nada, no se oye nada, ...), con
Seyon desde X Window (aparecen varias ventanitas de errores, algo así
como que no reconoce ningún dispositivo en ese puerto), y nada ... :-(

    Por si algún alma caritativa se apiada de mí, ahí van además unos
cuantos ficheros adjuntos relacionados con el tema.
    Si alguien necesita más información sobre mi caso no tiene más que
pedirla, aunque he de aclarar que mis conocimientos sobre Linux son
escasos... ¡vamos, que soy novato!

    Gracias muchas por anticipado, y perdón por las molestias.
# Extraído de "Serie-Como" del INFSLUG
# Ejemplo de fichero de configuración para un módem compatible
# Hayes para permitir las conexiones a través de módem.
# Fichero de bloqueo alternativo a comprobar... si este fichero
# de bloqueo existe, entonces uugetty se ejecuta de nuevo 
# y el módem se reinicia.
ALTLOCK=cua2
ALTLINE=cua2
# Línea a inicializar
INITLINE=cua2
# Tiempo para desconectar si está inactivo
TIMEOUT=60
# Cadena de inicialización del módem
# Formato: <esperando> <enviado> ... (secuencia de chat)
INIT="" ATA\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
# Esta línea configura el tiempo de espera 
# antes de enviar el mensaje de login
DELAY=1
#DEBUG=010


# [ put this file in /etc/gettydefs ]
#
# This file contains the startup and final flags for the
# tty lines.  Each line starts with a SPEED value; this is
# the same SPEED that you pass to [uu]getty.  Note that the
# SPEED identifier is just a string; use whatever names
# you want.
#
# The blank lines in this file are important (so I hear).
#
# The flags are the same flags you would pass to the stty
# program.
#
# Format: <speed># <init flags> # <final flags> #<login string>#<next-speed>
#
#
# Virtual Console entry
VC# B9600 SANE CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #VC

# 38400 fixed baud Dumb Terminal entry
DT38400# B38400 CS8 CLOCAL CRTSCTS # B38400 SANE -ISTRIP CLOCAL CRTSCTS #@S login: #DT38400

# 19200 fixed baud Dumb Terminal entry
DT19200# B19200 CS8 CLOCAL # B19200 SANE -ISTRIP CLOCAL #@S login: #DT19200

# 9600 baud Dumb Terminal entry
DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #DT9600

# 230400 fixed-baud modem entry
F230400# B230400 CS8 CRTSCTS # B230400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F230400

# 115200 fixed-baud modem entry
F115200# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F115200

# 57600 fixed-baud modem entry
F57600# B57600 CS8 CRTSCTS # B57600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F57600

# 38400 fixed-baud modem entry
F38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F38400

# 19200 fixed-baud modem entry
F19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F19200

# 9600 fixed-baud modem entry
F9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F9600

# 2400 fixed-baud modem entry
F2400# B2400 CS8 CRTSCTS # B2400 SANE -ISTRIP HUPCL CRTSCTS #@S login:  #F2400

# 230400 autobauding Modem entry with hard flow control
230400# B230400 CS8 CRTSCTS # B230400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #115200

115200# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #57600

57600# B57600 CS8 CRTSCTS # B57600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #38400

38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #19200

19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #9600

9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #2400

2400# B2400 CS8 CRTSCTS # B2400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #230400

#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels en drinkel nl mugnet org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Things to run in every runlevel.
ud::once:/sbin/update

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:12345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/usr/bin/X11/xdm -nodaemon

# Línea añadida el día 26/04/1999 19:02 h.
# ¡¡ Prueba del módem !!
S2:23456:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS2 ttyS2 F115200



[Hilos de Discusión] [Fecha] [Tema] [Autor]