-
-
Save gongzhitaao/4044917 to your computer and use it in GitHub Desktop.
usb token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+STARTUP: noindent | |
问题:VirtualBox成功安装Win7后无法识别招行网银 | |
系统:Ubuntu12.04 prices,VirtualBox4.1.12 | |
依次设置: | |
1 增加当前用户对usb的操作权限: | |
$sudo lsusb | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 003 Device 002: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard | |
Bus 004 Device 002: ID 046d:c05a Logitech, Inc. Optical Mouse M90 | |
Bus 005 Device 002: ID 1483:c007 | |
$sudo $ vim /etc/udev/rules.d/51-usb.rules ;#创建权限文件写入以下内容: | |
#注 此处数值由上面加灰的部分决定。 | |
#usb注释部分 | |
SUBSYSTEM=="usb", ATTR{idVendor}=="1483", ATTR{idProduct}=="c007", MODE="0600", OWNER="用户名" | |
2 修改VirtualBox权限 | |
$ ls -al /usr/lib/virtualbox/VirtualBox #修改前的文件权限 | |
-rwsr-sr-x 1 root root 31104 6月 15 04:13 /usr/lib/virtualbox/VirtualBox | |
$ sudo chmod 4711 /usr/lib/virtualbox/VirtualBox # 修改操作权限 | |
$ ls -al /usr/lib/virtualbox/VirtualBox #修改后的文件权限 | |
-rws--x--x 1 root root 31104 6月 15 04:13 /usr/lib/virtualbox/VirtualBox | |
3 设置VirtualBox | |
(1)从系统设置启动:用当前用户打开VirtualBox ;选择要运行的系统,然后点击顶部的Setting(右键setting也可以)。 | |
选择usb,选中启用usb和usb2.0的复选框。网银还需要选择“添加”,选中网银即可。 | |
(2)系统运行期间启用:选中窗口顶部的“Device"->"USB Devices"->"USB Token [0100]" 即可 | |
4 USB 2.0启动需要linux安装VirtualBox扩展: | |
下载地址:http://dlc.sun.com.edgesuite.net/virtualbox/4.1.22/Oracle_VM_VirtualBox_Extension_Pack-4.1.22-80657.vbox-extpack | |
5 以上方法不能成功的请看参考文档或google。 | |
万能的sudo 可以解决一切权限问题。。。。命令:$sudo virtualbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment