最近一段时间在玩Gentoo,编译内核,多次出现各种问题,现集锦如下:
一. 内核版本 3.1.1,使用新内核重启后无eth0 , ifconfig -a 也是没有eth0, 确定是因为网卡驱动未编译进内核所致。
1. 确定网卡类型():
在配置正确内核的系统中可以得到非常有用的信息,以下是本人的(lspci -v)输出
(Gentoo系统此命令需要
emerge sys-apps/pciutils )
# lspci -v
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)