[分享]Ubuntu.04下用Virtualbox 1.5虚拟DeepinXP, 成功使用网上银行(使用usbkey)

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
d5ghost
帖子: 40
注册时间: 2007-08-29 15:06

[分享]Ubuntu.04下用Virtualbox 1.5虚拟DeepinXP, 成功使用网上银行(使用usbkey)

#1

帖子 d5ghost » 2007-09-06 22:36

小弟我综合了论坛上大家的经验,顺利的安装了ubuntu7.04, Virtualbox 1.5虚拟DeepinXP Lite5.7。并最终成功登录了网上银行专业版(用usbkey).

小弟我用xp的目的是使用建设银行的网上银行,我申请了usbkey的,开始一切都很顺利,最后卡在usb在xp里面不能被识别,所以按照wiki里面的方法进行了设置:
刚安装好的VirtualBox里的客户机无法使用主机里的USB设备,设置时提示有权限问题。

针对此问题,可如下解决。

* 增加用户组usbfs

sudo groupadd usbfs

* 查看usbfs的gid

cat /etc/group | grep usbfs

在我的系统上输出

usbfs:x:1002:

* 把自己所用的用户增加到usbfs组

usbfs:x:1002:yang

* 编辑/etc/fstab文件,添加下面两行,注意你的gid可能不是1002

# 1002 is the USB group ID
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0

* 重新起动后,应该就可以在客户机中使用USB设备了。在客户机里使用USB设备前要先在主机里卸载。

* 补充

9.4.6. USB not working

If USB is not working on your Linux host, make sure that the current user has permission to access the USB filesystem (usbfs), which VirtualBox relies on to retrieve valid information about your host's USB devices.

The permissions for usbfs can be changed by editing the /etc/fstab file.

For example, most Linux distributions have a user group called usb or similar, of which the current user must be a member. To give all users of that group access to usbfs, make sure the following line is present:

# 85 is the USB group
none /proc/bus/usb usbfs devgid=85,devmode=664 0 0

Replace 85 with the group ID that matches your system (search /etc/group for "usb" or similar).

Alternatively, if you don't mind the security hole, give all users access to USB by changing "664" to "666".
没想到,进入xp后还是不能识别usb设备(无论我插上usbkey后再启动xp还是启动xp后再插上usbkey),我找了很久,才在wiki里面的另一篇文章提到的方法解决了我的难题。http://wiki.ubuntu.org.cn/index.php?tit ... =zh-tw#USB

代码为:

代码: 全选

derek@ubuntu:~$ ls -l /proc/bus/
总用量 0
dr-xr-xr-x 2 root root 0 2007-09-06 21:25 input
dr-xr-xr-x 2 root root 0 2007-09-06 21:25 pccard
dr-xr-xr-x 4 root root 0 2007-09-06 21:25 pci
drwxr-xr-x 6 root root 0 2007-09-07 02:54 usb
derek@ubuntu:~$ sudo chown -R root:vboxusers /proc/bus/usb
Password:
derek@ubuntu:~$ ls -l /proc/bus/
总用量 0
dr-xr-xr-x 2 root root      0 2007-09-06 21:28 input
dr-xr-xr-x 2 root root      0 2007-09-06 21:28 pccard
dr-xr-xr-x 4 root root      0 2007-09-06 21:28 pci
drwxr-xr-x 6 root vboxusers 0 2007-09-07 02:54 usb

完成上述命令之后启动xp,马上usbkey就被识别了。
附件
成功登录网上银行!!
成功登录网上银行!!
ASUS A6NE( Intel Pentium-M Dothan 1.5GHz,256*2 DDR,2MB Cache)
OS:ubuntu Linux 8.04
fireshort
帖子: 161
注册时间: 2007-03-08 19:12
联系:

#2

帖子 fireshort » 2007-09-07 12:48

建行没有usbkey的话,用wine+ie就可以很完美的使用了。
chinawiz
帖子: 15
注册时间: 2007-01-31 18:00
来自: bj
联系:

#3

帖子 chinawiz » 2007-09-23 11:13

受教了,谢谢
全球最大的中文免费Linux电子杂志
http://www.linuxer.cn/download.html(可惜停了)
我的blog:
http://chinawiz.blogspot.com (可是由于dns的原因访问不了)
头像
猛将兄
帖子: 2052
注册时间: 2005-10-19 17:33

#4

帖子 猛将兄 » 2007-09-23 21:17

那你中木马还是照中。。。网银怎么可以在windows里面搞。如果非要windows的网银,就不要用他。实在不行,wine出来可以也可以接受
头像
ttt43ttt
帖子: 10
注册时间: 2008-04-13 10:27

#5

帖子 ttt43ttt » 2008-04-26 21:35

好像现在还没有8.04的binary版本吖。。。
先收藏了,以后肯定有用!!!
回复