LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]无线网卡TL-WN321g+如何配置

[复制链接]
发表于 2009-4-11 00:46:21 | 显示全部楼层 |阅读模式
现在网卡已经可以正常驱动了。

  1. gentoo-pjq pjq # iwlist wlan0 scan
  2. wlan0     Scan completed :
  3.           Cell 01 - Address: 00:16:01:84:9F:E4
  4.                     ESSID:"voodoo_cat"
  5.                     Mode:Master
  6.                     Channel:2
  7.                     Frequency:2.417 GHz (Channel 2)
  8.                     Quality=48/100  Signal level:-68 dBm  
  9.                     Encryption key:on
  10.                     IE: WPA Version 1
  11.                         Group Cipher : TKIP
  12.                         Pairwise Ciphers (1) : TKIP
  13.                         Authentication Suites (1) : PSK
  14.                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
  15.                               24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
  16.                               12 Mb/s; 48 Mb/s
  17.                     Extra:tsf=0000011128b4a4a4
  18.                     Extra: Last beacon: 701ms ago
  19.           Cell 02 - Address: 00:1B:11:A6:7F:BC
  20.                     ESSID:"522"
  21.                     Mode:Master
  22.                     Channel:6
  23.                     Frequency:2.437 GHz (Channel 6)
  24.                     Quality=47/100  Signal level:-78 dBm  
  25.                     Encryption key:on
  26.                     IE: WPA Version 1
  27.                         Group Cipher : TKIP
  28.                         Pairwise Ciphers (2) : TKIP CCMP
  29.                         Authentication Suites (1) : PSK
  30.                     IE: IEEE 802.11i/WPA2 Version 1
  31.                         Group Cipher : TKIP
  32.                         Pairwise Ciphers (2) : TKIP CCMP
  33.                         Authentication Suites (1) : PSK
  34.                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  35.                               9 Mb/s; 12 Mb/s; 48 Mb/s; 18 Mb/s; 24 Mb/s
  36.                               36 Mb/s; 54 Mb/s
  37.                     Extra:tsf=00000016b66cbbe5
  38.                     Extra: Last beacon: 408ms ago
  39.           Cell 03 - Address: 00:1D:0F:77:5E:B2
  40.                     ESSID:"A320"
  41.                     Mode:Master
  42.                     Channel:6
  43.                     Frequency:2.437 GHz (Channel 6)
  44.                     Quality=46/100  Signal level:-82 dBm  
  45.                     Encryption key:on
  46.                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  47.                               12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
  48.                               48 Mb/s; 54 Mb/s
  49.                     Extra:tsf=00000006213569f9
  50.                     Extra: Last beacon: 405ms ago
复制代码



现在需要连接Cell 02,按照http://www.gentoo-wiki.info/RT73
配置[SIZE=-1]/etc/wpa_supplicant/wpa_supplicant.conf
不知道这个文件该如何配置
现在就是参数它配置:
  1. ctrl_interface=/var/run/wpa_supplicant
  2. network={
  3.   ssid="YOUR_WIRELESS_NAME"
  4.   mode=1
  5.   proto=WPA
  6.   key_mgmt=WPA-NONE
  7.   pairwise=NONE
  8.   group=TKIP
  9.   psk="YOUR_PASSWORD"

  10. }
复制代码



启动WLAN0
  1. gentoo-pjq pjq # /etc/init.d/net.wlan0 restart
  2. * Bringing down interface wlan0
  3. *   Stopping wpa_cli on wlan0 ...                                        [ ok ]
  4. *   Stopping wpa_supplicant on wlan0 ...                                 [ ok ]
  5. * Bringing up interface wlan0
  6. *   Starting wpa_supplicant on wlan0 ...                                 [ ok ]
  7. *   Starting wpa_cli on wlan0 ...                                        [ ok ]
  8. *   Backgrounding ... ...
  9. * WARNING: net.wlan0 has started, but is inactive
复制代码

提示inactive.

dmesg输出信息如下:
  1. [ 2843.172611] wlan0: associate with AP 00:1b:11:a6:7f:bc
  2. [ 2843.175049] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  3. [ 2843.175055] wlan0: AP denied association (code=1)
  4. [ 2843.372038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  5. [ 2843.375939] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  6. [ 2843.375944] wlan0: AP denied association (code=1)
  7. [ 2843.572039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  8. [ 2843.574425] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  9. [ 2843.574430] wlan0: AP denied association (code=1)
  10. [ 2843.772042] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  11. [ 4366.606673] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  12. [ 4366.606682] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  13. [ 4366.606687] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  14. [ 4366.606692] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  15. [ 4366.606701] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  16. [ 4366.609183] wlan0: authenticated
  17. [ 4366.609189] wlan0: associate with AP 00:1b:11:a6:7f:bc
  18. [ 4366.611567] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  19. [ 4366.611573] wlan0: AP denied association (code=1)
  20. [ 4366.809039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  21. [ 4366.811433] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  22. [ 4366.811438] wlan0: AP denied association (code=1)
  23. [ 4367.009038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  24. [ 4367.012434] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  25. [ 4367.012439] wlan0: AP denied association (code=1)
  26. [ 4367.209039] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  27. [ 4748.442550] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  28. [ 4748.442558] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  29. [ 4748.442564] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  30. [ 4748.442569] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  31. [ 4748.442577] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  32. [ 4748.445059] wlan0: authenticated
  33. [ 4748.445064] wlan0: associate with AP 00:1b:11:a6:7f:bc
  34. [ 4748.447431] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  35. [ 4748.447435] wlan0: AP denied association (code=1)
  36. [ 4748.645036] wlan0: associate with AP 00:1b:11:a6:7f:bc
  37. [ 4748.647559] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  38. [ 4748.647564] wlan0: AP denied association (code=1)
  39. [ 4748.845035] wlan0: associate with AP 00:1b:11:a6:7f:bc
  40. [ 4748.847558] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  41. [ 4748.847563] wlan0: AP denied association (code=1)
  42. [ 4749.045043] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  43. [ 4921.022923] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  44. [ 4921.022932] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  45. [ 4921.022937] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  46. [ 4921.022943] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  47. [ 4921.022951] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  48. [ 4921.026467] wlan0: authenticated
  49. [ 4921.026474] wlan0: associate with AP 00:1b:11:a6:7f:bc
  50. [ 4921.028579] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  51. [ 4921.028585] wlan0: AP denied association (code=1)
  52. [ 4921.226038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  53. [ 4921.228560] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  54. [ 4921.228565] wlan0: AP denied association (code=1)
  55. [ 4921.426030] wlan0: associate with AP 00:1b:11:a6:7f:bc
  56. [ 4921.428435] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  57. [ 4921.428440] wlan0: AP denied association (code=1)
  58. [ 4921.626038] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  59. [ 5197.683155] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  60. [ 5197.683164] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  61. [ 5197.683169] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  62. [ 5197.683175] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  63. [ 5197.683182] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  64. [ 5197.688178] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  65. [ 5197.688186] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  66. [ 5197.688191] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  67. [ 5197.688196] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  68. [ 5197.688204] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  69. [ 5197.689560] wlan0: authenticated
  70. [ 5197.689566] wlan0: associate with AP 00:1b:11:a6:7f:bc
  71. [ 5197.696705] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  72. [ 5197.696711] wlan0: AP denied association (code=1)
  73. [ 5197.889037] wlan0: associate with AP 00:1b:11:a6:7f:bc
  74. [ 5197.891433] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  75. [ 5197.891438] wlan0: AP denied association (code=1)
  76. [ 5198.089038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  77. [ 5198.091682] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  78. [ 5198.091687] wlan0: AP denied association (code=1)
  79. [ 5198.289040] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  80. [ 5250.854791] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  81. [ 5250.854799] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  82. [ 5250.854804] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  83. [ 5250.854810] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  84. [ 5250.854818] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  85. [ 5250.864926] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  86. [ 5250.864935] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  87. [ 5250.864941] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  88. [ 5250.864946] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  89. [ 5250.864953] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  90. [ 5250.864986] wlan0: authenticated
  91. [ 5250.864990] wlan0: associate with AP 00:1b:11:a6:7f:bc
  92. [ 5250.872316] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  93. [ 5250.872323] wlan0: AP denied association (code=1)
  94. [ 5251.065039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  95. [ 5251.068687] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  96. [ 5251.068692] wlan0: AP denied association (code=1)
  97. [ 5251.265037] wlan0: associate with AP 00:1b:11:a6:7f:bc
  98. [ 5251.268810] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  99. [ 5251.268815] wlan0: AP denied association (code=1)
  100. [ 5251.465041] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  101. [ 5351.939164] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  102. [ 5351.939171] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  103. [ 5351.939177] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  104. [ 5351.939182] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  105. [ 5351.939190] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  106. [ 5351.948552] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  107. [ 5351.948561] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  108. [ 5351.948567] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  109. [ 5351.948572] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  110. [ 5351.948580] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  111. [ 5351.957225] wlan0: authenticated
  112. [ 5351.957236] wlan0: associate with AP 00:1b:11:a6:7f:bc
  113. [ 5351.959599] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  114. [ 5351.959606] wlan0: AP denied association (code=1)
  115. [ 5352.157038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  116. [ 5352.161185] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  117. [ 5352.161190] wlan0: AP denied association (code=1)
  118. [ 5352.357039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  119. [ 5352.359562] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  120. [ 5352.359567] wlan0: AP denied association (code=1)
  121. [ 5352.557040] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  122. [ 5405.189400] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  123. [ 5405.189409] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  124. [ 5405.189415] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  125. [ 5405.189420] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  126. [ 5405.189428] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  127. [ 5405.196178] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  128. [ 5405.196187] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  129. [ 5405.196192] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  130. [ 5405.196198] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  131. [ 5405.196205] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  132. [ 5405.196238] wlan0: authenticated
  133. [ 5405.196243] wlan0: associate with AP 00:1b:11:a6:7f:bc
  134. [ 5405.200875] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  135. [ 5405.200882] wlan0: AP denied association (code=1)
  136. [ 5405.396037] wlan0: associate with AP 00:1b:11:a6:7f:bc
  137. [ 5405.402055] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  138. [ 5405.402060] wlan0: AP denied association (code=1)
  139. [ 5405.596039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  140. [ 5405.598436] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  141. [ 5405.598441] wlan0: AP denied association (code=1)
  142. [ 5405.796035] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  143. [ 5452.648298] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  144. [ 5452.648306] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  145. [ 5452.648312] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  146. [ 5452.648317] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  147. [ 5452.648325] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  148. [ 5452.654788] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  149. [ 5452.654796] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  150. [ 5452.654801] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  151. [ 5452.654807] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  152. [ 5452.654814] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  153. [ 5452.660734] wlan0: authenticated
  154. [ 5452.660744] wlan0: associate with AP 00:1b:11:a6:7f:bc
  155. [ 5452.662842] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  156. [ 5452.662847] wlan0: AP denied association (code=1)
  157. [ 5452.860440] wlan0: associate with AP 00:1b:11:a6:7f:bc
  158. [ 5452.864060] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  159. [ 5452.864065] wlan0: AP denied association (code=1)
  160. [ 5453.060039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  161. [ 5453.066555] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  162. [ 5453.066560] wlan0: AP denied association (code=1)
  163. [ 5453.260029] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  164. [ 5459.946163] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  165. [ 5459.946172] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  166. [ 5459.946177] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  167. [ 5459.946182] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  168. [ 5459.946190] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  169. [ 5459.951444] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  170. [ 5459.951451] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  171. [ 5459.951457] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  172. [ 5459.951462] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  173. [ 5459.951470] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  174. [ 5459.955284] wlan0: authenticated
  175. [ 5459.955293] wlan0: associate with AP 00:1b:11:a6:7f:bc
  176. [ 5459.961317] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  177. [ 5459.961323] wlan0: AP denied association (code=1)
  178. [ 5460.155031] wlan0: associate with AP 00:1b:11:a6:7f:bc
  179. [ 5460.157440] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  180. [ 5460.157446] wlan0: AP denied association (code=1)
  181. [ 5460.355042] wlan0: associate with AP 00:1b:11:a6:7f:bc
  182. [ 5460.360173] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  183. [ 5460.360179] wlan0: AP denied association (code=1)
  184. [ 5460.555034] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  185. [ 5534.044787] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  186. [ 5534.044795] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  187. [ 5534.044801] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  188. [ 5534.044806] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  189. [ 5534.044814] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  190. [ 5534.051538] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  191. [ 5534.051546] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  192. [ 5534.051551] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  193. [ 5534.051556] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  194. [ 5534.051564] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  195. [ 5534.052296] wlan0: authenticated
  196. [ 5534.052302] wlan0: associate with AP 00:1b:11:a6:7f:bc
  197. [ 5534.070989] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  198. [ 5534.070996] wlan0: AP denied association (code=1)
  199. [ 5534.252035] wlan0: associate with AP 00:1b:11:a6:7f:bc
  200. [ 5534.255446] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  201. [ 5534.255453] wlan0: AP denied association (code=1)
  202. [ 5534.452033] wlan0: associate with AP 00:1b:11:a6:7f:bc
  203. [ 5534.455928] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  204. [ 5534.455935] wlan0: AP denied association (code=1)
  205. [ 5534.652037] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  206. [ 5573.159645] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  207. [ 5573.159654] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  208. [ 5573.159659] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  209. [ 5573.159665] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  210. [ 5573.159673] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  211. [ 5573.165803] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  212. [ 5573.165812] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  213. [ 5573.165817] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  214. [ 5573.165822] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  215. [ 5573.165830] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  216. [ 5573.170610] wlan0: authenticated
  217. [ 5573.170619] wlan0: associate with AP 00:1b:11:a6:7f:bc
  218. [ 5573.174880] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  219. [ 5573.174887] wlan0: AP denied association (code=1)
  220. [ 5573.370036] wlan0: associate with AP 00:1b:11:a6:7f:bc
  221. [ 5573.372592] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  222. [ 5573.372597] wlan0: AP denied association (code=1)
  223. [ 5573.570039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  224. [ 5573.576180] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  225. [ 5573.576185] wlan0: AP denied association (code=1)
  226. [ 5573.770038] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  227. [ 5605.420646] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  228. [ 5605.420654] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  229. [ 5605.420660] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  230. [ 5605.420665] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  231. [ 5605.420674] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  232. [ 5605.427054] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  233. [ 5605.427062] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  234. [ 5605.427068] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  235. [ 5605.427073] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  236. [ 5605.427081] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  237. [ 5605.427613] wlan0: authenticated
  238. [ 5605.427619] wlan0: associate with AP 00:1b:11:a6:7f:bc
  239. [ 5605.440958] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  240. [ 5605.440964] wlan0: AP denied association (code=1)
  241. [ 5605.627039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  242. [ 5605.630307] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  243. [ 5605.630312] wlan0: AP denied association (code=1)
  244. [ 5605.827039] wlan0: associate with AP 00:1b:11:a6:7f:bc
  245. [ 5605.829562] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  246. [ 5605.829566] wlan0: AP denied association (code=1)
  247. [ 5606.027038] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  248. [ 5696.909790] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  249. [ 5696.909797] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  250. [ 5696.909803] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  251. [ 5696.909808] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  252. [ 5696.909816] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  253. [ 5696.925418] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  254. [ 5696.925426] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  255. [ 5696.925432] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  256. [ 5696.925437] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  257. [ 5696.925446] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  258. [ 5696.927061] wlan0: authenticated
  259. [ 5696.927069] wlan0: associate with AP 00:1b:11:a6:7f:bc
  260. [ 5696.929797] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  261. [ 5696.929803] wlan0: AP denied association (code=1)
  262. [ 5697.127030] wlan0: associate with AP 00:1b:11:a6:7f:bc
  263. [ 5697.129559] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  264. [ 5697.129564] wlan0: AP denied association (code=1)
  265. [ 5697.327036] wlan0: associate with AP 00:1b:11:a6:7f:bc
  266. [ 5697.331934] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  267. [ 5697.331939] wlan0: AP denied association (code=1)
  268. [ 5697.527036] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  269. [ 5764.356667] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  270. [ 5764.356676] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  271. [ 5764.356682] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  272. [ 5764.356687] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  273. [ 5764.356695] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  274. [ 5764.366178] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  275. [ 5764.366187] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  276. [ 5764.366192] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  277. [ 5764.366198] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  278. [ 5764.366206] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  279. [ 5764.366237] wlan0: authenticated
  280. [ 5764.366241] wlan0: associate with AP 00:1b:11:a6:7f:bc
  281. [ 5764.371381] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  282. [ 5764.371387] wlan0: AP denied association (code=1)
  283. [ 5764.566036] wlan0: associate with AP 00:1b:11:a6:7f:bc
  284. [ 5764.568432] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  285. [ 5764.568437] wlan0: AP denied association (code=1)
  286. [ 5764.766038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  287. [ 5764.768429] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  288. [ 5764.768433] wlan0: AP denied association (code=1)
  289. [ 5764.966038] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  290. [ 5846.311036] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  291. [ 5846.311045] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  292. [ 5846.311051] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  293. [ 5846.311056] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  294. [ 5846.311064] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  295. [ 5846.317677] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  296. [ 5846.317686] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  297. [ 5846.317691] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  298. [ 5846.317697] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  299. [ 5846.317704] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  300. [ 5846.320309] wlan0: authenticated
  301. [ 5846.320315] wlan0: associate with AP 00:1b:11:a6:7f:bc
  302. [ 5846.323060] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  303. [ 5846.323066] wlan0: AP denied association (code=1)
  304. [ 5846.520041] wlan0: associate with AP 00:1b:11:a6:7f:bc
  305. [ 5846.522426] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  306. [ 5846.522431] wlan0: AP denied association (code=1)
  307. [ 5846.720038] wlan0: associate with AP 00:1b:11:a6:7f:bc
  308. [ 5846.722436] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  309. [ 5846.722441] wlan0: AP denied association (code=1)
  310. [ 5846.920036] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  311. [ 5900.291506] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  312. [ 5900.291514] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  313. [ 5900.291520] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  314. [ 5900.291525] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  315. [ 5900.291534] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  316. [ 5900.298677] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
  317. [ 5900.298685] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 10, Aifs: 2.
  318. [ 5900.298691] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 2.
  319. [ 5900.298696] phy2 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 2.
  320. [ 5900.298703] wlan0: authenticate with AP 00:1b:11:a6:7f:bc
  321. [ 5900.298736] wlan0: authenticated
  322. [ 5900.298741] wlan0: associate with AP 00:1b:11:a6:7f:bc
  323. [ 5900.303062] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  324. [ 5900.303068] wlan0: AP denied association (code=1)
  325. [ 5900.498031] wlan0: associate with AP 00:1b:11:a6:7f:bc
  326. [ 5900.500558] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  327. [ 5900.500563] wlan0: AP denied association (code=1)
  328. [ 5900.698040] wlan0: associate with AP 00:1b:11:a6:7f:bc
  329. [ 5900.700435] wlan0: RX AssocResp from 00:1b:11:a6:7f:bc (capab=0x431 status=1 aid=0)
  330. [ 5900.700440] wlan0: AP denied association (code=1)
  331. [ 5900.898037] wlan0: association with AP 00:1b:11:a6:7f:bc timed out
  332. [ 6369.999797] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
  333. [ 6370.002177] wlan0: deauthenticated
  334. [ 6375.822931] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
  335. [ 6381.646678] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
  336. [ 6387.469803] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
  337. [ 6393.300921] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
  338. [ 6399.136172] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
复制代码
发表于 2009-4-11 01:25:11 | 显示全部楼层
emerge -av wicd
无须配置
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 01:34:57 | 显示全部楼层
配置好了:
经过不断的修改,终于可以连上了。
  1. gentoo-pjq pjq # cat /etc/wpa_supplicant/wpa_supplicant.conf
  2. # This is a network block that connects to any unsecured access point.
  3. # We give it a low priority so any defined blocks are preferred.
  4. #network={
  5. #        key_mgmt=NONE
  6. #        priority=-9999999
  7. #}
  8. ctrl_interface=/var/run/wpa_supplicant
  9. network={
  10.   ssid="522"
  11. #  mode=1
  12.   proto=WPA
  13. #key_mgmt=WPA-EAP
  14. key_mgmt=WPA-PSK
  15. #key_mgmt=WPA2-PSK
  16. pairwise=TKIP
  17.   group=TKIP
  18.   psk="522lihongpeng"
  19. auth_alg=OPEN
  20. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 01:38:44 | 显示全部楼层
发现修改成下面这样也可以:
  1. gentoo-pjq pjq # cat /etc/wpa_supplicant/wpa_supplicant.conf
  2. # This is a network block that connects to any unsecured access point.
  3. # We give it a low priority so any defined blocks are preferred.
  4. #network={
  5. #        key_mgmt=NONE
  6. #        priority=-9999999
  7. #}
  8. ctrl_interface=/var/run/wpa_supplicant
  9. network={
  10.   ssid="522"
  11. #mode=1
  12.   proto=WPA
  13. #key_mgmt=WPA-EAP
  14. key_mgmt=WPA-PSK
  15. #key_mgmt=WPA2-PSK
  16. # pairwise=TKIP
  17. #  group=TKIP
  18.   psk="522lihongpeng"
  19. #auth_alg=OPEN
  20. }
复制代码

只要将#mode=1打开的话就不行,现在还不知道为什么。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 02:05:31 | 显示全部楼层
Post by mrhaigui;1972680
emerge -av wicd
无须配置

试了一下,这个确实强大。感谢。
按照安装时的提示,将net.eth0 net.wlan0从runlevel中删除。并将wicd添加到默认启动
  1. rc-update del net.wlan0
  2. rc-update del net.eth0
  3. rc-update add wicd default
  4. sudo vim /etc/conf.d/rc
  5. 按照说明编辑成下面这样,就表示系统启动时会启动net.eth0 net.wlan0服务。
  6. RC_PLUG_SERVICES="net.eth0 net.wlan0"
复制代码

装好后,wicd-client会自动加到gnome session中,进入gnome的时候会自动启动wicd-client,并显示在system-tray上,点击一下,就可以很轻松地配置无线网络了。
回复 支持 反对

使用道具 举报

发表于 2009-4-11 16:59:20 | 显示全部楼层
wpa_passphrase 命令就可以解决了,
回复 支持 反对

使用道具 举报

发表于 2010-10-1 19:01:11 | 显示全部楼层
key_mgmt=WPA2-PSK
可以使用吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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