免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2465 | 回复: 0

双网卡 - 有一张网卡时好时坏 [复制链接]

论坛徽章:
0
发表于 2007-01-26 15:33 |显示全部楼层
在DELL上装了一个FC6, kernel: 2.6.18-1.2869.fc6

有两张网卡,突然发现有一张不能用了,用ifconfig -a 得出的结果是:

  1. __tmp1062173173 Link encap:Ethernet  HWaddr 00:0A:EB:F4:80:B2  
  2.           BROADCAST MULTICAST  MTU:1500  Metric:1
  3.           RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
  4.           TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
  5.           collisions:0 txqueuelen:1000
  6.           RX bytes:3076932 (2.9 MiB)  TX bytes:3076932 (2.9 MiB)
  7.           Interrupt:177 Base address:0xef00

  8. eth0      Link encap:Ethernet  HWaddr 00:12:3F:D4:43:D4  
  9.           inet addr:10.11.1.242  Bcast:10.11.1.255  Mask:255.255.255.0
  10.           inet6 addr: fe80::212:3fff:fed4:43d4/64 Scope:Link
  11.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  12.           RX packets:261482 errors:0 dropped:0 overruns:0 frame:0
  13.           TX packets:231547 errors:0 dropped:0 overruns:0 carrier:0
  14.           collisions:0 txqueuelen:1000
  15.           RX bytes:162287111 (154.7 MiB)  TX bytes:232441167 (221.6 MiB)
  16.           Interrupt:201

  17. eth0:1    Link encap:Ethernet  HWaddr 00:12:3F:D4:43:D4  
  18.           inet addr:10.11.3.242  Bcast:10.11.3.255  Mask:255.255.255.0
  19.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  20.           Interrupt:201

  21. lo        Link encap:Local Loopback  
  22.           inet addr:127.0.0.1  Mask:255.0.0.0
  23.           inet6 addr: ::1/128 Scope:Host
  24.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  25.           RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
  26.           TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
  27.           collisions:0 txqueuelen:0
  28.           RX bytes:3076932 (2.9 MiB)  TX bytes:3076932 (2.9 MiB)

  29. sit0      Link encap:IPv6-in-IPv4  
  30.           NOARP  MTU:1480  Metric:1
  31.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  32.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  33.           collisions:0 txqueuelen:0
  34.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
复制代码


发现eth1变成了"__tmp1062173173".

下面是我的相关的配置文件:

  1. [b]/etc/sysconfig/hwconf[/b]

  2. -
  3. class: NETWORK
  4. bus: PCI
  5. detached: 0
  6. device: eth1
  7. driver: 8139too
  8. desc: "Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+"
  9. network.hwaddr: 00:0a:eb:f4:80:b2
  10. vendorId: 10ec
  11. deviceId: 8139
  12. subVendorId: 10ec
  13. subDeviceId: 8139
  14. pciType: 1
  15. pcidom:    0
  16. pcibus:  1
  17. pcidev:  4
  18. pcifn:  0
  19. -
  20. class: NETWORK
  21. bus: PCI
  22. detached: 0
  23. device: eth0
  24. driver: b44
  25. desc: "Broadcom Corporation BCM4401 100Base-T"
  26. network.hwaddr: 00:12:3f:d4:43:d4
  27. vendorId: 14e4
  28. deviceId: 4401
  29. subVendorId: 1028
  30. subDeviceId: 8127
  31. pciType: 1
  32. pcidom:    0
  33. pcibus:  1
  34. pcidev:  9
  35. pcifn:  0
  36. -

  37. [b]/etc/modprobe.conf[/b]

  38. alias eth0 b44
  39. alias eth1 8139too
  40. alias snd-card-0 snd-intel8x0
  41. options snd-card-0 index=0  
  42. options snd-intel8x0 index=0  
  43. remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
复制代码


但是有的时候又是正常的。

请问有没有哪位仁兄遇到类似的问题。

在/sys/class/net里面也找到这个"__tmp1062173173"的文件夹, 不知道这个/sys是干什么用的,请各位大侠指点。

谢谢

[ 本帖最后由 leafyqm 于 2007-1-26 15:35 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP