LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2161|回复: 12

3G TD-SCDMA上网的问题

[复制链接]
发表于 2009-6-12 23:04:18 | 显示全部楼层 |阅读模式
有没有人用中国移动的TD-SCDMA上网的。
我不知道安装什么驱动程序,也不知道用什么软件拨号。google了一周,试了好多方法都不行。
我用的是ZTE MU350 USB接口。
发表于 2009-6-12 23:13:56 | 显示全部楼层
1, 请联系zte的客服
2, 请拨打10086客服咨询……
3, 如果以上2点都不行,请耐心投诉。
回复 支持 反对

使用道具 举报

发表于 2009-6-13 00:57:59 | 显示全部楼层
估计会建议你使用Windows操作系统。
回复 支持 反对

使用道具 举报

发表于 2009-6-13 06:37:42 | 显示全部楼层
以上两楼均为正解
回复 支持 反对

使用道具 举报

发表于 2009-6-13 10:07:40 | 显示全部楼层
MU350 就是一个UART的modem,所以用标准的拨号程序就可以,内核中只要有usb-serial部分即可
回复 支持 反对

使用道具 举报

发表于 2009-6-13 17:22:35 | 显示全部楼层
用usb-serial和option模块,但是这款产品在windows下是免驱的,插上先识别出来是存储设备,要用usb_modeswitch或者eject将其卸载掉,然后才识别出来是modem,会生成ttyUSB0等结点,然后可以用ppp调用拨号脚本或者用0.71的networkmanager连接
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-15 01:01:13 | 显示全部楼层
daniel@Thinkpad_T41 ~ $ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
#将USB MU350连接到电脑后显示如下信息(已配置完 usb_modeswitch)
KERNEL[1244997763.329956] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
KERNEL[1244997763.342066] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[1244997763.342174] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/ttyUSB0 (usb-serial)
KERNEL[1244997763.342239] add      /class/tty/ttyUSB0 (tty)
KERNEL[1244997763.342301] add      /class/usb_endpoint/usbdev3.5_ep04 (usb_endpoint)
KERNEL[1244997763.342360] add      /class/usb_endpoint/usbdev3.5_ep84 (usb_endpoint)
KERNEL[1244997763.342419] add      /class/usb_endpoint/usbdev3.5_ep00 (usb_endpoint)
UDEV  [1244997763.397402] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2 (usb)
UDEV  [1244997763.429766] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 (usb)
UDEV  [1244997763.431237] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/ttyUSB0 (usb-serial)
UDEV  [1244997763.491387] add      /class/usb_endpoint/usbdev3.5_ep04 (usb_endpoint)
UDEV  [1244997763.493294] add      /class/usb_endpoint/usbdev3.5_ep84 (usb_endpoint)
UDEV  [1244997763.501381] add      /class/usb_endpoint/usbdev3.5_ep00 (usb_endpoint)
UDEV  [1244997763.589803] add      /class/tty/ttyUSB0 (tty)

daniel@Thinkpad_T41 ~ $ sudo lsusb
Bus 003 Device 005: ID 19d2:0003 ONDA Communication S.p.A.

daniel@Thinkpad_T41 ~ $ sudo lsusb -v -s 003:005

Bus 003 Device 005: ID 19d2:0003 ONDA Communication S.p.A.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x19d2 ONDA Communication S.p.A.
  idProduct          0x0003
  bcdDevice            1.00
  iManufacturer           1 ZTE Corp
  iProduct                2 TD-SCDMA USB Modem
  iSerial                 3 012345678901
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6 ZTE USB Mass Storage Device
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

daniel@Thinkpad_T41 ~ $ ls /dev/ttyUSB* -l
crw-rw---- 1 root uucp 188, 0 2009-06-15 00:42 /dev/ttyUSB0

Thinkpad_T41 daniel # udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/class/tty/ttyUSB0':
    KERNEL=="ttyUSB0"
    SUBSYSTEM=="tty"
    DRIVER==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/ttyUSB0':
    KERNELS=="ttyUSB0"
    SUBSYSTEMS=="usb-serial"
    DRIVERS=="generic"
    ATTRS{port_number}=="0"

  looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0':
    KERNELS=="3-2:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="usbserial_generic"
    ATTRS{bInterfaceNumber}=="00"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="02"
    ATTRS{bInterfaceClass}=="08"
    ATTRS{bInterfaceSubClass}=="06"
    ATTRS{bInterfaceProtocol}=="50"
    ATTRS{modalias}=="usb:v19D2p0003d0100dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="0"
    ATTRS{interface}=="ZTE USB Mass Storage Device"

  looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2':
    KERNELS=="3-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bMaxPower}=="500mA"
    ATTRS{urbnum}=="23"
    ATTRS{idVendor}=="19d2"
    ATTRS{idProduct}=="0003"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="12"
    ATTRS{busnum}=="3"
    ATTRS{devnum}=="5"
    ATTRS{version}==" 1.10"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="ZTE Corp"
    ATTRS{product}=="TD-SCDMA USB Modem"
    ATTRS{serial}=="012345678901"

  looking at parent device '/devices/pci0000:00/0000:00:1d.1/usb3':
    KERNELS=="usb3"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="96"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0001"
    ATTRS{bcdDevice}=="0206"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="12"
    ATTRS{busnum}=="3"
    ATTRS{devnum}=="1"
    ATTRS{version}==" 1.10"
    ATTRS{maxchild}=="2"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.29-gentoo-r5 uhci_hcd"
    ATTRS{product}=="UHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.1"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.1':
    KERNELS=="0000:00:1d.1"
    SUBSYSTEMS=="pci"
    DRIVERS=="uhci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x24c4"
    ATTRS{subsystem_vendor}=="0x1014"
    ATTRS{subsystem_device}=="0x052d"
    ATTRS{class}=="0x0c0300"
    ATTRS{irq}=="11"
    ATTRS{local_cpus}=="ffffffff,ffffffff"
    ATTRS{local_cpulist}=="0-63"
    ATTRS{modalias}=="pci:v00008086d000024C4sv00001014sd0000052Dbc0Csc03i00"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""

Thinkpad_T41 daniel # cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init1 = ATZ
Init3 = ATE0V1
Init5 = ATS0=0
Init6 = AT+CFUN=1
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
ISDN = 0
Phone = *99***1#
Password = any
Username = any
Stupid Mode = 1

#已将本用户加入到了 uucp, dialout组
Thinkpad_T41 daniel # wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
回复 支持 反对

使用道具 举报

发表于 2009-8-10 11:45:38 | 显示全部楼层
我也碰到同样的问题,使用usb-modeswitch后,出现/dev/ttyUSB0,但是使用 wvdial 后,出现的提示和楼上的一模一样
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-10 12:11:10 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2009-8-10 18:34:40 | 显示全部楼层
我就是参照这个帖子做的,但是就是不行,wvdialconf也无法设别/dev/ttyUSB0为有效的modem设备
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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