嵌入式爱好者

查看: 6954|回复: 17

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

[复制链接]

14

主题

71

帖子

110

积分

扫一扫,手机访问本帖
发表于 2012-4-6 11:34:58 | 显示全部楼层 |阅读模式
我使用的3g无线网卡为ZTE:AC2726  CDMA2000,使用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
回复

使用道具 举报

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 11:38:06 | 显示全部楼层
我使用的3g无线网卡为ZTE:AC2726  CDMA2000,使用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

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 11:41:56 | 显示全部楼层
怎么发送不完呢?分批发吧

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 11:43:28 | 显示全部楼层
我使用的3g无线网卡为ZTE:AC2726  CDMA2000,使用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

14

主题

71

帖子

110

积分

 楼主| 发表于 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

14

主题

71

帖子

110

积分

 楼主| 发表于 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

14

主题

71

帖子

110

积分

 楼主| 发表于 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

14

主题

71

帖子

110

积分

 楼主| 发表于 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
local  IP 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 提示信息
/********************************************************************************/
[root@FORLINX6410]# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:90:90:90:90:90
          inet addr:192.168.1.232  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric: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

[root@FORLINX6410]#
/********************************************************************************/

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

Pinging www.a.shifen.com [61.135.169.105] 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 不通

/**/
[root@FORLINX6410]# 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
[root@FORLINX6410]#
/**/

ok6410 下ping 百度dns  不通

/**/
[root@FORLINX6410]# 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
[root@FORLINX6410]# 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
[root@FORLINX6410]#
/**/

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

1

主题

3670

帖子

4181

积分

发表于 2012-4-6 13:07:40 | 显示全部楼层
ping www.sina.com试试
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 15:01:02 | 显示全部楼层
开发板上电后,我就去拨号连接,发现连接通了。ping新浪,百度和DNS服务器都通了。但是没有1分钟,就断线了。不知道为什么。
提示如下
[root@FORLINX6410]# ifconfig
ppp0      Link encap:Point-to-Point Protocol
          inet addr:1.198.138.96  P-t-P:115.168.79.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric: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)

[root@FORLINX6410]# ifconfig
[root@FORLINX6410]# ping 222.85.85.85
PING 222.85.85.85 (222.85.85.85): 56 data bytes
ping: sendto: Network is unreachable
[root@FORLINX6410]#

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 15:02:54 | 显示全部楼层
能不能把3GDiaup的源代码给我一份,谢谢!616000432@qq.com

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 15:04:14 | 显示全部楼层
[root@FORLINX6410]# 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
[root@FORLINX6410]# 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
[root@FORLINX6410]#

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 15:04:58 | 显示全部楼层
[root@FORLINX6410]# 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
[root@FORLINX6410]# 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
[root@FORLINX6410]# ifconfig
[root@FORLINX6410]# ping www.sina.com
ping: bad address 'www.sina.com'
[root@FORLINX6410]#
飞凌-tempest 该用户已被删除
发表于 2012-4-6 16:45:47 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

14

主题

71

帖子

110

积分

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

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-6 17:27:33 | 显示全部楼层
我是单位上班的,一个下午解决一个问题,还得等待半天回复。真服了。

0

主题

1836

帖子

1028

积分

发表于 2012-4-7 08:45:59 | 显示全部楼层
源码路径 Linux-3.0.1\apptest\QT ApplicationTest\3GTest

14

主题

71

帖子

110

积分

 楼主| 发表于 2012-4-11 10:17:12 | 显示全部楼层
谢谢!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-30 02:31

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表