Pessoal, 
 
Gostaria de compartilhar uma situaçao e se alguem conhece uma maneira de 
solucionar ficaria grato.
seguinte os servidores da empresa funciona com slackware 11 kernel 2.4.33 e 
detalhe eu nao posso atualizar pq a aplicaçao da empresa so roda em kernel 2.4 
, agora surgiu a necessidade de utilizar modem 3g como link reserva, o modem 
que tenho é o HUAWEI MODEL: E1756, com ajuda do usb_modeswitch consegui iniciar 
o processo numa boa como segue nos log a baixo, o fato é que a porta de 
comunicaçao com o modem que "deveria" ser a ttyUSB0, nao responde.
OBS: FIZ O MESMO PROCEDIMENTO EM OUTRO SERVIDOR QUE UTILIZA KERNEL 2.6 E TUDO 
FUNCIONOU.
entao a pergunta é: Alguem conhece uma maneira de rodar esse modem mesmo em 
kernel 2.4? existe alguma maneira de forçar a habilitaçao da porta ttyUSB0? ou 
no kernel 2.4 o modem responde em uma porta diferente? detalhe que executei o 
wvdialconf e nao tive retorno positivo, os servidores nao tem area grafica, so 
modo texto.

aguardo qualquer tipo de sugestao.
 
### Iniciando o usb_modeswitch###

 usb_modeswitch -c /etc/usb_modeswitch.d/12d1\:1446
Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found devices in default mode or class (1)
Accessing device 005 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI
   Model String: Mass Storage
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
 OK, message successfully sent
 Device is gone, skipping any further commands
Checking for mode switch (max. 20 times, once per second) ...
 Original device is gone already, not checking
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Found correct target device
Mode switch succeeded. Bye.
 
>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<
### Configuraçao do wvdial ###
 
wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
ISDN = 0
; Password = <Your Password>
; Username = <Your Login Name>
Modem = /dev/ttyUSB0
Baud = 9600
[Dialer 3g]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","zap.vivo.com.br"
Password = vivo
Check Def Route = on
Phone = *99#
Modem Type = Analog Modem
Stupid mode = 1
Baud = 921600
Auto DNS = on
DialCommand = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Username = vivo
Auto Reconnect = off
FlowControl = Hardware(CRTSCTS)
 
>>>>>>>>>>>>>>><<<<<<<<<<
 
Resposta do wvdialconf
 
root@servt# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttyS1 first, /dev/modem is a link to it.
Modem Port Scan<*1>: S1
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>: S2   S3   S4   S5   S6   S7   S8
Modem Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
Modem Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
Modem Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31  ACM0
Modem Port Scan<*1>: ACM1 ACM2 ACM3 USB0 USB1

Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
 
#### retorno do wvdial ####
 
wvdial 3g
--> WvDial: Internet dialer version 1.56 (root@gateway)
--> Cannot open /dev/ttyUSB0: No such device
--> Cannot open /dev/ttyUSB0: No such device
--> Cannot open /dev/ttyUSB0: No such device


OBS: o mais curioso é que durante o processo de configuraçao eu cheguei a 
conecta uma unica vez, mais logo em seguida nenhuma outra tentativa teve 
sucesso. 
 
[]´s  
 

“A passagem do tempo deve ser uma conquista e não uma perda.” 
“Viver é a única coisa que não dá para deixar para depois.”


                                          

-- 
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br

Antes de perguntar:
http://www.istf.com.br/perguntas/

Para sair da lista envie um e-mail para:
[email protected]

Responder a