Bus 001 Device 059: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
http://www.linuxdiyf.com/viewarticle.php?id=78128
华为e220!
root@tommy-desktop:/home/tommy/Desktop# vim /etc/wvdial.conf
[Dialer Defaults]
Phone = *99#
Username = Username
Password = Password
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
root@tommy-desktop:/home/tommy/Desktop# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> 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***2#
--> Waiting for carrier.
ATDT*99***2#
ERROR
--> Invalid dial command.
--> Disconnecting at Thu Sep 17 15:09:27 2009
root@tommy-desktop:/home/tommy/Desktop# vim /etc/wvdial.conf
root@tommy-desktop:/home/tommy/Desktop# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> 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
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Sep 17 15:13:39 2009
--> Pid of pppd: 14687
--> Using interface ppp0
--> local IP address 10.175.46.110
--> remote IP address 10.64.64.64
--> primary DNS address 211.138.200.69
--> secondary DNS address 211.103.13.101
UE600G
UE600G:19f5:9909 id
root@tommy-desktop:/# pppd connect 'chat -v "" "AT" "" "ATDT#777 CONNECT"' user CARD password CARD /dev/ttyUSB1 230400 nodetach crtscts debug usepeerdns defaultroute
Removed stale lock on ttyUSB1 (pid 7344)
Serial connection established.
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB1
rcvd [LCP ConfReq id=0x1 <mru 1448> <asyncmap 0x0> <auth chap MD5> <magic 0x30ff6511> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe8b40a27> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1448> <asyncmap 0x0> <auth chap MD5> <magic 0x30ff6511> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe8b40a27> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xe8b40a27]
rcvd [CHAP Challenge id=0x2 <49fe091341552cb74cc514a90fd9ca6b>, name = "utstar.com"]
sent [CHAP Response id=0x2 <cecfd570b95e28c3e27121dded8d93fb>, name = "CARD"]
rcvd [LCP EchoRep id=0x0 magic=0x30ff6511]
rcvd [CHAP Success id=0x2 "/000"]
CHAP authentication succeeded:
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x3 <compress VJ 07 00> <addr 115.168.74.45>]
sent [IPCP ConfAck id=0x3 <compress VJ 07 00> <addr 115.168.74.45>]
rcvd [CCP ConfReq id=0x4 < 11 06 00 01 01 01>]
sent [CCP ConfRej id=0x4 < 11 06 00 01 01 01>]
rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfReq id=0x2]
rcvd [IPCP ConfNak id=0x1 <compress VJ 07 00> <addr 117.61.107.212> <ms-dns1 61.177.7.1> <ms-dns3 218.2.135.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 07 00> <addr 117.61.107.212> <ms-dns1 61.177.7.1> <ms-dns3 218.2.135.1>]
rcvd [CCP TermAck id=0x5]
sent [CCP TermReq id=0x3"No compression negotiated"]
rcvd [IPCP ConfAck id=0x2 <compress VJ 07 00> <addr 117.61.107.212> <ms-dns1 61.177.7.1> <ms-dns3 218.2.135.1>]
not replacing existing default route via 192.168.1.2
Cannot determine ethernet address for proxy ARP
local IP address 117.61.107.212
remote IP address 115.168.74.45
primary DNS address 61.177.7.1
secondary DNS address 218.2.135.1
Script /etc/ppp/ip-up started (pid 7362)
rcvd [CCP TermAck id=0x3]
Script /etc/ppp/ip-up finished (pid 7362), status = 0x0