LinuxSir.cn,穿越时空的Linuxsir!

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

linux下无线上网的问题,对无线网卡执行ifup和dhclient导致死机!

[复制链接]
发表于 2007-11-29 18:05:00 | 显示全部楼层 |阅读模式
我的网卡是Intel Corporation PRO/Wireless 2915ABG Network Connection,在xp下可以完美的进行无线上网(不需要任何设置),这说明无线网卡和无线路由器都是工作好好的;
  1. debian:~# lsmod |grep ipw
  2. ipw2200 126788 0
  3. ieee80211 44012 1 ipw2200
  4. firmware_class 9600 2 ipw2200,pcmcia
  5. debian:~# iwconfig
  6. lo no wireless extensions.
  7. eth0 no wireless extensions.
  8. eth1 IEEE 802.11g ESSID:"wireless"
  9. Mode:Managed Frequency:2.452 GHz Access Point: 00:0F:E2:01F:A0
  10. Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
  11. Retry limit:7 RTS thr:off Fragment thr:off
  12. Encryption key:off
  13. Power Management:off
  14. Link Quality=86/100 Signal level=-44 dBm Noise level=-90 dBm
  15. Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
  16. Tx excessive retries:0 Invalid misc:247 Missed beacon:0
  17. irda0 no wireless extensions.
  18. sit0 no wireless extensions.
  19. debian:~# ifconfig -a
  20. eth0      Link encap:Ethernet  HWaddr 00:11:25:D1:0F:61
  21.           inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
  22.           inet6 addr: fe80::211:25ff:fed1:f61/64 Scope:Link
  23.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  24.           RX packets:1068 errors:0 dropped:0 overruns:0 frame:0
  25.           TX packets:1137 errors:0 dropped:0 overruns:0 carrier:0
  26.           collisions:0 txqueuelen:1000
  27.           RX bytes:857310 (837.2 KiB)  TX bytes:334973 (327.1 KiB)
  28.           Interrupt:185
  29. eth1      Link encap:Ethernet  HWaddr 00:12:F0:BB:BA:5B
  30.           BROADCAST MULTICAST  MTU:1500  Metric:1
  31.           RX packets:232 errors:0 dropped:28 overruns:0 frame:0
  32.           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  33.           collisions:0 txqueuelen:1000
  34.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  35.           Interrupt:58 Base address:0xa000 Memory:90301000-90301fff
  36. irda0     Link encap:IrLAP  HWaddr 00:00:00:00
  37.           NOARP  MTU:2048  Metric:1
  38.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  39.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  40.           collisions:0 txqueuelen:8
  41.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  42. lo        Link encap:Local Loopback
  43.           inet addr:127.0.0.1  Mask:255.0.0.0
  44.           inet6 addr: ::1/128 Scope:Host
  45.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  46.           RX packets:20 errors:0 dropped:0 overruns:0 frame:0
  47.           TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
  48.           collisions:0 txqueuelen:0
  49.           RX bytes:1000 (1000.0 b)  TX bytes:1000 (1000.0 b)
  50. sit0      Link encap:IPv6-in-IPv4
  51.           NOARP  MTU:1480  Metric:1
  52.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  53.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  54.           collisions:0 txqueuelen:0
  55.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  56. debian:~#
复制代码
开机进入linux后,无线网络的指示灯就亮了,但是当我执行ifup eth1或者dhclient eth1竟然死机了!请问这会是什么原因?当时我的有线以太网卡eth0是开启的,但是我想不会是这个原因吧
 楼主| 发表于 2007-11-29 19:12:16 | 显示全部楼层
估计是内核级别的bug吧,因为当我把
auto eth1
iface eth1 inet dhcp
wireless-essid TP-LINK
配置到/etc/network/interface后重启linux也死机了,而且还打出了BUG,OOPS之类的信息,暂时放弃了
回复 支持 反对

使用道具 举报

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

本版积分规则

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