[SIS] AC'97 Modem - Problema con teleconomy 2
Ciao e scusate se mi intrometto.
Anche io ho problemi a connettermi con teleconomy e sono proprio agli inizi con Linux, quindi ho usato ScanModem per avere qualche informazione sul tipo di Modem che monta il mio Laptop (ASUS L3350M):
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:02.6 1039:7013 1043:1696 Modem: Silicon Integr. Systems [SiS] AC'97Modem
Quindi un “Low level” driver snd-intel8x0m (ALSA) che dovrebbe essere affiancato da un slmodemd.gcc4.2 da compilare con ALSA support option.
Quindi ho proceduto:
#cp slmodemd /usr/sbin/slmodemd
#chmod +x /usr/sbin/slmodemd
# slmodemd --alsa -c ITALY modem:1
SmartLink Soft Modem: version 2.9.11 Nov 21 2007 09:03:10
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `modem:1' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
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
ttyS4<Info>: No such device or address
Modem Port Scan<*1>: S4
ttyS5<Info>: No such device or address
Modem Port Scan<*1>: S5
ttyS6<Info>: No such device or address
Modem Port Scan<*1>: S6
ttyS7<Info>: No such device or address
Modem Port Scan<*1>: S7
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Quindi ho ottenuto il seguente
wvdial.conf
[Dialer Defaults]
Init1 = ATX3
Init2 = ATX3Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
#Init3 = ATX3
Modem = /dev/ttySL0
Phone = 7020187187
Idle Seconds = 300
Modem Type = Analog Modem
#Stupid Mode = 1
Compuserve = 0
Baud = 460800
Auto DNS = 1
Dial Command = ATM1L3 DT
Ask Password = 0
ISDN = 0
Password = telecom
Username = telecom
Carrier check = no
Ha questo punto lasciando aperto su un terminale:
# slmodemd --alsa -c ITALY modem:1
SmartLink Soft Modem: version 2.9.11 Nov 21 2007 09:03:10
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `modem:1' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
ho provato su un altro terminale a lanciare
#wvdial
--> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
--> Cannot get 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.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT7020187187
--> Waiting for carrier.
ATDT7020187187
--> Timed out while dialing. Trying again.
--> Sending: ATDT7020187187
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATDT7020187187
--> Waiting for carrier.
Tra l'altro il modem non emette alcun segnale acustico, come invece succede se lo lancio con windows.
Ha questo punto ho cercato di fare delle prove apportando delle variazioni a wvdial.conf, soprattutto sulla stringa Init2:
Aggiungendo X3 dopo E1, oppure ATX3 e togliento Init3, oppure cambiando +FCLASS=0 con +MS=34 oppure +MS=90.
Purtroppo quando lancio wvdial ottengo sempre lo stesso messaggio:
Sending: ATDT7020187187
Waiting for carrier.
Timed out while dialing. Trying again
A questo punto non so veramente più cosa fare pertando ho pensato di aprire questo post con la speranza di trovare un aiuto.
Grazie per l'attenzione.
Amos
|