LinuxSir.cn,穿越时空的Linuxsir!

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

我的 ipw2200 总是连一下立刻断一下然后再连一下这种

[复制链接]
发表于 2009-11-21 22:48:23 | 显示全部楼层 |阅读模式
我用的是 ~x86 ,都是最新的包。

我的卡是这个

02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)

我的路由器是 d-link 624A+。连无线用的是 wpa_supplicant

情况就是无线能连上 ap,iwconfig 能看到连上了,然后就是 dhcp 的时候基本就是一获取到 ip,ap 就断了。后面就是这个过程在不停的重复。下面是 log。

Nov 21 22:37:23 tux wpa_cli: interface eth1 DISCONNECTED
Nov 21 22:37:23 tux dhcpcd: received SIGHUP, releasing lease
Nov 21 22:37:23 tux dhcpcd: eth1: releasing lease of 192.168.0.182
Nov 21 22:37:23 tux dhcpcd: eth1: removing interface
Nov 21 22:37:24 tux wpa_cli: interface eth1 CONNECTED
Nov 21 22:37:24 tux dhcpcd: version 5.1.3 starting
Nov 21 22:37:24 tux dhcpcd: eth1: broadcasting for a lease
Nov 21 22:37:24 tux dhcpcd: eth1: offered 192.168.0.182 from 192.168.0.1
Nov 21 22:37:24 tux dhcpcd: eth1: acknowledged 192.168.0.182 from 192.168.0.1
Nov 21 22:37:24 tux dhcpcd: eth1: checking for 192.168.0.182
Nov 21 22:37:29 tux dhcpcd: eth1: leased 192.168.0.182 for 604800 seconds
Nov 21 22:37:29 tux dhcpcd: forking to background
Nov 21 22:37:29 tux wpa_cli: interface eth1 DISCONNECTED
Nov 21 22:37:29 tux dhcpcd: received SIGHUP, releasing lease
Nov 21 22:37:29 tux dhcpcd: eth1: releasing lease of 192.168.0.182
Nov 21 22:37:29 tux dhcpcd: eth1: removing interface
Nov 21 22:37:29 tux wpa_cli: interface eth1 CONNECTED
Nov 21 22:37:29 tux dhcpcd: version 5.1.3 starting
Nov 21 22:37:29 tux dhcpcd: eth1: broadcasting for a lease
Nov 21 22:37:29 tux dhcpcd: eth1: offered 192.168.0.182 from 192.168.0.1
Nov 21 22:37:29 tux dhcpcd: eth1: acknowledged 192.168.0.182 from 192.168.0.1
Nov 21 22:37:29 tux dhcpcd: eth1: checking for 192.168.0.182
Nov 21 22:37:34 tux dhcpcd: eth1: leased 192.168.0.182 for 604800 seconds
Nov 21 22:37:34 tux dhcpcd: forking to background
Nov 21 22:37:34 tux wpa_cli: interface eth1 DISCONNECTED
Nov 21 22:37:34 tux dhcpcd: received SIGHUP, releasing lease
Nov 21 22:37:34 tux dhcpcd: eth1: releasing lease of 192.168.0.182
Nov 21 22:37:34 tux dhcpcd: eth1: removing interface
Nov 21 22:37:34 tux wpa_cli: interface eth1 CONNECTED
Nov 21 22:37:34 tux dhcpcd: version 5.1.3 starting
Nov 21 22:37:34 tux dhcpcd: eth1: broadcasting for a lease
Nov 21 22:37:34 tux dhcpcd: eth1: offered 192.168.0.182 from 192.168.0.1
Nov 21 22:37:39 tux dhcpcd: eth1: acknowledged 192.168.0.182 from 192.168.0.1
Nov 21 22:37:39 tux dhcpcd: eth1: checking for 192.168.0.182
Nov 21 22:37:44 tux dhcpcd: eth1: leased 192.168.0.182 for 604800 seconds
Nov 21 22:37:44 tux dhcpcd: forking to background
Nov 21 22:37:44 tux wpa_cli: interface eth1 DISCONNECTED
Nov 21 22:37:44 tux dhcpcd: received SIGHUP, releasing lease
Nov 21 22:37:44 tux dhcpcd: eth1: releasing lease of 192.168.0.182
Nov 21 22:37:44 tux dhcpcd: eth1: removing interface
Nov 21 22:37:44 tux wpa_cli: interface eth1 CONNECTED
Nov 21 22:37:44 tux dhcpcd: version 5.1.3 starting
Nov 21 22:37:44 tux dhcpcd: eth1: broadcasting for a lease
Nov 21 22:37:44 tux dhcpcd: eth1: offered 192.168.0.182 from 192.168.0.1
Nov 21 22:37:44 tux dhcpcd: eth1: acknowledged 192.168.0.182 from 192.168.0.1
Nov 21 22:37:44 tux dhcpcd: eth1: checking for 192.168.0.182


可以看到这一分钟不到,断了好几次。这种情况出现的时候,还有这么个现象

$ sudo /etc/init.d/net.eth1 stop
* ERROR: net.eth1 stopped by something else
$ sudo /etc/init.d/net.eth1 start
* WARNING: net.eth1 is already starting

就是 eth1 停不了,不知道怎么回事。执行一下
$ sudo /etc/init.d/net.eth1 zap
* Manually resetting net.eth1 to stopped state

然后就可以了。。
$ sudo /etc/init.d/net.eth1 start
* Bringing up interface eth1
*   Starting wpa_supplicant on eth1...                                                                   [ ok ]
*   Starting wpa_cli on eth1...                                                                          [ ok ]
*   Backgrounding ......
* WARNING: net.eth1 has started, but is inactive

/etc/wpa_supplicant/wpa_supplicant.conf 的配置如下

network={
  ssid="wd"
  key_mgmt=WPA-PSK
  proto=WPA RSN
  pairwise=CCMP TKIP
  group=CCMP TKIP
  psk="xxxxxx"
  password="xxxxxxx"
  priority=5
}

/etc/conf.d/net 的配置如下

#modules=( "dhcpcd" )
#modules_eth1=( "iwconfig" )

modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"

#modules_wlan0=( "wpa_supplicant" )
#wpa_supplicant_wlan0="-Dndiswrapper"


config_eth1=( "dhcp" )
config_eth0=( "dhcp" )
#config_wlan0=( "dhcp" )

wpa_timeout_eth1=60

#dhcpcd_eth1="-t 60"
#dhcpcd_eth0="-t 1"
#dhcp="release nodns nontp nonis"
dhcp="release nontp nonis"

ifplugd_eth0="..."
ifplugd_eth1="--api-mode=wlan"

我还试过用 ndiswrapper ,结果基本就是连上一会就死机。。。。唉。。。不知道是不是我找的 windows 驱动的问题。
发表于 2009-11-22 12:49:53 | 显示全部楼层
不好意思,問下,你這些都是ndiswrapper的驅動的內容嗎?如果是的話,你可以試試內核中的驅動。

如果不全是的話,我就无能為力了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-22 20:55:35 | 显示全部楼层
呃。。。我用的是 内核 里面的,后面说了,试过 ndiswrapper ,基本就是一会就死机。
回复 支持 反对

使用道具 举报

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

本版积分规则

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