LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 646|回复: 3

请教内核编译网络模块的问题

[复制链接]
发表于 2009-3-8 17:25:00 | 显示全部楼层 |阅读模式
大家好,我的网络环境是多人共享的adsl
我用gentoo livecd 2007 引导光盘能通过adsl-start连上网络
安装完后,启动时有这样的warning: no loaded modules provide "dhcp" ,
无法启动eth0
请问是否是编译内核时,相应的网络模块没有编译进去。
而怎么找到相应的网络模块呢


而在livecd 连上网的时候
lspci | grep ethernet
NetXtreme BCM5705M Gigabit

lsmod
却找不到网络的模块,这些是显示出的 used by                        ppp_async
ppp_synctty,ppp_async
parport_pc               yenta_socket yenta_socket,rsrc_nonstatic
ipw2100
ata_piix
sbp2,ochi1394
都不像是网络的模块



谢谢!
发表于 2009-3-8 17:34:44 | 显示全部楼层
chroot后安装dhcpcd了吗?
回复 支持 反对

使用道具 举报

发表于 2009-3-8 19:21:24 | 显示全部楼层
ifconfig -a 看看有没有eth0
在lspci现实的是你的那个网卡.我在d630上显示的NetXtreme BCM5705M Gigabit
你需要在你的内核里先选择bcm支持的网卡.
dmesg出来的网卡是tg3吧.
在内核配置网卡驱动哪里选择1000m的-然后2个bcm的都选上.一个是NetXtreme  一个是tg3.
这样保证会好用的.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 21:11:28 | 显示全部楼层
谢谢
是的,我准备编译。
另外,二楼的同学所说的dhcpcd我没有安装
碰到新的问题,emerge dhcpcd的时候,显示No pace digest file found:./usr/portage/net-misc/dhcpcd/files/digest-dhcpcd-4.0.7
Type "ebuild foo.ebuid digest" to generate it.

emerge vim 也是there are no ebuilds to satisfy "virtual/man"

最主要的是有个warning Your current profile is deprecated and not supported anymore.Please upgrade to the following profile if possible:
default/linux/x86/2008.0/desktop

可是当我改了make.profile的链接 后再emerge  
提示 ARCH is not set... Are you missing the /etc/make.profile symlink?
Is the symlink correct?Is....

我正折腾这个问题,先仔细看看portage的细节
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表