Dlink DWA-556 O ponto de acesso falha ao iniciar em 2.6.35-25 enquanto 2.6.35-24 funciona. Como posso fazer isso com 2.6.35-24?

1

Estou usando o hostapd para executar um ponto de acesso com uma placa N sem fio Dlink DWA-556. No entanto, não consigo mais iniciar quando uso kernels maiores que 2.6.35-24. Aqui está um log onde eu corri o uname -a&&hostapd -c <configfile> nas diferentes versões do kernel.

Linux erikbandersen 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
Configuration file: hostapd.conf
ctrl_interface_group=0  
Opening raw packet socket for ifindex 248
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
HT40: control channel: 2  secondary channel: 6
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Mode: IEEE 802.11g  Channel: 2  Frequency: 2417 MHz
Flushing old station entries
Deauthenticate all stations
Using interface wlan1 with hwaddr 1c:bd:b9:d5:e8:3c and ssid 'erikbandersen.com/freewifi'
wlan1: Setup of interface done.
MGMT (TX callback) ACK
Malformed netlink message: len=436 left=256 plen=420
256 extra bytes in the end of netlink message
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
mgmt::auth
authentication: STA=3c:4a:92:0e:41:2f auth_alg=0 auth_transaction=1 status_code=0 wep=0
  New STA
wlan1: STA 3c:4a:92:0e:41:2f IEEE 802.11: authentication OK (open system)
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-AUTHENTICATE.indication(3c:4a:92:0e:41:2f, OPEN_SYSTEM)
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-DELETEKEYS.request(3c:4a:92:0e:41:2f)
authentication reply: STA=3c:4a:92:0e:41:2f auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan1: STA 3c:4a:92:0e:41:2f IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=3c:4a:92:0e:41:2f capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2  OUI type 2  OUI sub-type 0  version 1  QoS info 0x0
HT: STA 3c:4a:92:0e:41:2f HT Capabilities Info: 0x102c
handle_assoc STA 3c:4a:92:0e:41:2f - no greenfield, num of non-gf stations 1
handle_assoc STA 3c:4a:92:0e:41:2f - 20 MHz HT, num of 20MHz HT STAs 1
hostapd_ht_operation_update current operation mode=0x0
hostapd_ht_operation_update new operation mode=0x7 changes=2
  new AID 1
wlan1: STA 3c:4a:92:0e:41:2f IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan1: STA 3c:4a:92:0e:41:2f IEEE 802.11: associated (aid 1)
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-ASSOCIATE.indication(3c:4a:92:0e:41:2f)
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-DELETEKEYS.request(3c:4a:92:0e:41:2f)
wlan1: STA 3c:4a:92:0e:41:2f RADIUS: starting accounting session 4DAC8224-00000000
MGMT (TX callback) ACK
mgmt::action cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb
Signal 2 received - terminating
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-DEAUTHENTICATE.indication(3c:4a:92:0e:41:2f, 1)
wlan1: STA 3c:4a:92:0e:41:2f MLME: MLME-DELETEKEYS.request(3c:4a:92:0e:41:2f)
Removing station 3c:4a:92:0e:41:2f
hostapd_ht_operation_update current operation mode=0x7
hostapd_ht_operation_update new operation mode=0x0 changes=2
Flushing old station entries
Deauthenticate all stations

.

Linux erikbandersen 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
Configuration file: hostapd.conf
ctrl_interface_group=0  
Opening raw packet socket for ifindex 248
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm
HT40: control channel: 2  secondary channel: 6
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Mode: IEEE 802.11g  Channel: 2  Frequency: 2417 MHz
Could not set channel for kernel driver
wlan1: Unable to setup interface.

Meu cartão sem fio está listado como 02:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01) por lspci. Estou fazendo errado e há uma nova maneira de fazer isso? Eu estou adiando a atualização para o Natty por causa disso. O que mudou entre as versões que causariam isso? Devo denunciá-lo como um bug?

A propósito, aqui está a versão do hostapd e meu hostapd.conf

apt-cache policy hostapd
hostapd:
  Installed: 1:0.6.10-2
  Candidate: 1:0.6.10-2
  Version table:
 *** 1:0.6.10-2 0
        500 http://mirrors.xmission.com/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

Pastebin do hostapd.conf

    
por Azendale 30.06.2011 / 03:22

1 resposta

1

Depois de dar uma boa olhada em algumas informações sobre esse problema, parece que há um problema com a versão do hostapd no Ubuntu atualmente 0.6.1

Eu me refiro a esta lista de discussão que confirma o bug e fornece uma solução

ath9k + hostapd="Não foi possível definir o período do DTIM para o driver do kernel

A solução proposta não surpreende a atualização para 0.7.3 atualmente, já que qualquer atualização do Kernel (verifique a seção de rede) no 2.6.25 foi corrigido na nova versão. Infelizmente não parece ser uma maneira fácil de obter isso no Ubuntu ainda, no entanto, a versão prevista para inclusão no Oneric 11.10 será a nova versão no tempo médio, você terá que compilar a partir da fonte ou, alternativamente, você poderia usar alienígena para converter um rpm como um foi construído para o Fedora 15 Aqui Hostapd no pkgs.org

espero que isso ajude a resolver seu problema

    
por Allan 27.07.2011 / 00:23