-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Recentemente adquiri o Nokia e71 com plano de dados da VIVO.
Procurei na lista (e em outros lugares também) documentação referente a
configuração no Slackware mas não encontrei nada. Principalmente no que
era preciso configurar sobre a operadora VIVO.
Após juntar várias dicas na internet consegui efetuar a conexão e
resolvi postar todos os passos para caso alguém mais precise utilizar.
Atualmente estou utilizando o Slackware 13.1
Segue os passos:
OBS.: O CHIP do celular é da VIVO e, por isso, os dados
cadastrados no arquivo /etc/wvdial.conf são referentes a conexão com a VIVO.
Primeiramente tive que instalar 2 softwares (wvstreams e wvdial)
wvstreams:
- Baixe o fonte do site
http://alumnit.ca/wiki/index.php?page=DownloadReleases:
- Ou utilize o SlackBuilds disponível no site
http://slackbuilds.org:
# wget
http://slackbuilds.org/slackbuilds/13.1/libraries/wvstreams.tar.gz
# tar xzvf wvstreams.tar.gz
# cd wvstreams
# wget
http://wvstreams.googlecode.com/files/wvstreams-4.6.tar.gz
# ./wvstreams.SlackBuild
# installpkg
/tmp/wvstreams-4.6-i486-1_SBo.tgz
wvdial:
- Baixei o fonte do site
http://alumnit.ca/wiki/index.php?page=DownloadReleases:
# wget
http://wvstreams.googlecode.com/files/wvdial-1.61.tar.gz
# tar xzvf wvdial-1.61.tar.gz
# cd wvdial-1.61
# ./configure
# make
# make install
Instalado os 2 softwares, vamos para a configuração:
USANDO CABO DE DADOS:
Os passos abaixos foram realizados usando o cabo de
dados do Nokia
e71 entre o celular e o computador. Dessa forma consome menos bateria e
não esquenta tanto o celular quanto a conexão feita usando o celular
como access point ou bluetooth.
- Plugue o cabo de dados no celular e no computador
No celular, ao invés de usar a opção "Conectar
PC à internet" no
menu do E71, deve-se selecionar a opção "PC Suite", assim o computador
reconhecerá o smartphone como modem e permitirá fazer a discagem para
conexão 3G.
- Configure o wvdial:
Toda a configuração do WvDial está armazenada
no arquivo
/etc/wvdial.conf. Use o comando wvdialconf para tentar detectar seu modem:
# wvdialconf
Se ele detectou corretamente, as seguintes
informações serão mostradas:
# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
WvModem<*1>: Cannot get information for
serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 --
OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI --
Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that
should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0 -- OK
WvModem<*1>: Cannot get information for
serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- failed with
2400 baud, next try: 9600 baud
ttyACM1<*1>: ATQ0 V1 E1 -- failed with
9600 baud, next try: 115200 baud
ttyACM1<*1>: ATQ0 V1 E1 -- and failed
too at 115200, giving up.
Found an USB modem on /dev/ttyACM0.
/etc/wvdial.conf<Warn>: Can't open
'/etc/wvdial.conf' for reading:
No such file or directory
/etc/wvdial.conf<Warn>: ...starting
with blank configuration.
Modem configuration written to
/etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0
V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Agora precisamos configurar no arquivo
/etc/wvdial.conf as opções
"Phone", "Username" e "Password".
Como o CHIP é da VIVO, então essas opções
ficarão da seguinte forma:
Phone = *99#
Username = vivo
Password = vivo
PRONTO!
- Uso:
Agora basta digitar, como root, o comando wvdial
# wvdial
Uma mensagem semelhante à abaixo deverá ser
mostrada:
# wvdial
--> WvDial: Internet dialer version 1.61
--> 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.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f...@!}!} } }2}...@#}!}$}%\}"}&} }*}
} g}%~
--> Carrier detected. Waiting for
prompt.
~[7f...@!}!} } }2}...@#}!}$}%\}"}&} }*}
} g}%~
--> PPP negotiation detected.
--> Starting pppd at Xxx Nov x
xx:xx:xx 2010
--> Pid of pppd: 5094
--> Using interface ppp0
--> pppd: è[06][08]À£[06][08]
--> pppd: è[06][08]À£[06][08]
--> pppd: è[06][08]À£[06][08]
--> pppd: è[06][08]À£[06][08]
--> pppd: è[06][08]À£[06][08]
--> local IP address xxx.xx.xx.xxx
--> pppd: è[06][08]À£[06][08]
--> remote IP address xx.x.x.x
--> pppd: è[06][08]À£[06][08]
--> primary DNS address
200.xxx.xxx.xxx
--> pppd: è[06][08]À£[06][08]
--> secondary DNS address 200.xxx.xxx.xx
--> pppd: è[06][08]À£[06][08
Precisaremos definir ainda os servidores de
DNS. Pode ser usados os
informados para conexão com a VIVO (msg acima), do OpenDNS, do Google, e
etc.
Se tudo deu certo, a conexão estará funcionando
corretamente!
- --
Diego Bellin
Linux Registered User # 298011
LPIC-1 Certified: LPI ID: LPI000121316
Verification Code: r23fcwp5gn
SOLIS - O lado livre da tecnologia
http://www.solis.coop.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzVVhsACgkQquMt3P/qwu+9SACggyWaVdgmjpmwj6zgHNb2i8z1
ifUAn3qa3yr1IKyo/j2tFbPtecipWoaR
=PwXw
-----END PGP SIGNATURE-----
--
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]