zbj20082003 发表于 2012-4-6 11:34:58

3G无线网卡拨号上网问题

我使用的3g无线网卡为ZTE:AC2726CDMA2000,使用3GDialup拨号
拨号的提示信息:
/********************************************************************************/


Start connect CDMA2000, please wait......

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=0x19d2
DefaultProduct= 0xfff5
TargetVendor=   0x19d2
TargetProduct=not set
TargetClass=    not set
TargetProductList="fff1,ffff"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled


Looking for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
   found matching product ID
   adding device
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x0a (out) and 0x89 (in)
Using endpoints 0x0a (out) and 0x89 (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: ZTE   
   Model String: USB Storage FFF1
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
   Product: USB Storage
Serial No.: 000000000002
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x0a for message sending ...
Trying to send message 1 to endpoint 0x0a ...
OK, message successfully sent
Resetting response endpoint 0x89
Error resetting endpoint: -62
Resetting message endpoint 0x0a
Error resetting endpoint: -19
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff1
   found matching vendor ID
   found matching product ID from list
searching devices, found USB ID 1d6b:0001

Found target device, now opening

Found target device 003 on bus 001

Target device description data
-------------------------
Manufacturer: ZTE, Incorporated
   Product: ZTE CDMA Tech
Serial No.: not provided
-------------------------
Found correct target device

Mode switch succeeded. Bye.

abort on (NO CARRIER)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (BUSY)
abort on (NO ANSWER)
send (AT^M)
expect (OK)
AT^M^M
OK

zbj20082003 发表于 2012-4-6 11:38:06

我使用的3g无线网卡为ZTE:AC2726CDMA2000,使用3GDialup拨号
拨号的提示信息:
/********************************************************************************/


Start connect CDMA2000, please wait......

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=0x19d2
DefaultProduct= 0xfff5
TargetVendor=   0x19d2
TargetProduct=not set
TargetClass=    not set
TargetProductList="fff1,ffff"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled


Looking for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
   found matching product ID
   adding device
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x0a (out) and 0x89 (in)
Using endpoints 0x0a (out) and 0x89 (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: ZTE   
   Model String: USB Storage FFF1
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
   Product: USB Storage
Serial No.: 000000000002
-------------------------
Setting up communication with interfa

zbj20082003 发表于 2012-4-6 11:41:56

怎么发送不完呢?分批发吧

zbj20082003 发表于 2012-4-6 11:43:28

我使用的3g无线网卡为ZTE:AC2726CDMA2000,使用3GDialup拨号
拨号的提示信息:
/********************************************************************************/


Start connect CDMA2000, please wait......

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=0x19d2
DefaultProduct= 0xfff5
TargetVendor=   0x19d2
TargetProduct=not set
TargetClass=    not set
TargetProductList="fff1,ffff"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

zbj20082003 发表于 2012-4-6 11:44:06

InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled


Looking for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff5
   found matching vendor ID
   found matching product ID
   adding device
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x0a (out) and 0x89 (in)
Using endpoints 0x0a (out) and 0x89 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached

zbj20082003 发表于 2012-4-6 11:44:37

SCSI inquiry data (for identification)
-------------------------
Vendor String: ZTE   
   Model String: USB Storage FFF1
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
   Product: USB Storage
Serial No.: 000000000002
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x0a for message sending ...
Trying to send message 1 to endpoint 0x0a ...
OK, message successfully sent
Resetting response endpoint 0x89
Error resetting endpoint: -62
Resetting message endpoint 0x0a
Error resetting endpoint: -19
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 19d2:fff1
   found matching vendor ID
   found matching product ID from list
searching devices, found USB ID 1d6b:0001

zbj20082003 发表于 2012-4-6 11:45:40

Found target device, now opening

Found target device 003 on bus 001

Target device description data
-------------------------
Manufacturer: ZTE, Incorporated
   Product: ZTE CDMA Tech
Serial No.: not provided
-------------------------
Found correct target device

Mode switch succeeded. Bye.

abort on (NO CARRIER)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (BUSY)
abort on (NO ANSWER)
send (AT^M)
expect (OK)
AT^M^M
OK
-- got it

send (ATZ^M)
expect (OK)
^M
ATZ^M^M
OK
-- got it

zbj20082003 发表于 2012-4-6 11:47:25

send (AT+CFUN=1^M)
expect (OK)
^M
AT+CFUN=1^M^M
OK
-- got it

send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777^M^M
CONNECT
-- got it

send (^M)
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
PAP authentication succeeded
localIP address 1.198.224.117
remote IP address 115.168.79.5
primary   DNS address 222.85.85.85
secondary DNS address 222.88.88.88
Modem hangup
Connect time 0.2 minutes.
Sent 0 bytes, received 0 bytes.
Connection terminated.
/********************************************************************************/
但是使用ifconfig 提示信息
/********************************************************************************/
# ifconfig
eth0      Link encap:EthernetHWaddr 08:90:90:90:90:90
          inet addr:192.168.1.232Bcast:192.168.1.255Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
          RX packets:9537 errors:0 dropped:113 overruns:0 frame:0
          TX packets:554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:660144 (644.6 KiB)TX bytes:55561 (54.2 KiB)
          Interrupt:108 Base address:0xa000

#
/********************************************************************************/

xp下ping 百度后提示
/********/
C:\Documents and Settings\UserName>ping www.baidu.com

Pinging www.a.shifen.com with 32 bytes of data:

Reply from 61.135.169.105: bytes=32 time=793ms TTL=53
Reply from 61.135.169.105: bytes=32 time=634ms TTL=53
Reply from 61.135.169.105: bytes=32 time=607ms TTL=53
Reply from 61.135.169.105: bytes=32 time=803ms TTL=53

Ping statistics for 61.135.169.105:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 607ms, Maximum = 803ms, Average = 709ms

/********/

ok6410 下ping 百度ping 不通

/**/
# ping 61.135.169.105
PING 61.135.169.105 (61.135.169.105): 56 data bytes
^C
--- 61.135.169.105 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
#
/**/

ok6410 下ping 百度dns不通

/**/
# ping 222.88.88.88
PING 222.88.88.88 (222.88.88.88): 56 data bytes
^C
--- 222.88.88.88 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
# ping 222.85.85.85
PING 222.85.85.85 (222.85.85.85): 56 data bytes
^C
--- 222.85.85.85 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
#
/**/

不知道为什么,飞凌工程师帮忙给看看。

飞凌-chongzi 发表于 2012-4-6 13:07:40

ping www.sina.com试试

zbj20082003 发表于 2012-4-6 15:01:02

开发板上电后,我就去拨号连接,发现连接通了。ping新浪,百度和DNS服务器都通了。但是没有1分钟,就断线了。不知道为什么。
提示如下
# ifconfig
ppp0      Link encap:Point-to-Point Protocol
          inet addr:1.198.138.96P-t-P:115.168.79.5Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICASTMTU:1500Metric:1
          RX packets:112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:9142 (8.9 KiB)TX bytes:9136 (8.9 KiB)

# ifconfig
# ping 222.85.85.85
PING 222.85.85.85 (222.85.85.85): 56 data bytes
ping: sendto: Network is unreachable
#

zbj20082003 发表于 2012-4-6 15:02:54

能不能把3GDiaup的源代码给我一份,谢谢!616000432@qq.com

zbj20082003 发表于 2012-4-6 15:04:14

# ping 222.85.85.85
PING 222.85.85.85 (222.85.85.85): 56 data bytes
64 bytes from 222.85.85.85: seq=0 ttl=59 time=67.487 ms
64 bytes from 222.85.85.85: seq=1 ttl=59 time=73.728 ms
64 bytes from 222.85.85.85: seq=2 ttl=59 time=68.717 ms
^C
--- 222.85.85.85 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 67.487/69.977/73.728 ms
# ping www.sina.com
PING www.sina.com (59.175.132.113): 56 data bytes
64 bytes from 59.175.132.113: seq=0 ttl=56 time=82.758 ms
64 bytes from 59.175.132.113: seq=1 ttl=56 time=130.639 ms
64 bytes from 59.175.132.113: seq=2 ttl=56 time=90.608 ms
^C
--- www.sina.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 82.758/101.335/130.639 ms
#

zbj20082003 发表于 2012-4-6 15:04:58

# ping 222.85.85.85
PING 222.85.85.85 (222.85.85.85): 56 data bytes
64 bytes from 222.85.85.85: seq=0 ttl=59 time=67.487 ms
64 bytes from 222.85.85.85: seq=1 ttl=59 time=73.728 ms
64 bytes from 222.85.85.85: seq=2 ttl=59 time=68.717 ms
^C
--- 222.85.85.85 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 67.487/69.977/73.728 ms
# ping www.sina.com
PING www.sina.com (59.175.132.113): 56 data bytes
64 bytes from 59.175.132.113: seq=0 ttl=56 time=82.758 ms
64 bytes from 59.175.132.113: seq=1 ttl=56 time=130.639 ms
64 bytes from 59.175.132.113: seq=2 ttl=56 time=90.608 ms
^C
--- www.sina.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 82.758/101.335/130.639 ms
# ifconfig
# ping www.sina.com
ping: bad address 'www.sina.com'
#

飞凌-tempest 发表于 2012-4-6 16:45:47

zbj20082003 发表于 2012-4-6 17:23:41

我真不知道你们的服务怎么这么差,为什么在说有的时候,不能提供一下路径呢?你们的光盘里目录也是非常不合理,我想这个软件应该叫3GDialup吧,然后在光盘里搜索这个文件名或文件夹名。然后搜索,3GDialup,结果提示“搜索完毕,没有结果可显示”,我只好去文件夹里去找 ,视频光盘肯定应该没有,Android 2.3 也肯定没有,只有在OK6410-A6410官方基础资料-256里了,但是里面没有和实例代码相关的文件夹。一个一个点,点来点去,还是没有。

zbj20082003 发表于 2012-4-6 17:27:33

我是单位上班的,一个下午解决一个问题,还得等待半天回复。真服了。

飞凌-develop 发表于 2012-4-7 08:45:59

源码路径 Linux-3.0.1\apptest\QT ApplicationTest\3GTest

zbj20082003 发表于 2012-4-11 10:17:12

谢谢!
页: [1]
查看完整版本: 3G无线网卡拨号上网问题