红联Linux门户
Linux帮助

[求助]Fedora10网卡修改参数后死机……

发布时间:2009-05-31 14:15:36来源:红联作者:icecox
[i=s] 本帖最后由 icecox 于 2009-5-31 14:22 编辑 [/i]

[font=仿宋_GB2312]各位高手,请你们帮忙看看这个问题怎么处理。
最近几天。在ibm t42的本子上面安装了linux fedora 10 系统。
安装过程很顺利,系统安装上以后。所有的设备都驱动了,唯独网卡的地方出了问题。
发现不能设置网卡参数,而且更改的了网卡参数后会死机。
我上网查了不少资料,说这个网卡问题是fedora 10 的通病。
[/font]
[font=仿宋_GB2312]就是子网掩码部分和网关是一样的,也提供了问题的解决办法。
一种方法是:system-config-network工具,有图形化界面,命令行
一种方法是:在redhat里面有netconfig命令 但是fedora没有,与之相应的命令是setup。
一种方法是:纯命令行ifconfig
注意:用ifconfig命令配置的网卡信息,在网卡重启后机器重启后,配置就不存在。要想将上述的配置信息永远的存的电脑里,那就要修改网卡的配置文件了。
[/font]
[font=仿宋_GB2312]但是我在具体做的时候,发现在我重启网络的服务的时候机器会僵死。
现在把我的截图发来看看。

[/font][font=仿宋_GB2312][/size][/font]
[font=仿宋_GB2312][size=4]
先看看网络参数,只有一个环回。
[attach]15314[/attach]

启用网卡,看看参数。
[attach]15315[/attach]

指定ip和网络掩码,我的环境是通过路由器上网。
[attach]15316[/attach]

重新启动网络服务就死机了。用alt+ctrl+f*也切换不到控制台。
[attach]15317[/attach]
[/font]
文章评论

共有 3 条评论

  1. icecox 于 2009-05-31 18:14:23发表:

    我这个笔记本到网卡 在windows下的时候就发现网卡不能停用。当时没有在意,现在发现还是这个问题。

  2. txwsqk 于 2009-05-31 17:04:08发表:

    fedora的 network-manager 这个服务有问题 把它停用
    然后启用 network服务就行了 然后修改 /etc/sysconfig/network-scripts/ifcfg-eth0里的参数就行了

  3. icecox 于 2009-05-31 14:23:40发表:

    附件1:

    概述:

    SELinux is preventing ip (ifconfig_t) "read write" unconfined_t.

    详细描述:

    SELinux denied access requested by ip. It is not expected that this access is
    required by ip and this access may signal an intrusion attempt. It is also
    possible that the specific version or configuration of the application is
    causing it to require additional access.

    允许访问:

    You can generate a local policy module to allow this access - see FAQ
    (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
    SELinux protection altogether. Disabling SELinux protection is not recommended.
    Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
    against this package.

    附加信息:

    源上下文 unconfined_u:system_r:ifconfig_t:s0
    目标上下文 unconfined_u:unconfined_r:unconfined_t:s0
    目标对象 socket [ unix_stream_socket ]
    源 ip
    源路径 /sbin/ip
    端口 <未知>
    主机 whoami
    源 RPM 软件包 iproute-2.6.26-1.fc10
    目标 RPM 软件包
    策略 RPM selinux-policy-3.5.13-18.fc10
    启用 Selinux True
    策略类型 targeted
    启用 MLS True
    Enforcing 模式 Enforcing
    插件名称 catchall
    主机名 whoami
    平台 Linux whoami 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov
    18 12:19:59 EST 2008 i686 i686
    警报计数 41
    第一个 2009年05月31日 星期日 11时46分37秒
    最后一个 2009年05月31日 星期日 11时46分58秒
    本地 ID adb3bdad-d7cd-4101-be19-f992f6a70dfe
    行号

    原始核查信息

    node=whoami type=AVC msg=audit(1243741618.849:58): avc: denied { read write } for pid=3779 comm="ip" path="socket:[19151]" dev=sockfs ino=19151 scontext=unconfined_u:system_r:ifconfig_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=unix_stream_socket

    node=whoami type=SYSCALL msg=audit(1243741618.849:58): arch=40000003 syscall=11 success=yes exit=0 a0=8fec680 a1=8fbcec8 a2=8fec848 a3=0 items=0 ppid=3768 pid=3779 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="ip" exe="/sbin/ip" subj=unconfined_u:system_r:ifconfig_t:s0 key=(null)