Foros del Web » Administración de Sistemas » Unix / Linux »

Problema con módem

Estas en el tema de Problema con módem en el foro de Unix / Linux en Foros del Web. Hola. No tengo experiencia en el mundo de Linux. Agradecería enormemente la ayuda que alguien pudiera darme sobre un problema que tengo con un módem. ...
  #1 (permalink)  
Antiguo 24/09/2008, 06:50
 
Fecha de Ingreso: septiembre-2008
Mensajes: 2
Antigüedad: 15 años, 7 meses
Puntos: 0
Problema con módem

Hola.

No tengo experiencia en el mundo de Linux.
Agradecería enormemente la ayuda que alguien pudiera darme sobre un problema que tengo con un módem.

Información acerca de mi instalación:
Ubuntu 8.04 Linux (i386).
HSF 56k Data/Fax Modem


Pasos realizados:

--------------------------------------------------------------------------------------------------
$ sudo dpkg -i libc6-dev_2.7-10ubuntu3_i386.deb

sudo: unable to resolve host Equipo
(Leyendo la base de datos ...
100919 ficheros y directorios instalados actualmente.)
Preparando para reemplazar libc6-dev 2.3.6.ds1-13etch7 (usando libc6-dev_2.7-10ubuntu3_i386.deb) ...
Desempaquetando el reemplazo de libc6-dev ...
Configurando libc6-dev (2.7-10ubuntu3) ...

--------------------------------------------------------------------------------------------------
$ sudo dpkg -i patch*.deb
sudo: unable to resolve host Equipo
Seleccionando el paquete patch previamente no seleccionado.
(Leyendo la base de datos ...
100935 ficheros y directorios instalados actualmente.)
Desempaquetando patch (de patch_2.5.9-4_i386.deb) ...
Configurando patch (2.5.9-4) ...

--------------------------------------------------------------------------------------------------
$ sudo dpkg -i alsa-driver*.deb
sudo: unable to resolve host Equipo
(Leyendo la base de datos ...
100944 ficheros y directorios instalados actualmente.)
Preparando para reemplazar alsa-driver-linuxant 1.0.17.5-1 (usando alsa-driver-linuxant_1.0.17.5-1_all.deb) ...
Desempaquetando el reemplazo de alsa-driver-linuxant ...
Configurando alsa-driver-linuxant (1.0.17.5-1) ...
Building kernel modules for the 2.6.24-19-generic kernel, please wait... done.
Conexant HSF softmodem driver, version 7.68.00.13full

If you need license keys, assistance or more information, please go to:
http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

Pre-built driver modules that seem compatible with your system were found under
/usr/lib/hsfmodem/modules/binaries/linux-2.6.24-19-generic-SMP.

Automatically guessed region (using timezone): "SPAIN"

Setting region for modem unit 0: "SPAIN"

To change, use "hsfconfig --region" or "AT+GCI=<T35code>"
The current region can be displayed by entering "ATI9" in a terminal program.

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati

Current parameters: ("hsfconfig --info")

Config for modem unit 0: /dev/ttySHSF0
Device instance: 0-PCI-14f1:2013-1092:0b22
HW revision : Basic2 2.15 Standard DAA
HW profile name: hsfpcibasic2
Registration ID: 0C42-DD43-7D29
License owner : unknown
License key : FREE
License status : FREE (max 14.4kbps data only)
Current region : SPAIN (T.35 code: 00A0)

The /dev/modem alias (symlink) points to ttySHSF0

To enable full 56K modem and FAX functionality, enter your license information
with "hsfconfig --license".

License owner and key data must EXACTLY match the information respectively
provided to and by Linuxant. Otherwise, license status will remain "FREE"!

--------------------------------------------------------------------------------------------------
$ sudo dpkg -i hsfmodem*.deb
sudo: unable to resolve host Equipo
[sudo] password for antonio:
(Leyendo la base de datos ...
100944 ficheros y directorios instalados actualmente.)
Preparando para reemplazar hsfmodem 7.68.00.13full-k2.6.24-19-generic-1.ubuntu (usando hsfmodem_7.68.00.13full_k2.6.24_19_generic_ubuntu_ i386.deb) ...
Desempaquetando el reemplazo de hsfmodem ...
Configurando hsfmodem (7.68.00.13full-k2.6.24-19-generic-1.ubuntu) ...
Conexant HSF softmodem driver, version 7.68.00.13full

If you need license keys, assistance or more information, please go to:
http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

Warning: existing driver modules found under:
/lib/modules/2.6.24-19-generic/

Pre-built driver modules that seem compatible with your system were found under
/usr/lib/hsfmodem/modules/binaries/linux-2.6.24-19-generic-SMP.

Setting region for modem unit 0: "SPAIN"

To change, use "hsfconfig --region" or "AT+GCI=<T35code>"
The current region can be displayed by entering "ATI9" in a terminal program.

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati

Current parameters: ("hsfconfig --info")

Config for modem unit 0: /dev/ttySHSF0
Device instance: 0-PCI-14f1:2013-1092:0b22
HW revision : Basic2 2.15 Standard DAA
HW profile name: hsfpcibasic2
Registration ID: 0C42-DD43-7D29
License owner : unknown
License key : FREE
License status : FREE (max 14.4kbps data only)
Current region : SPAIN (T.35 code: 00A0)

The /dev/modem alias (symlink) points to ttySHSF0

To enable full 56K modem and FAX functionality, enter your license information
with "hsfconfig --license".

License owner and key data must EXACTLY match the information respectively
provided to and by Linuxant. Otherwise, license status will remain "FREE"!


--------------------------------------------------------------------------------------------------
/etc/wvdial.conf:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
Carrier Check = no
New PPPD = yes
Modem = /dev/modem
ISDN = 0
Phone = [ Telefono de mi servidor de internet ]
Password = [ Mi clave ]
Username = [ Mi nombre de usuario ]

--------------------------------------------------------------------------------------------------
$ ls -la /usr/sbin/pppd
-rwsr-xr-- 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd

--------------------------------------------------------------------------------------------------
$ sudo chmod a+x /usr/sbin/pppd

--------------------------------------------------------------------------------------------------
$ ls -la /usr/sbin/pppd
-rwsr-xr-x 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd

--------------------------------------------------------------------------------------------------
$ sudo wvdialconf
sudo: unable to resolve host Equipo
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5
Modem Port Scan<*1>: SHSF6 SHSF7

Found a modem on /dev/ttySHSF0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

--------------------------------------------------------------------------------------------------
$ wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT900902030
--> Waiting for carrier.
ATDT900902030
CONNECT 460800
--> Carrier detected. Waiting for prompt.
NO CARRIER
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Wed Sep 24 00:40:18 2008
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 7552


--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------

Y NO SUCEDE NADA MÁS. PARECE QUE SE QUEDA ESPERANDO ALGO. La pantalla se mostrando la última línea indefinidamente "Pid of pppd: 7552".


Muchas gracias por vuestra ayuda.
Antonio
  #2 (permalink)  
Antiguo 12/11/2008, 08:10
 
Fecha de Ingreso: septiembre-2008
Mensajes: 2
Antigüedad: 15 años, 7 meses
Puntos: 0
Respuesta: Problema con módem. ¡SOLUCIÓN!

Esta es la solución
¡Era extremadamente sencilla!
Resumiendo solo había que añadir “Stupid Mode = yes” en /etc/wvdial.conf.

GRACIAS A TODOS POR VUESTRO INTERÉS.

Por cierto, en Ubuntu.10 no hay que instalar libc6-dev*.deb, patch*.deb, alsa-driver*.deb. Tan solo hsfmodem*.deb y ¡listo!

Pasos:

En /etc/wvdial.conf:
[Dialer Defaults]
Auto DNS = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
New PPPD = yes
Modem = /dev/modem
Stupid Mode = yes
Carrier Check = no
;Baud = 460800
Phone = My telephone
Username = My username
Password = My Password

En /etc/ppp/options:
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

$ sudo chmod a+x /usr/sbin/pppd
$ ls -la /usr/sbin/pppd
-rwsr-xr-x 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd

$ sudo chmod a+rw /etc/ppp/pap-secrets
$ ls -la /etc/ppp/pap-secrets
-rw-rw-rw- 1 root root 1627 2008-09-29 22:35 /etc/ppp/pap-secrets

$ sudo chmod a+rw /etc/ppp/chap-secrets
$ ls -la /etc/ppp/chap-secrets
-rw-rw--rw- 1 root root 79 2008-09-29 22:36 /etc/ppp/chap-secrets


NOTA: En estos archivos hay información que debe mantenerse CONFIDENCIAL, como el Nombre_usuario y el Password. Convendría cambiarlos a sus valores originales.

$ sudo wvdial--> WvDial: Internet dialer version 1.60
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT900902030
--> Waiting for carrier.
ATDT900902030
CONNECT 460800
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 29 16:50:45 2008
--> Pid of pppd: 7501
--> Using interface ppp0
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> pppd: p�[06][08] �[06][08]
--> local IP address 80.102.248.9
--> pppd: p�[06][08] �[06][08]
--> remote IP address 62.36.211.20
--> pppd: p�[06][08] �[06][08]
--> primary DNS address 62.36.225.150
--> pppd: p�[06][08] �[06][08]
--> secondary DNS address 62.37.228.20
--> pppd: p�[06][08] �[06][08]

La shell queda “inhabilitada” y no podemos seguir escribiendo comandos en línea. Para evitar eso podíamos escribir:

$ sudo wvdial &


Ahora podemos navegar esciribiendo una dirección web en el navegador de internet.

toni_lx
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:24.