解决Dell笔记本更换内存后RedHat AS 4找不到网卡的问题

一台Dell D600笔记本,安装有RedHat AS 4。

原来的内存是512兆(两条256的),更换成1G(1条)后,重启机器,启用网卡时出现错误:Device eth0 has different MAC address than expected, ignoring. 系统启动以后找不到网卡设备。

google以后,在redhat的邮件列表里找到解决办法与大家分享。

https://www.redhat.com/archives/ … -June/msg00407.html

先注释掉/etc/sysconfig/network-scripts/ifcfg-eth0中HWADDR=xx:xx:xx:xx:xx:xx这一行。在查看文件/etc/modprobe.conf,得知eth0的模块名tg3。用lsmod查看,没有发现tg3这个module。

执行如下命令:

# depmod -a
# modprobe -v tg3

然后,重启网络

# service network restart

问题解决。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.
For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>