HyJune的专栏

Linux From Scratch

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  10 随笔 :: 11 文章 :: 6 评论 :: 0 Trackbacks

1. download from:

http://www.virtualbox.org/wiki/Downloads

2. install

    sudo dpkg -i virtualbox_1.6.0-30421_Ubuntu_hardy_i386.deb
     sudo adduser `whoami` vboxusers

3. Virtualbox键盘失效解决   

    (1)sudo apt-get install scim-bridge-client-qt
       sudo reboot
    (2)File--Preference--Input--cancel Auto capture keyboard

4. 实现桥接

sudo apt-get install uml-utilities bridge-utils

sudo gpasswd -a `whoami` uml-net

sudo vim /etc/network/interfaces

    auto eth0
    iface eth0 inet manual
    up ifconfig $IFACE 0.0.0.0 up

    auto vbox0
    iface vbox0 inet manual
    up ifconfig $IFACE 0.0.0.0 up
    down ifconfig $IFACE down
    tunctl_user 你的帐户名

    auto br0
    iface br0 inet static
    bridge_ports eth0 vbox0
    address 192.168.1.1
    netmask 255.255.255.0
    network 192.168.1.0
    bridge_maxwait 0

6 访问usb子系统失败解决方法

(1)添加usb组
sudo groupadd usbfs
(2)$sudo gpasswd -a 你的帐户名 usbfs
(3)为USB设备重新设置权限编辑/etc/fstab文件,添加下面两行,注意你的gid可能不是1001
$ sudo gedit /etc/fstab
在末尾加上
# 1001 is the USB group IDI
none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
posted on 2008-06-02 16:41 martin0501 阅读(467) 评论(0)  编辑 收藏 引用 所属分类: 1. 软件开发工具

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理