最近好诡异。。。

[不指定 2010/07/13 09:33 | by choatrue ]
不知道为什么。。。在公司上网。。。公司的OCC系统可以登录,我的博客可以登录。。。
然后在家,都登录不上。。。

难道铁通和电信的差距就这么大。。。24

好吧。。。好不容易来一次公司。。。所以一次性发了3篇博客。。。哇咔咔。。。开心中。。。98
首先,安装usb_modeswitch。
yum install usb_modeswitch
=============================================================================================================================
软件包                          架构               版本                        仓库                                    大小
=============================================================================================================================
正在安装:
usb_modeswitch                  i686               1.1.2-3.fc12                Everything-mirrors.163.com              46 k
为依赖而安装:
tcl                             i686               1:8.5.7-5.fc12              Everything-mirrors.163.com             1.9 M
usb_modeswitch-data             noarch             20100418-2.fc12             Everything-mirrors.163.com              32 k

事务概要
=============================================================================================================================
安装       3 软件包
更新       0 软件包

总下载量:2.0 M
Installed size: 4.5 M
我用的163的源,可以直接找到这个软件。
其次,修改配置文件
less /etc/usb_modeswitch.setup
/637(因为我的上网卡是637的,先确认自己的上网卡在支持列表中。。。可参考usb_modeswitch的官方主页,有支持的网卡型号)
找到后,修改
# ZTE MF637
#
# Contributor: Joakim Wennergren and others

DefaultVendor=  0x19d2
DefaultProduct= 0x0031

TargetVendor=   0x19d2
TargetProduct=  0x0031

# only for reference and 0.x versions
# MessageEndpoint=0x01

MessageContent="5553424312345678000000000000061b000000030000000000000000000000"

其中的0x19d2和0x0031,请参考你自己的本机。
lsusb
[root@choatrue dev]# lsusb
Bus 005 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04fc:05da Sunplus Technology Co., Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 011: ID 19d2:0031 ONDA Communication S.p.A.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
以上是我的机器的显示内容。。。

最后,切换成猫。。。
usb_modeswitch -W
Reading config file: /etc/usb_modeswitch.setup

* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0x0031
TargetVendor=   0x19d2
TargetProduct=  0x0031
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 011 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device

Looking for target devices ...
  searching devices, found USB ID 0483:2016
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04fc:05da
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 19d2:0031
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
  searching devices, found USB ID 0483:2016
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04fc:05da
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 19d2:0031
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
Found devices in default mode or class (1)
Accessing device 011 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
     Product: ZTE WCDMA Technologies MSM
  Serial No.: P673A3UCCM010000
-------------------------
Looking for active driver ...
USB error: could not get bound driver: No data available
No driver found. Either detached before or never attached
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.
这是我的机器的显示。。。然后,在网络管理中会出现china unicom的可用网络。。。
点击在新窗口中浏览此图片
然后,输入密码。。。呃。。。应该就可以使用了。。。
为什么我用应该这个词呢?因为我自己到目前为止,还不知道这个密码是多少。打过10010,客服居然告诉我,密码是默认的,但是他也不知道是多少。我尝试了很多可能的密码,也还是没连上去。。。悲剧。。。

感谢收看。。。下一次节目咱们继续。。。

DOTA经典语录

[不指定 2010/07/13 09:25 | by choatrue ]
某天。。。某人打DOTA。。。主机输入AP模式。。。
某人愤怒的说:5人开黑我也就忍了,居然还AP。。。

弄了个联通的3G。。。

[不指定 2010/06/21 12:41 | by choatrue ]
上周,哥为了出差可以上网,弄了个联通的3G(扇子哥哥推荐用联通的)。。。
貌似上网速度还不错,玩梦幻西游居然都不卡。。。24
不过,貌似玩VS。。。就比较卡了。。。房间的PING值,一般都在100MS以上。。。纠结。。。75

最近老出差。。。

[不指定 2010/06/21 12:36 | by choatrue ]
我数数。从5月份开始,哥出差的地方:北京,岳阳(2次),邵阳,怀化,常德。。。
天哪。。。哥出差都要吐血了。崩塌中。。。60
分页: 3/50 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]