Cawte. Potrebujem poradit v jednej veci.
Kupil som si tuto kartu
http://wifi.aspa.cz/cm9-minipci-bezdratova-karta-ar5213-5004x-z46249/ (teda mam 5001x) s touto redukciou
http://www.itsk.sk/zakladni-deska-mikrotik-routerboard-rb11-redukce-pci-1x-minipci_d145661.html do mojho mini home servera, kde chcem spravit WiFi AP.
(mam tam linux squeeze 6.0.3, inak povedané kernel 2.6.32-5-amd64)
Driver som stiahol z madwifi-project.org (ten HAL (this snapshot) a nie rovny release kvoli tomu ze mi to neslo skompilovat a docital som sa ze to tak ma byt).
Tak som to stiahol, rozbalil, nainstaloval, (make),
hodil som do /etc/modules:
ath_pci a do
/etc/modprobe.d/madwifi som hodil riadok:
options ath_pci autocreate=none rfkill=0 outdoor=1hodil som pre istotu cely restart, pozeram asi to ide. Pozriem iwconfig a tam toto:
root@junior:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
# pokial viem, ma sa vytvorit zariadenie wifiX (wifi0) ale to je asi jedno. či?takže zjavne funkčné.
po
lsmod | grep ath:
root@junior:~# lsmod | grep ath
ath_pci 73669 0
wlan 161166 1 ath_pci
ath_hal 214125 1 ath_pci
ath5k 112210 0
mac80211 137372 1 ath5k
ath 8006 1 ath5k
cfg80211 101496 3 ath5k,mac80211,ath
led_class 2433 1 ath5k
aj to vypadá fajn. ALE.
Pokial viem , musim vytvoriť logicke rozhranie (napr. athX) na toto fyzicke zariadenie.
Nejak takto:
root@junior:~# wlanconfig ath1 create wlandev wlan0
wlanconfig: ioctl: Operation not supported
A toto je ten problem. Prečo nechce wlanconfig vytvorit toto logicke zariadenie ath1 ? Teda preco operacia nie je podporovana kedze VIEM! ze tato wifi karta CM9 PODPORUJE taketo veci. (napr.: tu je ukazka zo stranky Petra Simandla (
http://www.simandl.cz/stranky/linux/atheros/atheros.htm)).
Dopedu vďaka za pomoc.
-- ešte len na doplnenie:
dmesg | grep ath:
root@junior:~# dmesg | grep ath
[ 4.669159] atheros_eth 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4.669175] atheros_eth 0000:01:00.0: setting latency timer to 64
[ 5.681788] ath5k 0000:02:0e.0: PCI INT A: no GSI - using IRQ 11
[ 5.681933] ath5k 0000:02:0e.0: registered as 'phy0'
[ 6.139451] ath: EEPROM regdomain: 0x0
[ 6.139457] ath: EEPROM indicates default country code should be used
[ 6.139461] ath: doing EEPROM country->regdmn map search
[ 6.139467] ath: country maps to regdmn code: 0x3a
[ 6.139471] ath: Country alpha2 being used: US
[ 6.139474] ath: Regpair used: 0x3a
[ 6.219404] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[ 6.219411] ath5k phy0: RF5112B multiband radio found (0x36)
[ 6.240153] ath_hal: module license 'Proprietary' taints kernel.
[ 6.243939] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 6.384262] ath_pci: svn r4176 (branch madwifi-0.9.4)
a
lspci | grep Wirelessroot@junior:~# lspci | grep Wireless
02:0e.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)