Aha, nejaky kolega mi typ chipsetu smazal z nazvu...

Je to Atheros ar2417.
lspci -v
00:0c.0 Ethernet controller: Atheros Communications Inc. Device 001d (rev 01)
Subsystem: Atheros Communications Inc. Device 2055
Flags: fast Back2Back, medium devsel, IRQ 9
Memory at e00c0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel modules: ath5k
Zacinal jsem na madwifi, co byly primo v distribuci, ale temer okamzite zacaly skakat Stuck beacon a spojeni se rozpadlo. Pak jsem zkousel starsi madwifi (uz nevim jaky build) i jsem si zkompiloval nejnovejsi, ale vysledek stale stejny.
Pak jsem zkusil ath5k s hostapd z distribuce:
dmesg:
[ 380.231896] ath5k 0000:00:0c.0: registered as 'phy0'
[ 380.836784] ath5k phy0: Atheros AR2417 chip found (MAC: 0xf0, PHY: 0x70)
hostapd:
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 135145272
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=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
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
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 1 Frequency: 2412 MHz
Using interface wlan0 with hwaddr 94:0c:6d:8a:f1:98 and ssid 'nic1'
wlan0: Setup of interface done.
MGMT (TX callback) ACK
iwconfig wlan0:
wlan0 IEEE 802.11bg Mode:Master Frequency:2.412 GHz Tx-Power=20 dBm
Retry min limit:7 RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pak zacnou chvilku skakat hlasky:
dmesg
...
[ 299.733917] ath5k phy0: beacon queue 7 didn't stop?
...
v logu hostapd neni behem te doby nic zajimaveho. Klient se pripoji bez problemu, dostane ip adresu (mam wlan0 v bridgi). Dalsi data ale uz neprojdou. V tcpdumpu na interface wlan0 je videt, ze paket dorazi na routr a ten odpovi, ale tcpdump na klientovi vidi jen svuj dotaz, odpoved nikoliv.
V logu hostapd jsou jen tyto hlasky, mockrat se opakujici:
STA 00:23:76:0f:b2:56 sent probe request for broadcast SSID
STA 00:23:76:0f:b2:56 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
Pote jsem zkousel vsechno mozne (od kompilace compat-wireless baliku az ke kompilaci jineho kernelu "na zkousku") az jsem si drivery rozhazel a ted nejdou ani ty originalni

Takze zitra zkusim starsi distro voyage a pak uz nevim, co s tim provedu, kdyz to fungovat nebude

Myslite, ze je realna sance na funkci, kdyz zkusim plny debian, nebo uplne jinou distribuci?