Chinaunix

标题: T43 wireless couldn't get the ipaddress form AP [打印本页]

作者: leedesu    时间: 2009-12-26 22:48
标题: T43 wireless couldn't get the ipaddress form AP
网卡可以被驱动起来,也能发送DHCP请求,但是就是无法从AP获取到IP地址。
在WINDOWS下一切正常。

不知道是什么原因,请各位支招。

[root@T43 ~]# dmesg |grep ipw
ipw2200: no version for "ieee80211_wx_get_encodeext" found: kernel tainted.
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.0
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)

[root@T43 ~]# dmesg |grep eth1
eth1: no IPv6 routers present

[root@T43 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:41:16:2F:6E  
          inet addr:200.200.200.200  Bcast:200.200.200.255  Mask:255.255.255.0

eth1      Link encap:Ethernet  HWaddr 00:16:6F:05:91:AD  
          inet6 addr: fe80::216:6fff:ef05:91dd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63 errors:17 dropped:17 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:2364 (2.3 KiB)
          Interrupt:66 Memory:b4001000-b4001fff

[root@T43 ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down interface eth1:                              [FAILED]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  RTNETLINK answers: Invalid argument
                                                           [  OK  ]
Bringing up interface eth1:  
Determining IP information for eth1... failed.
                                                           [FAILED]


[root@T43 ~]# dhclient eth1
Internet Systems Consortium DHCP Client V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:14:6f:aa:91:cd
Sending on   LPF/eth1/00:14:6f:aa:91:cd
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

[root@T43 ~]# lsmod
Module                  Size  Used by
ipw2200                94548  0
ieee80211              47724  1 ipw2200
ieee80211_crypt        10112  2 ieee80211_crypt_wep,ieee80211

[root@T43 ~]# modinfo ipw2200
filename:       /lib/modules/2.6.18-92.el5/kernel/drivers/net/wireless/ipw2200.ko
license:        GPL
author:         Copyright(c) 2003-2006 Intel Corporation
version:        1.1.0
description:    Intel(R) PRO/Wireless 2200/2915 Network Driver

[root@T43 ~]# modinfo ieee80211
filename:       /lib/modules/2.6.18-92.el5/net/ieee80211/ieee80211.ko
license:        GPL
author:         Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
description:    802.11 data/management/control stack
version:        1.2.18

[root@T43 ~]# ls /lib/firmware/ipw*
/lib/firmware/ipw2200-bss.fw         /lib/firmware/ipw-2.3-ibss.fw
/lib/firmware/ipw2200-ibss.fw        /lib/firmware/ipw-2.3-ibss_ucode.fw
/lib/firmware/ipw2200-sniffer.fw     /lib/firmware/ipw-2.3-sniffer.fw
/lib/firmware/ipw-2.2-boot.fw        /lib/firmware/ipw-2.3-sniffer_ucode.fw
/lib/firmware/ipw-2.2-bss.fw         /lib/firmware/ipw-2.4-boot.fw
/lib/firmware/ipw-2.2-bss_ucode.fw   /lib/firmware/ipw-2.4-bss.fw
/lib/firmware/ipw-2.2-ibss.fw        /lib/firmware/ipw-2.4-bss_ucode.fw
/lib/firmware/ipw-2.2-ibss_ucode.fw  /lib/firmware/ipw-2.4-ibss.fw
/lib/firmware/ipw-2.3-boot.fw        /lib/firmware/ipw-2.4-ibss_ucode.fw
/lib/firmware/ipw-2.3-bss.fw         /lib/firmware/ipw-2.4-sniffer.fw
/lib/firmware/ipw-2.3-bss_ucode.fw   /lib/firmware/ipw-2.4-sniffer_ucode.fw

[ 本帖最后由 leedesu 于 2009-12-27 13:44 编辑 ]
作者: kns1024wh    时间: 2009-12-27 10:01
标题: 回复 #1 leedesu 的帖子
AP上面是否启用了dhcp 你的T43的mac是否允许接入到AP中 AP是否是可以直接控制的
通过手动指定一个IP地址是否可以接入
作者: leedesu    时间: 2009-12-27 13:22
标题: 回复 #2 kns1024wh 的帖子
My DHCP server works well, under WINDOWS XP ,all thing works well.

By specifying an IP to my T43, that problem couldn't be fixed.

T43 has the privilege that assigned IP by the DHCP server. the DHCP server's configuration also ok for the eth0 (wire lan) can get the ip from DHCP server, but just eth1 (wireless) can't.
BTW way ,the wireless LED on the T43 illustrate the wireless card in the normal work status.
( there is something with my Chinese input ,sorry for the inconvenience.  )

Ehtereal snapshot attached


[ 本帖最后由 leedesu 于 2009-12-27 13:26 编辑 ]




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2