Autor Tópico: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10  (Lida 75402 vezes)

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #45 Online: 29 de Novembro de 2010, 19:30 »
Vamos também preparar pra testar sua conexão via wvdial.

Instale o pacote "wvdial" ("apt-get install wvdial").

Depois, crie o arquivo "/etc/wvdial.conf" com o conteúdo abaixo.
Citar
[Dialer Defaults]
Modem Type = Analog Modem
Baud = 3600000
New PPPD = yes
Modem = /dev/ttyUSB2
Init1 = ATZ
Init2=AT +CFUN=0
Init3 = ATQ0 V1 E1
#Init4 = AT S0=0
#Init5 = ATQ0 &C1 &D2
Init8 = AT +FCLASS=0
Init9 = AT+CGDCONT=1,"IP","www.tim.com.br"
ISDN = 0
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>
Phone = *99***1#
Username = Tim
Password = tim
Stupid Mode = 1
ISDN = 0

[Dialer TimWeb]
Modem = /dev/ttyUSB0

[Dialer TimWeb1]
Modem = /dev/ttyUSB1

[Dialer TimWeb2]
Modem = /dev/ttyUSB2

[Dialer TimWeb3]
Modem = /dev/ttyUSB3

Esse arquivo, da forma como está, está calibrado pro meu modem. Fiz uma alteração, pra gente poder testar as portas do seu modem.

Depois de criar o arquivo, execute o comando

sudo wvdial TimWeb2

Veja se conecta. Se não conectar, tente os outros (TimWeb1, TimWeb3 e TimWeb0). Assim nós vamos descobrir com certeza a porta do seu modem.

Feito isso, vc já vai poder conectar via comando; fica faltando só a gente descobrir como configurar pra conectar diretamente do NM.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #46 Online: 29 de Novembro de 2010, 19:39 »
Todos eles ñ conectaram porém o TimWeb03 teve uma msg difente...
Código: [Selecionar]
pc@pc-desktop:~$ sudo wvdial TimWeb2
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
pc@pc-desktop:~$ sudo wvdial TimWeb1
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
pc@pc-desktop:~$ sudo wvdial TimWeb0
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer TimWeb0] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
pc@pc-desktop:~$ sudo wvdial TimWeb3
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT +CFUN=0
AT +CFUN=0
OK
--> Sending: ATQ0 V1 E1
ATQ0 V1 E1
OK
--> Sending: AT +FCLASS=0
AT +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","www.tim.com.br"
AT+CGDCONT=1,"IP","www.tim.com.br"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
ERROR
--> Invalid dial command.
--> Disconnecting at Mon Nov 29 19:37:12 2010

Uma pergunta para que, que serve esse wvdial?

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #47 Online: 29 de Novembro de 2010, 21:36 »
Serve pra vc conectar uma conexão discada.

O modem 3G simula uma conexão discada, assim vc pode usar o wvdial pra fazer a conexão, e assim não precisamos depender do funcionamento do NM.

Lembra que fizemos, antes, um teste direto com o "modem-manager"? Gostaria de tentar isso de novo.

sudo killall -TERM modem-manager; sudo modem-manager --debug
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #48 Online: 29 de Novembro de 2010, 21:48 »
Código: [Selecionar]
killall -TERM modem-manager; sudo modem-manager --debug
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Sierra
** Message: Loaded plugin Nokia
** Message: Loaded plugin ZTE
** Message: Loaded plugin Longcheer
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin Gobi
** Message: Loaded plugin Option
** Message: Loaded plugin AnyData
** Message: Loaded plugin Huawei
** Message: Loaded plugin MotoC
** Message: Loaded plugin Generic
** Message: Loaded plugin Novatel
** Message: (ttyUSB0) opening serial device...
** (modem-manager:15655): DEBUG: (ttyUSB0): probe requested by plugin 'ZTE'
** Message: (ttyUSB1) opening serial device...
** (modem-manager:15655): DEBUG: (ttyUSB1): probe requested by plugin 'ZTE'
** Message: (ttyUSB2) opening serial device...
** (modem-manager:15655): DEBUG: (ttyUSB2): probe requested by plugin 'ZTE'
** Message: (ttyUSB3) opening serial device...
** (modem-manager:15655): DEBUG: (ttyUSB3): probe requested by plugin 'ZTE'
** (modem-manager:15655): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB3): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB3): <-- '<CR><LF>+CPMS: "ME",3,100,"ME",3,100,"ME",3,100<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:15655): DEBUG: (ttyUSB3): --> 'AT+GCAP<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB3): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:15655): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB3): <-- '<CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF>'
** Message: (ttyUSB3) closing serial device...
** (modem-manager:15655): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** Message: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1 claimed port ttyUSB3
** (modem-manager:15655): DEBUG: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1
** (modem-manager:15655): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:15655): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB1) closing serial device...
** Message: (ttyUSB2) closing serial device...


Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #49 Online: 29 de Novembro de 2010, 22:30 »
Seu modem está com o SIM, que está ativo, não? Vc já o utilizou em outra máquina ou SO, correto?
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #50 Online: 29 de Novembro de 2010, 22:37 »
Eu já testei em um PC com Windows e conecta de boa sim.

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #51 Online: 30 de Novembro de 2010, 10:23 »
OK. Seu modem já aparece no Gerenciador de Redes? Provavelmente haverá uma opção pra criar uma nova conexão com ele.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #52 Online: 30 de Novembro de 2010, 10:34 »
Sim ele identificou o modem pelo gerenciador de rede, até msm antes de instalar o wvdial, criei a conexão, qnd o estou com o modem plugado vejo a conexão criada.
Só que ao clicar ele tenta conectar e ñ conecta.

Isso com certeza é a configuração desse indivíduo, eu tinha visto em algum lugar a um tempo atrás (ótimas referências, ñ é? rs rs) , que a TIM havia mudado algumas configurações, porém ainda ñ as achei.

Só pra desencargo, com o modem Huawei eu ñ precisava desse wvdial, mas antes usava com o plano da Vivo.

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #53 Online: 30 de Novembro de 2010, 10:43 »
Veja só, no Ubuntu, há uma opção de criar a conexão indicando a operadora. Dá uma fuçada pelo gerenciador de redes, vê se encontra.

Digo no Ubuntu pois no Kubuntu eu tenho que colocar essas informações por mim mesmo. As que eu uso são:
- Banda Larga Móvel
   - Número: *99#
   - Nome do usuário: tim
   - Senha: tim
   - APN: www.tim.com.br
   - Tipo: 3G (UTMS/HSPA) (¹)
   - PIN: <em branco> (²)
   - PUK: <em branco> (²)
- PPP: Marcados: autenticação, PAP, CHAP, MSCHAPV2, MSCHAP, EAP, Permitir compressão BSD, Permitir compressão deflate, Usar compressão de cabeçalho TCP, Enviar pacotes de eco PPP.

(¹) - O assistente de conexão do Gerenciador de redes do Gnome (usado no Ubuntu) tem esse campo, mas é um campo de texto. Eu não sei qual é o valor a ser usado pra selecionar o tipo de rede, então sugiro que deixe em branco. No KDE, é uma lista predefinida, então é só selecionar.
(²) - PIN e PUK são proteções do seu SIM. Vc só vai usar se tiver selecionado isso em algum outro lugar, pois aqui nunca vi como ativar.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #54 Online: 30 de Novembro de 2010, 10:56 »
No meu caso mudei o APN e marquei o Enviar pacotes de eco PPP.
Não vi o ítem Tipo: 3G (UTMS/HSPA).

Uma pergunta...
Como tive que desinstalar o antigo usb-modeswitch e instalar o novo, precisaria criar aquele arquivo que vc falou em uns posts atras, o "/etc/usb_modeswitch.d/19d2:2000:uPr=ONDA_WCDMA_Technologies_MSM", pois ele ñ existe mais.

Vou tentar aqui fazer isso e te passar o comando tail -f /var/log/syslog
« Última modificação: 30 de Novembro de 2010, 11:09 por Cálcio »

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #55 Online: 30 de Novembro de 2010, 11:10 »
Código: [Selecionar]
killall -TERM modem-manager ; modem-manager --debug
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Sierra
** Message: Loaded plugin Nokia
** Message: Loaded plugin ZTE
** Message: Loaded plugin Longcheer
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin Gobi
** Message: Loaded plugin Option
** Message: Loaded plugin AnyData
** Message: Loaded plugin Huawei
** Message: Loaded plugin MotoC
** Message: Loaded plugin Generic
** Message: Loaded plugin Novatel
** Message: (ttyUSB0) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB0): probe requested by plugin 'ZTE'
** Message: (ttyUSB1) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB1): probe requested by plugin 'ZTE'
** Message: (ttyUSB2) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB2): probe requested by plugin 'ZTE'
** Message: (ttyUSB3) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB3): probe requested by plugin 'ZTE'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+ZSMSR: <CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+CPMS: "ME",3,100,"ME",3,100,"ME",3,100<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB3): --> 'AT+GCAP<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** Message: (ttyUSB3) closing serial device...
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** Message: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5 claimed port ttyUSB3
** (modem-manager:8454): DEBUG: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB1) closing serial device...
** Message: (ttyUSB2) closing serial device...
** (modem-manager:8454): DEBUG: Removing modem claimed by removed device /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5
** (modem-manager:8454): DEBUG: Removed modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5

** (modem-manager:8454): WARNING **: failed to marshal parameter 1 for signal DeviceRemoved
** Message: (ttyUSB1) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB1): probe requested by plugin 'ZTE'
** Message: (ttyUSB0) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB0): probe requested by plugin 'ZTE'
** Message: (ttyUSB2) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB2): probe requested by plugin 'ZTE'
** Message: (ttyUSB3) opening serial device...
** (modem-manager:8454): DEBUG: (ttyUSB3): probe requested by plugin 'ZTE'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- 'ATE0+CPMS?<CR><CR><LF>ERROR<CR><LF>'
** (modem-manager:8454): DEBUG: Got failure code 100: Unknown error
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>ERROR<CR><LF>'
** (modem-manager:8454): DEBUG: Got failure code 100: Unknown error
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>ERROR<CR><LF>'
** (modem-manager:8454): DEBUG: Got failure code 100: Unknown error
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+ZPSTM: 10,5365727669096F732054494D;2,4D6575204D656E752054494D;3,536F6E73;4,43616E616973;5,4368617420646F20626C616821;6,4465736166696F;7,4167656E6461204C44;8,54494D204167656E6461;9,54494D20546F727065646F;11,54494D20436F667265;12,452D6D61696C;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+CME ERROR: SIM busy<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+ZPSTM: 10,5365727669096F732054494D;2,4D6575204D656E752054494D;3,536F6E73;4,43616E616973;5,4368617420646F20626C616821;6,4465736166696F;7,4167656E6461204C44;8,54494D204167656E6461;9,54494D20546F727065646F;11,54494D20436F667265;12,452D6D61696C;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+CPMS: "ME",3,100,"ME",3,100,"ME",3,100<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB3): --> 'AT+GCAP<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB3): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** Message: (ttyUSB3) closing serial device...
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CPMS: "ME",3,100,"ME",3,100,"ME",3,100<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5 claimed port ttyUSB3
** (modem-manager:8454): DEBUG: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ttyUSB1) closing serial device...
** (modem-manager:8454): DEBUG: Exported modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5 as /org/freedesktop/ModemManager/Modems/0
** Message: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5 claimed port ttyUSB1
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB0): --> 'ATE0+CPMS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB2): --> 'ATE0+CPMS?<CR>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB2) closing serial device...
** Message: (ttyUSB1) opening serial device...
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+ZSMSR: <CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZMTime: 5;<CR><LF><CR><LF>+ZEND<CR><LF><CR><LF>+ZEND<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATE0 V1<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+CPIN?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATZ E0 V1 X4 &C1 +CMEE=1;+CFUN=1;<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>OK<CR><LF>'
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled)
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+CPIN?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+COPS=0,,<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+CREG?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CREG: 0,1<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: Registration state changed: 1
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabled -> registered)
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+COPS=3,2;+COPS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+COPS: 0,2,"72402",2<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+COPS=3,0;+COPS?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+COPS: 0,0,"TIM Brasil",2<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+CSQ<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CSQ: 15,99<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'AT+CGDCONT?<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>+CGDCONT: 1,"IP","www.tim.com.br","0.0.0.0",0,0<CR><LF>+CGDCONT: 2,"IP","tim.br","0.0.0.0",0,0<CR><LF><CR><LF>OK<CR><LF>'
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (registered -> connecting)
** (modem-manager:8454): DEBUG: (ttyUSB1): --> 'ATD*99***1#<CR>'
** (modem-manager:8454): DEBUG: (ttyUSB1): <-- '<CR><LF>CONNECT 7200000<CR><LF>'
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (connecting -> connected)
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (connected -> disconnecting)
** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disconnecting -> registered)

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #56 Online: 30 de Novembro de 2010, 11:10 »
Código: [Selecionar]
tail -f /var/log/syslog
Nov 30 10:56:21 pc-desktop kernel: [ 4609.923198] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33739 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 10:58:06 pc-desktop modem-manager: Caught signal 15, shutting down...
Nov 30 10:58:06 pc-desktop modem-manager: (ttyUSB1) closing serial device...
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  modem manager disappeared
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  (ttyUSB1): now unmanaged
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 3 -> 1 (reason 36)
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  (ttyUSB1): cleaning up...
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  (ttyUSB1): taking down device.
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  Trying to start the modem-manager...
Nov 30 10:58:06 pc-desktop NetworkManager: <info>  modem-manager is now available
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376609] usb 1-5: USB disconnect, address 10
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376683] option: option_instat_callback: error -108
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376845] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376863] option 1-5:1.0: device disconnected
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376975] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 30 10:58:51 pc-desktop kernel: [ 4759.376989] option 1-5:1.1: device disconnected
Nov 30 10:58:51 pc-desktop kernel: [ 4759.377094] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 30 10:58:51 pc-desktop kernel: [ 4759.377107] option 1-5:1.2: device disconnected
Nov 30 10:58:51 pc-desktop kernel: [ 4759.400481] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Nov 30 10:58:51 pc-desktop kernel: [ 4759.400496] option 1-5:1.4: device disconnected
Nov 30 10:59:01 pc-desktop kernel: [ 4769.370013] usb 1-5: new high speed USB device using ehci_hcd and address 11
Nov 30 10:59:01 pc-desktop kernel: [ 4769.521960] usb 1-5: configuration #1 chosen from 1 choice
Nov 30 10:59:01 pc-desktop kernel: [ 4769.525838] scsi12 : SCSI emulation for USB Mass Storage devices
Nov 30 10:59:01 pc-desktop kernel: [ 4769.525898] usb-storage: device found at 11
Nov 30 10:59:01 pc-desktop kernel: [ 4769.525899] usb-storage: waiting for device to settle before scanning
Nov 30 10:59:02 pc-desktop usb_modeswitch: switching 19d2:2000 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 30 10:59:03 pc-desktop kernel: [ 4771.300246] usb 1-5: USB disconnect, address 11
Nov 30 10:59:08 pc-desktop kernel: [ 4776.370020] usb 1-5: new high speed USB device using ehci_hcd and address 12
Nov 30 10:59:08 pc-desktop kernel: [ 4776.522103] usb 1-5: configuration #1 chosen from 1 choice
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525198] option 1-5:1.0: GSM modem (1-port) converter detected
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525273] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525328] option 1-5:1.1: GSM modem (1-port) converter detected
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525367] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525421] option 1-5:1.2: GSM modem (1-port) converter detected
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525460] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB2
Nov 30 10:59:08 pc-desktop kernel: [ 4776.525581] scsi13 : SCSI emulation for USB Mass Storage devices
Nov 30 10:59:08 pc-desktop kernel: [ 4776.529327] option 1-5:1.4: GSM modem (1-port) converter detected
Nov 30 10:59:08 pc-desktop kernel: [ 4776.529427] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB3
Nov 30 10:59:08 pc-desktop kernel: [ 4776.530859] usb-storage: device found at 12
Nov 30 10:59:08 pc-desktop kernel: [ 4776.530860] usb-storage: waiting for device to settle before scanning
Nov 30 10:59:09 pc-desktop usb_modeswitch: switched to 19d2:0091 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 30 10:59:13 pc-desktop kernel: [ 4781.530447] usb-storage: device scan complete
Nov 30 10:59:13 pc-desktop kernel: [ 4781.531039] scsi 13:0:0:0: Direct-Access     ONDA     MMC Storage      2.31 PQ: 0 ANSI: 2
Nov 30 10:59:13 pc-desktop kernel: [ 4781.531745] sd 13:0:0:0: Attached scsi generic sg3 type 0
Nov 30 10:59:13 pc-desktop kernel: [ 4781.536032] sd 13:0:0:0: [sdc] Attached SCSI removable disk
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): new GSM device (driver: 'option1')
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): exported as /org/freedesktop/NetworkManager/Devices/4
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): now managed
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 1 -> 2 (reason 2)
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): deactivating device (reason: 2).
Nov 30 10:59:21 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 2 -> 3 (reason 0)
Nov 30 11:01:23 pc-desktop kernel: [ 4911.141758] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33749 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:01:25 pc-desktop kernel: [ 4913.143785] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33750 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:01:26 pc-desktop kernel: [ 4914.144875] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33751 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:01:27 pc-desktop kernel: [ 4915.145976] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33752 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:06:28 pc-desktop kernel: [ 5216.391790] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33758 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:06:30 pc-desktop kernel: [ 5218.393762] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33759 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:06:31 pc-desktop kernel: [ 5219.394823] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33760 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:06:32 pc-desktop kernel: [ 5220.395913] Inbound IN=eth0 OUT= MAC=00:24:21:59:82:f2:00:07:95:05:7d:c6:08:00 SRC=192.168.0.2 DST=192.168.0.101 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=33761 PROTO=UDP SPT=137 DPT=137 LEN=70
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) starting connection 'TIM'
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 3 -> 4 (reason 0)
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 4 -> 6 (reason 0)
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 6 -> 4 (reason 0)
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 2 of 5 (Device Configure) scheduled...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 2 of 5 (Device Configure) starting...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 4 -> 5 (reason 0)
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 2 of 5 (Device Configure) successful.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) scheduled.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 2 of 5 (Device Configure) complete.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) started...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 5 -> 7 (reason 0)
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Starting pppd connection
Nov 30 11:07:59 pc-desktop NetworkManager: <debug> [1291122479.879364] nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute user tim ttyUSB1 noipdefault noauth usepeerdns lcp-echo-failure 5 lcp-echo-interval 30 ipparam /org/freedesktop/NetworkManager/PPP/3 plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so
Nov 30 11:07:59 pc-desktop NetworkManager: <debug> [1291122479.880253] nm_ppp_manager_start(): ppp started with pid 9219
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 4 of 5 (IP6 Configure Get) scheduled...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) complete.
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 4 of 5 (IP6 Configure Get) started...
Nov 30 11:07:59 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) Stage 4 of 5 (IP6 Configure Get) complete.
Nov 30 11:07:59 pc-desktop pppd[9219]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Nov 30 11:07:59 pc-desktop pppd[9219]: pppd 2.4.5 started by root, uid 0
Nov 30 11:07:59 pc-desktop pppd[9219]: Removed stale lock on ttyUSB1 (pid 7809)
Nov 30 11:07:59 pc-desktop pppd[9219]: Using interface ppp0
Nov 30 11:07:59 pc-desktop pppd[9219]: Connect: ppp0 <--> /dev/ttyUSB1
Nov 30 11:07:59 pc-desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 30 11:07:59 pc-desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Nov 30 11:08:19 pc-desktop NetworkManager: <WARN>  pppd_timed_out(): Looks like pppd didn't initialize our dbus module
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 7 -> 9 (reason 14)
Nov 30 11:08:20 pc-desktop pppd[9219]: Terminating on signal 15
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  Marking connection 'TIM' invalid.
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) failed.
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 9 -> 3 (reason 0)
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  (ttyUSB1): deactivating device (reason: 0).
Nov 30 11:08:20 pc-desktop NetworkManager: <info>  Policy set 'Oi Velox' (eth0) as default for routing and DNS.
Nov 30 11:08:22 pc-desktop NetworkManager: <debug> [1291122502.001932] ensure_killed(): waiting for ppp pid 9219 to exit
Nov 30 11:08:22 pc-desktop NetworkManager: <debug> [1291122502.058985] ensure_killed(): ppp pid 9219 cleaned up
Nov 30 11:08:22 pc-desktop NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  modem manager disappeared
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  (ttyUSB1): now unmanaged
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 3 -> 1 (reason 36)
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  (ttyUSB1): cleaning up...
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  (ttyUSB1): taking down device.
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  Trying to start the modem-manager...
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Option High-Speed
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Sierra
Nov 30 11:08:55 pc-desktop NetworkManager: <info>  modem-manager is now available
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Nokia
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin ZTE
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Longcheer
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Ericsson MBM
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Gobi
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Option
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin AnyData
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Huawei
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin MotoC
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Generic
Nov 30 11:08:55 pc-desktop modem-manager: Loaded plugin Novatel
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB0) opening serial device...
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB0): probe requested by plugin 'ZTE'
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB1) opening serial device...
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB1): probe requested by plugin 'ZTE'
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB2) opening serial device...
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB2): probe requested by plugin 'ZTE'
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB3) opening serial device...
Nov 30 11:08:55 pc-desktop modem-manager: (ttyUSB3): probe requested by plugin 'ZTE'
Nov 30 11:09:01 pc-desktop CRON[9321]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
Nov 30 11:09:01 pc-desktop modem-manager: (ttyUSB3) closing serial device...
Nov 30 11:09:02 pc-desktop modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5 claimed port ttyUSB3
Nov 30 11:09:02 pc-desktop modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5
Nov 30 11:09:13 pc-desktop modem-manager: (ttyUSB0) closing serial device...
Nov 30 11:09:14 pc-desktop modem-manager: (ttyUSB1) closing serial device...
Nov 30 11:09:16 pc-desktop modem-manager: (ttyUSB2) closing serial device...
« Última modificação: 30 de Novembro de 2010, 11:24 por Cálcio »

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.736
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #57 Online: 30 de Novembro de 2010, 11:43 »
Ele está tentando conectar. Chegou a conectar uma vez, mas houve um problema em outro módulo.

Vc tem outra conexão, certo? Verifique se todos os seus pacotes estão atualizados.

sudo apt-get update && sudo apt-get dist-upgrade
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Cálcio

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Ubuntu 14.04
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #58 Online: 30 de Novembro de 2010, 11:57 »
Pediu para atualizar 2 pacotes, e já atualizei:
Os pacotes a seguir serão atualizados:
  libpurple-bin libpurple0
2 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.

Mas ainda nada.

Código: [Selecionar]
tail -f /var/log/syslog
Nov 30 11:53:38 pc-desktop NetworkManager: <info>  Activation (ttyUSB1) failed.
Nov 30 11:53:38 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 9 -> 3 (reason 0)
Nov 30 11:53:38 pc-desktop NetworkManager: <info>  (ttyUSB1): deactivating device (reason: 0).
Nov 30 11:53:38 pc-desktop pppd[12778]: Terminating on signal 15
Nov 30 11:53:38 pc-desktop modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (connected -> disconnecting)
Nov 30 11:53:38 pc-desktop NetworkManager: <info>  Policy set 'Oi Velox' (eth0) as default for routing and DNS.
Nov 30 11:53:39 pc-desktop modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (disconnecting -> registered)
Nov 30 11:53:40 pc-desktop NetworkManager: <debug> [1291125220.001140] ensure_killed(): waiting for ppp pid 12778 to exit
Nov 30 11:53:40 pc-desktop NetworkManager: <debug> [1291125220.059000] ensure_killed(): ppp pid 12778 cleaned up
Nov 30 11:53:40 pc-desktop NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 30 11:53:51 pc-desktop modem-manager: (ttyUSB1) closing serial device...
Nov 30 11:53:51 pc-desktop modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (registered -> disabled)
Nov 30 11:53:51 pc-desktop modem-manager: Removed modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1
Nov 30 11:53:51 pc-desktop NetworkManager: <info>  (ttyUSB1): now unmanaged
Nov 30 11:53:51 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 3 -> 1 (reason 36)
Nov 30 11:53:51 pc-desktop NetworkManager: <info>  (ttyUSB1): cleaning up...
Nov 30 11:53:51 pc-desktop NetworkManager: <info>  (ttyUSB1): taking down device.
Nov 30 11:53:51 pc-desktop kernel: [ 8059.322922] usb 1-1: USB disconnect, address 16
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323121] option: option_instat_callback: error -108
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323291] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323310] option 1-1:1.0: device disconnected
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323440] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323449] option 1-1:1.1: device disconnected
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323552] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 30 11:53:51 pc-desktop kernel: [ 8059.323566] option 1-1:1.2: device disconnected
Nov 30 11:53:51 pc-desktop kernel: [ 8059.350575] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Nov 30 11:53:51 pc-desktop kernel: [ 8059.350592] option 1-1:1.4: device disconnected
Nov 30 11:53:59 pc-desktop kernel: [ 8067.040025] usb 1-1: new high speed USB device using ehci_hcd and address 17
Nov 30 11:53:59 pc-desktop kernel: [ 8067.191989] usb 1-1: configuration #1 chosen from 1 choice
Nov 30 11:53:59 pc-desktop kernel: [ 8067.196125] scsi18 : SCSI emulation for USB Mass Storage devices
Nov 30 11:53:59 pc-desktop kernel: [ 8067.197568] usb-storage: device found at 17
Nov 30 11:53:59 pc-desktop kernel: [ 8067.197570] usb-storage: waiting for device to settle before scanning
Nov 30 11:53:59 pc-desktop usb_modeswitch: switching 19d2:2000 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 30 11:54:00 pc-desktop kernel: [ 8068.978399] usb 1-1: USB disconnect, address 17
Nov 30 11:54:06 pc-desktop kernel: [ 8074.061461] usb 1-1: new high speed USB device using ehci_hcd and address 18
Nov 30 11:54:06 pc-desktop kernel: [ 8074.212257] usb 1-1: configuration #1 chosen from 1 choice
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215351] option 1-1:1.0: GSM modem (1-port) converter detected
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215427] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215484] option 1-1:1.1: GSM modem (1-port) converter detected
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215527] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215580] option 1-1:1.2: GSM modem (1-port) converter detected
Nov 30 11:54:06 pc-desktop kernel: [ 8074.215621] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov 30 11:54:06 pc-desktop kernel: [ 8074.220715] scsi19 : SCSI emulation for USB Mass Storage devices
Nov 30 11:54:06 pc-desktop kernel: [ 8074.226272] option 1-1:1.4: GSM modem (1-port) converter detected
Nov 30 11:54:06 pc-desktop kernel: [ 8074.226368] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
Nov 30 11:54:06 pc-desktop kernel: [ 8074.230856] usb-storage: device found at 18
Nov 30 11:54:06 pc-desktop kernel: [ 8074.230859] usb-storage: waiting for device to settle before scanning
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB2) opening serial device...
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB2): probe requested by plugin 'ZTE'
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB1) opening serial device...
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB1): probe requested by plugin 'ZTE'
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB3) opening serial device...
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB3): probe requested by plugin 'ZTE'
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB0) opening serial device...
Nov 30 11:54:06 pc-desktop modem-manager: (ttyUSB0): probe requested by plugin 'ZTE'
Nov 30 11:54:07 pc-desktop usb_modeswitch: switched to 19d2:0091 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 30 11:54:10 pc-desktop modem-manager: Got failure code 100: Unknown error
Nov 30 11:54:10 pc-desktop modem-manager: Got failure code 100: Unknown error
Nov 30 11:54:11 pc-desktop kernel: [ 8079.230465] usb-storage: device scan complete
Nov 30 11:54:11 pc-desktop kernel: [ 8079.231065] scsi 19:0:0:0: Direct-Access     ONDA     MMC Storage      2.31 PQ: 0 ANSI: 2
Nov 30 11:54:11 pc-desktop kernel: [ 8079.231880] sd 19:0:0:0: Attached scsi generic sg3 type 0
Nov 30 11:54:11 pc-desktop kernel: [ 8079.236226] sd 19:0:0:0: [sdc] Attached SCSI removable disk
Nov 30 11:54:12 pc-desktop modem-manager: Got failure code 100: Unknown error
Nov 30 11:54:12 pc-desktop modem-manager: Got failure code 100: Unknown error
Nov 30 11:54:19 pc-desktop modem-manager: (ttyUSB3) closing serial device...
Nov 30 11:54:21 pc-desktop modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1 claimed port ttyUSB3
Nov 30 11:54:21 pc-desktop modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1
Nov 30 11:54:22 pc-desktop modem-manager: (ttyUSB1) closing serial device...
Nov 30 11:54:22 pc-desktop modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1 as /org/freedesktop/ModemManager/Modems/2
Nov 30 11:54:22 pc-desktop modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1 claimed port ttyUSB1
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): new GSM device (driver: 'option1')
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): exported as /org/freedesktop/NetworkManager/Devices/7
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): now managed
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 1 -> 2 (reason 2)
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): deactivating device (reason: 2).
Nov 30 11:54:22 pc-desktop NetworkManager: <info>  (ttyUSB1): device state change: 2 -> 3 (reason 0)
Nov 30 11:54:28 pc-desktop modem-manager: (ttyUSB2) closing serial device...
Nov 30 11:54:29 pc-desktop modem-manager: (ttyUSB0) closing serial device...

Isso já virou uma odisseia.

Offline galafuz

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re: Configura o modem movel ONDA MSA110UP da TIM no ubuntu 9.10
« Resposta #59 Online: 01 de Dezembro de 2010, 22:26 »
Também continuo sem conseguir fazer esse modem funcionar, no meu caso, por conta dos servidores DNS. Instalei o pacote resolvconf como o zekkerj sugeriu mas não mudou nada.

Procurei dicas na net e tudo que consegui achar foi pra comentar a linha "usepeerdns" no arquivo /etc/ppp/peers/wvdial e colocar a opção "Auto DNS = Off" no /etc/wvdial.conf. Depois dizem pra adicionar os endereços DNS certos no arquivo /etc/resolv.conf

Porém quando faço isso, ele simplesmente não acha nenhum servidor DNS, por mais tempo que eu dê a ele. Se habilito o Auto DNS e/ou o usepeerdns ele passa a encontrar servidores DNS, mas em mais de noventa por cento das vezes ele sobrescreve o resolv.conf com servidores errados que ele acha (esses servidores são 10.11.12.13 e 10.11.12.14). O mais bizarro é que umas duas outras vezes, não sei como ou porque, ele conseguiu achar os servidores DNS corretos e a conexão funcionou, porém quando desconectei e tentei conectar de novo na sequência ele voltou a colocar os servidores errados.

Alguém tem alguma idéia de como posso resolver isso?

Obrigado pela ajuda.