ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年12月23日

摘要: 碰到这个一般是内核没有开启相应的 macvtap 选项,开启相应选项后,就不会报错了。 但是 macvtap 工作起来还是不正常,宿主和虚拟都不能上网了。 阅读全文
posted @ 2018-12-23 23:41 ramlife 阅读(1279) 评论(0) 推荐(0) 编辑

摘要: 安装软件 emerge ask net analyzer/wireshark 把用户加入 wireshark 组。 gpasswd a $USER wireshark 如果不像重新登录就可以使用 wireshark,使用下面这条命令。 newgrp wireshark gentoo 中默认的 wir 阅读全文
posted @ 2018-12-23 23:36 ramlife 阅读(218) 评论(0) 推荐(0) 编辑

摘要: 以前的 virtualbox 可以启动,现在无法启动。 原因是因为更新了内核,而 virtualbox 的模块没有跟着更新,所以导致无法启动。 emerge ask oneshot @module rebuild 使用这个命令重新编译 virtualbox 的模块,然后 reboot,就可以使用 v 阅读全文
posted @ 2018-12-23 23:25 ramlife 阅读(166) 评论(0) 推荐(0) 编辑

2018年12月19日

摘要: 因为某些英文程序字符显示不全,所以考虑把 win7 改为英文语言。直接下载英文语言包安装不成功,经过多次尝试和百度终于找到合适的办法。 下载 Vistalizator.exe, windows6.1 kb2483139 x86 en us_783d6dd59e2ec8fb0995a059c9c121 阅读全文
posted @ 2018-12-19 10:15 ramlife 阅读(2265) 评论(0) 推荐(0) 编辑

2018年12月16日

摘要: 手动在rtconfig.h中加人 define HAVE_SYS_SELECT_H 就能编译过了 阅读全文
posted @ 2018-12-16 23:18 ramlife 阅读(1851) 评论(0) 推荐(1) 编辑

摘要: 使用 rt thread pkgs update 时候, 提示出错,信息如下: 估计是 python 版本的锅,使用 eselect python list 查看当前版本,使用 eselect python set 2 选择 2.7 版本,然后使用 pkgs update 顺利更新。 阅读全文
posted @ 2018-12-16 22:32 ramlife 阅读(182) 评论(0) 推荐(0) 编辑

摘要: 今天在另外一台电脑上面使用 rt thread 的 env 工具,scons menuconfig 出现错误,提示如下: code scons: Reading SConscript files ... scons: Entering directory `/home/ptz/workspace/r 阅读全文
posted @ 2018-12-16 22:15 ramlife 阅读(488) 评论(0) 推荐(0) 编辑

2018年12月15日

摘要: 首先使用 grep color E "vmx|svm" /proc/cpuinfo 检查 cpu 能不能支持虚拟化,注意 biso 里面要开启虚拟化。 内核开启相应选项 然后根据需要 qemu 使用的客户端,修改 make.conf 增加 qemu 的 USE : accessibility gtk 阅读全文
posted @ 2018-12-15 13:25 ramlife 阅读(655) 评论(0) 推荐(0) 编辑

2018年11月30日

摘要: 首先增加 vim ~/.xinitrc code [[ f ~/.Xresources ]] && xrdb merge ~/.Xresources dbus before fcitx eval use gtk and qt export GTK_IM_MODULE=fcitx export QT_ 阅读全文
posted @ 2018-11-30 22:17 ramlife 阅读(1183) 评论(0) 推荐(0) 编辑

2018年11月27日

摘要: 首先使用启动光盘启动, 然后 mount /dev/sda4 /mnt/gentoo 挂载硬盘 lspci v 1 /mnt/gentoo/root/lspci_v.txt 输出信息到文件。 reboot 重启 然后进入系统之后查看, ar9285 对应的是 ath9k, bcm57780 对应的是 阅读全文
posted @ 2018-11-27 22:19 ramlife 阅读(465) 评论(0) 推荐(0) 编辑