Results 1 to 11 of 11

Thread: wpa_supplicant + wl500g delux

  1. #1

    wpa_supplicant + wl500g delux

    Всем привет!
    Уже устал искать проблему... Комп не может законектится... Вернее, 3 машины с Linux на борту и ни одна не может подцепиться. Не цеплялось сразу после перепрошивки, потом стало цеплятся (причем все сразу), а теперь, после ночи - опять перестало... На компах стоит broadcom и prism2/3. В других сетях они работали (так же в примерно аналогичной конфигурацией с wpa-psk).

    Настройки wl500g:

    SSID: mishpuha_k
    Channel: auto
    Wireless Mode: auto
    Authentication Method: wpa-psk
    WPA Encryption: tkip
    WPA Pre-Shared Key: ?????????
    WEP Encryption: none
    Passphrase:
    WEP Key 1 (10 or 26 hex digits):
    WEP Key 2 (10 or 26 hex digits):
    WEP Key 3 (10 or 26 hex digits):
    WEP Key 4 (10 or 26 hex digits):
    Key Index:
    Network Key Rotation Interval:


    Конфиг wpa_supplicant:
    # cat /etc/wpa_supplicant.conf
    ctrl_interface=/var/run/wpa_supplicant

    network={
    scan_ssid=1
    ssid="mishpuha_k"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    psk="?????????"
    }

    То что выдает wpa_supplicant
    # wpa_supplicant -iwlan0 -Dndiswrapper -c/etc/wpa_supplicant.conf -dd
    Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    ctrl_interface='/var/run/wpa_supplicant'
    Line: 23 - start of a new network block
    scan_ssid=1 (0x1)
    ssid - hexdump_ascii(len=10):
    6d 69 73 68 70 75 68 61 5f 6b mishpuha_k
    proto: 0x2
    key_mgmt: 0x2
    pairwise: 0x8
    group: 0x8
    PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    Priority group 0
    id=0 ssid='mishpuha_k'
    Initializing interface (2) 'wlan0'
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    ioctl[SIOCSIWPMKSA]: Invalid argument
    SIOCGIWRANGE: WE(compiled)=18 WE(source)=18 enc_capa=0xf
    capabilities: key_mgmt 0xf enc 0xf
    Own MAC address: 00:90:96:f4:20:11
    Setting scan request: 0 sec 100000 usec
    Using existing control interface directory.
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    State: DISCONNECTED -> SCANNING
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=10):
    6d 69 73 68 70 75 68 61 5f 6b mishpuha_k
    Scan timeout - try to get results
    Received 584 bytes of scan results (2 BSSes)
    Scan results: 2
    Selecting BSS from priority group 0
    0: 00:15:f2:88:fb:31 ssid='mishpuha_k' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
    selected
    Trying to associate with 00:15:f2:88:fb:31 (SSID='mishpuha_k' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    RSN: using IEEE 802.11i/D9.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
    WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    No keys have been configured - skip key clearing
    State: SCANNING -> ASSOCIATING
    Setting authentication timeout: 5 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RSN: Ignored PMKID candidate without preauth flag
    Authentication with 00:00:00:00:00:00 timed out.
    Added BSSID 00:00:00:00:00:00 into blacklist
    State: ASSOCIATING -> DISCONNECTED
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    Setting scan request: 0 sec 0 usec
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Scan timeout - try to get results
    Received 584 bytes of scan results (2 BSSes)
    Scan results: 2
    Selecting BSS from priority group 0
    0: 00:15:f2:88:fb:31 ssid='mishpuha_k' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
    selected
    Trying to associate with 00:15:f2:88:fb:31 (SSID='mishpuha_k' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    RSN: using IEEE 802.11i/D9.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
    WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    No keys have been configured - skip key clearing
    State: SCANNING -> ASSOCIATING
    Setting authentication timeout: 5 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RSN: Ignored PMKID candidate without preauth flag
    Authentication with 00:00:00:00:00:00 timed out.
    BSSID 00:00:00:00:00:00 blacklist count incremented to 2
    State: ASSOCIATING -> DISCONNECTED
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    Setting scan request: 0 sec 0 usec
    State: DISCONNECTED -> SCANNING
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=10):
    6d 69 73 68 70 75 68 61 5f 6b mishpuha_k
    Scan timeout - try to get results
    Received 584 bytes of scan results (2 BSSes)
    Scan results: 2
    Selecting BSS from priority group 0
    0: 00:15:f2:88:fb:31 ssid='mishpuha_k' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
    selected
    Trying to associate with 00:15:f2:88:fb:31 (SSID='mishpuha_k' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    RSN: using IEEE 802.11i/D9.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
    WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    No keys have been configured - skip key clearing
    State: SCANNING -> ASSOCIATING
    Setting authentication timeout: 5 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RSN: Ignored PMKID candidate without preauth flag
    Authentication with 00:00:00:00:00:00 timed out.
    BSSID 00:00:00:00:00:00 blacklist count incremented to 3
    State: ASSOCIATING -> DISCONNECTED
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    Setting scan request: 0 sec 0 usec
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Scan timeout - try to get results
    Received 584 bytes of scan results (2 BSSes)
    Scan results: 2
    Selecting BSS from priority group 0
    0: 00:15:f2:88:fb:31 ssid='mishpuha_k' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
    selected
    Trying to associate with 00:15:f2:88:fb:31 (SSID='mishpuha_k' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    RSN: using IEEE 802.11i/D9.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
    WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
    No keys have been configured - skip key clearing
    State: SCANNING -> ASSOCIATING
    Setting authentication timeout: 5 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RSN: Ignored PMKID candidate without preauth flag
    State: ASSOCIATING -> DISCONNECTED
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    No keys have been configured - skip key clearing
    Control interface directory not empty - leaving it behind
    Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
    Last edited by mikhako; 14-04-2006 at 12:17.

  2. #2
    Странно... После того, как я пребил процесс nas, и запустил его снова ручками - все заработало... Мда, в чем же может быть проблема?

  3. #3
    Аналогично за исключением дров (madwifi), уже запарился подключать линкусовый бокс по wifi к wl500gP...

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    У меня с ndiswrapper отлично себя чувствует Prism54g и Broadcom. Сеть с WPA-PSK TKIP+AES.

  5. #5
    Quote Originally Posted by Oleg View Post
    У меня с ndiswrapper отлично себя чувствует Prism54g и Broadcom. Сеть с WPA-PSK TKIP+AES.
    А можно наименования данных сетевух в студию? Пойду искать, а то у меня звезды криво уже которую ночь встают, вторая сетевуха на Atheros не хочет под madwifi нормально работать

  6. #6
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Дык попробуйте ndiswrapper. Дело не в карте, а в модуле. Покупать ещё один Atheros смысла нет.

    Карты такие - ASUS WL-120g v2 (MiniPCI), Corega WLCB-54GT (CardBus).

    Только Вы их не купите: первая - это запчасть к ноутбукам/точкам доступа, вторая уже давно не производится. ;-)

    Atheros должен работать, в этом нет сомнений. Покупать ещё одну карту я бы не стал.

  7. #7
    Quote Originally Posted by Oleg View Post
    Дык попробуйте ndiswrapper
    Спасибо за инфу, попробую под ndiswrapper, что-нить поискать...

    Quote Originally Posted by Oleg View Post
    Покупать ещё один Atheros смысла нет.
    Не, я их не покупаю, просто выдергию из компов поблизости. Вариантов много, и методом тыка выбрать слишком долго будет. Ладно не буду офтопить, ибо уже очевидно, что роутер здесь не причем, дрова криво работают... Просто для статистики, пробовал карты TEW-443PI и DWL-G520. Первый вариант замечательно работает под FC5, debian (knoppix 5.x) и еще много где, засада случилась только под gentoo на epia sp8000 платформе, в самый не подходящий момент

  8. #8
    Quote Originally Posted by Oleg View Post
    Дык попробуйте ndiswrapper. Дело не в карте, а в модуле.
    Еще раз спасибо, оказалось верно на 100% Под ndiswrapper-ом обе карты заработали без проблем. Однако с роутером wl500gP определенно что-то не то. В данный момент настройки шифрование WPA-PSK/TKIP+AES, но пробовал и другие варианты,
    Code:
    # iwlist wlan0 scan
    на интересующей точке выдает:
    Code:
    IE: WPA Version 1
      Group Cipher : WEP-104
      Pairwise Ciphers (2) : CCMP TKIP
      Authentication Suites (1) : PSK
    И если вырезать поддержку WEP104 в конфиге, то карта к точке не подключается. Так должно быть или у меня опять что-то сглючило?

    P.S. Не совсем в тему, но в сабжом сообщении это есть. Может кто в курсе как избавиться от сообщения ioctl[SIOCSIWPMKSA]: Invalid argument? Все параметры в wpa_supplicant проверил и перепроверил, все лишнее выкинул, а данное сообщение постоянно появляется при подключении...

  9. #9
    WEP Encryption надо поставить "None" иначе Асус что-то непонятное творит, то ли это WEP, то ли уже WPA-PSK не понимаю

  10. #10
    Quote Originally Posted by vladonline View Post
    WEP Encryption надо поставить "None" иначе Асус что-то непонятное творит, то ли это WEP, то ли уже WPA-PSK не понимаю
    Он вроде и WEP и WPA сразу врубет, так что безопасность в ноль...
    Sorry for my bad English.
    Покупайте Отечественных Слонов!!!

  11. #11
    I don't read Russian but I assume this problem has to do with what I'm facing: I can't make my USB stick (based on Ralink rt2571w chipset) associate with my Asus WL500g deluxe (Oleg's firmware 7f) under linux.

    Doing a iwlist scan wlan0 gives this:

    Code:
              Cell 03 - Address: 00:11:95:35:DC:D5
                        ESSID:"testing"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.462 GHz (Channel 11)
                        Quality:0/100  Signal level:-40 dBm  Noise level:-256 dBm
                        Encryption key:on
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                                  48 Mb/s; 54 Mb/s
                        Extra:bcn_int=80
                        Extra:atim=0
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
                           Preauthentication Supported
              Cell 04 - Address: 00:13:D4:E8:52:DF
                        ESSID:"neelix"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.472 GHz (Channel 13)
                        Quality:0/100  Signal level:-28 dBm  Noise level:-256 dBm
                        Encryption key:on
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                                  12 Mb/s; 48 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : WEP-104
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
                        IE: WPA Version 1
                            Group Cipher : WEP-104
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
    The neelix access point is the Asus, the testing AP is the D-Link. The WEP-104 group cipher is what is puzzling me... How can I force this into TKIP and force the Asus to be either WPA1 or WPA2 but not both? I found already this thread but it doesn't work for me, the router keeps saying it does both with WEP-104...

Similar Threads

  1. Router doesn't see USB disk anymore
    By Styno in forum WL-500g Q&A
    Replies: 7
    Last Post: 15-08-2006, 08:37
  2. WAN port dies after a time of traffic
    By Phantome in forum WL-500g Q&A
    Replies: 101
    Last Post: 16-10-2004, 03:59
  3. Firmware v1.7.5.6 CR5 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 43
    Last Post: 14-07-2004, 21:54
  4. Total crash every day
    By Djuri in forum WL-500g Q&A
    Replies: 8
    Last Post: 09-06-2004, 09:05
  5. Usb hdd problem
    By djbokkeman in forum WL-500g Q&A
    Replies: 4
    Last Post: 01-06-2004, 00:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •