[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem 3G Huawei E156B (Vivo)



consequi facil..

1)kernel config-2.6.30.4
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y 

2)# lsusb
Bus 003 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 003 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 15d9:0a4c  
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

3)# ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Dez 25 09:22 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Dez 25 08:42 /dev/ttyUSB1


4)/etc/resolv.conf
# resolv.conf created by pppconfig for tim
nameserver 208.67.220.220
nameserver 208.67.222.222


5)usei o pppconfig 
Modem = /dev/ttyUSB0
──────────────────────────┤ "Propriedades de tim" ├───────────────────────────┐
│ Please select the property you wish to modify, select "Cancel" to go back    │
│                                                                              │
│            Number   *99#                 Número de Telefone                  │
│            User     tim                  Nome do usuário no ISP              │
│            Password tim                  Senha no ISP                        │
│            Speed    921600               Velocidade da porta                 │
│            Com                           Porta COM do modem                  │
│            Method   PAP                  Método de autenticação              │
│

6) #pon tim
# plog
Dec 25 09:22:13 notebook pppd[5187]: sent [IPCP ConfReq id=0x6 <addr 189.117.157.213>]
Dec 25 09:22:13 notebook pppd[5187]: rcvd [IPCP ConfAck id=0x6 <addr 189.117.157.213>]
Dec 25 09:22:14 notebook pppd[5187]: rcvd [IPCP ConfReq id=0x3]
Dec 25 09:22:14 notebook pppd[5187]: sent [IPCP ConfAck id=0x3]
Dec 25 09:22:14 notebook pppd[5187]: Could not determine remote IP address: defaulting to 10.64.64.64
Dec 25 09:22:14 notebook pppd[5187]: Cannot determine ethernet address for proxy ARP
Dec 25 09:22:14 notebook pppd[5187]: local  IP address 189.117.157.213
Dec 25 09:22:14 notebook pppd[5187]: remote IP address 10.64.64.64
Dec 25 09:22:14 notebook pppd[5187]: Script /etc/ppp/ip-up started (pid 5207)
Dec 25 09:22:15 notebook pppd[5187]: Script /etc/ppp/ip-up finished (pid 5207), 

7)# ifconfig
lo        Link encap:Loopback Local  
          inet end.: 127.0.0.1  Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACKRUNNING  MTU:16436  Métrica:1
          RX packets:299 errors:0 dropped:0 overruns:0 frame:0
          TX packets:299 errors:0 dropped:0 overruns:0 carrier:0
          colisões:0 txqueuelen:0 
          RX bytes:79369 (77.5 KiB)  TX bytes:79369 (77.5 KiB)

ppp0      Link encap:Protocolo Ponto-a-Ponto  
          inet end.: 189.117.157.213  P-a-P:10.64.64.64  Masc:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Métrica:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          colisões:0 txqueuelen:3 
          RX bytes:176 (176.0 B)  TX bytes:167 (167.0 B)


8)routeamento
#route add default ppp0

9)# ping www.linux.org
PING www.linux.org (198.182.196.56) 56(84) bytes of data.
64 bytes from www.linux.org (198.182.196.56): icmp_seq=1 ttl=52 time=538 ms
64 bytes from www.linux.org (198.182.196.56): icmp_seq=2 ttl=52 time=560 ms

Espero ter ajudado..

-- 
Carlucio Lopes - 62-8415-8939 msn: carlinuxs@hotmail.com
http://www.tinycobol.org http://www.debian.org http://www.postgresql.org
l


Reply to: