[Voyage-linux] ath5k 0.7 troubles

Jose Ildefonso Camargo Tolosa (spam-protected)
Sun Mar 13 14:11:32 HKT 2011


Hi!

On Thu, Mar 10, 2011 at 5:00 PM, mgsb <mgsb81 at gmail.com> wrote:
> Hi list
>
> I have one miniPCI wlan card and need two virtual interfaces that I can
> point two instances of hostapd at to make access points.

No idea of different APs, I just have one, but I guess that adding a
second one would just imply adding the extra hostapd configuration.
read on...

>
> I guess I have two questions, the first is for help getting a
> /etc/network/interfaces working for this setup, and the second being I
> though 0.7 had ath9k support, why is ath5k being used?

ath9k and ath5k support different hardware.

My interfaces file have this:

auto wlan0
iface wlan0 inet static
        hostapd /etc/hostapd/hostapd.conf
        address 10.5.30.1
        netmask 255.255.255.0
        broadcast 10.5.30.255
         up nat.sh wlan0 eth0 "10.5.30.0/24"

And hostapd.conf (with required changes to remove my password, ssid,
off course):

interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=my_ssid
hw_mode=g
channel=1
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_version=2
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_passphrase=my_super_secret_password
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
wpa_pairwise=CCMP TKIP
rsn_pairwise=CCMP
wpa_group_rekey=600
wpa_strict_rekey=1
wpa_gmk_rekey=86400
wpa_ptk_rekey=600

my wlan card:

[   22.769336] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[   22.770900] ath5k phy0: RF2112B 2GHz radio found (0x46)

I hope this helps,

Ildefonso Camargo




More information about the Voyage-linux mailing list