ath9k with hostapd and iPad / iPhone

Reindl Harald h.reindl at thelounge.net
Fri Apr 20 16:31:15 UTC 2012


Hi

has somebody "magic settings" to get Apple mobile-crap
working with hostapd instead permanently interrupt the
connection?

other mobile devices are working fine all the time up to 80 Mbit
netto and only recent iPhone / iPad is running in trouble

no these are not my devices but my AP :-(

the "iphone"-block from my "hostapd.conf" below was a try after
google around the world, other devies are still happy but the
apple crap is still not impressed by the change
___________________________________________

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics
Controller (rev 09)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
___________________________________________

cat /etc/hostapd/hostapd.conf
# default settings
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
auth_algs=1
ignore_broadcast_ssid=0
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept

# login-data
ssid=****
wpa_passphrase=**************************

# wpa2-only support
wpa=2
rsn_pairwise=CCMP

# wpa1/wpa2 support
# wpa=3
# wpa_key_mgmt=WPA-PSK
# wpa_pairwise=TKIP
# rsn_pairwise=CCMP

# local configuration
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
ieee80211n=1
wmm_enabled=1
channel=11
country_code=AT
max_num_sta=100

# iphone
ieee8021x=0
eap_server=0
wme_enabled=0

# logging
# 0 = verbose debugging
# 1 = debugging
# 2 = informational messages
# 3 = notification
# 4 = warning
logger_syslog=1
logger_syslog_level=2
___________________________________________

Name       : hostapd
Architektur : x86_64
Version    : 0.7.3
Ausgabe    : 2.fc15
Größe : 553 k
Repo        : installed
Aus repo    : fedora
Zusammenfassung     : IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
URL        : http://w1.fi/hostapd
Lizenz     : BSD
Beschreibung : hostapd is a user space daemon for access point and authentication
             : servers.  It implements IEEE 802.11 access point management, IEEE
             : 802.1X/WPA/WPA2/EAP Authenticators and RADIUS authentication server.
             :
             : hostapd is designed to be a "daemon" program that runs in the back-
             : ground and acts as the backend component controlling authentication.
             : hostapd supports separate frontend programs and an example text-based
             : frontend, hostapd_cli, is included with hostapd.
___________________________________________

output of "lsmod"

Module                  Size  Used by
nf_nat_ftp             12770  0
nf_conntrack_ftp       14484  1 nf_nat_ftp
nf_nat_sip             17079  0
nf_conntrack_sip       28807  1 nf_nat_sip
xt_state               12578  20
iptable_mangle         12695  0
ipt_MASQUERADE         12880  2
iptable_nat            13383  1
nf_nat                 25143  4 nf_nat_ftp,nf_nat_sip,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      14622  23 iptable_nat,nf_nat
nf_conntrack           82286  9
nf_nat_ftp,nf_conntrack_ftp,nf_nat_sip,nf_conntrack_sip,xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4         12673  1 nf_conntrack_ipv4
tun                    22804  2
bridge                 90950  0
stp                    12823  1 bridge
llc                    14090  2 bridge,stp
ipt_LOG                12993  1
xt_limit               12711  1
xt_recent              18474  6
xt_multiport           12798  16
coretemp               13401  0
arc4                   12529  2
ath9k                 134768  0
mac80211              496450  1 ath9k
ath9k_common           13600  1 ath9k
ath9k_hw              408211  2 ath9k,ath9k_common
ath                    23089  3 ath9k,ath9k_common,ath9k_hw
cfg80211              195558  3 ath9k,mac80211,ath
hp_wmi                 18048  0
sparse_keymap          13526  1 hp_wmi
iTCO_wdt               17948  0
iTCO_vendor_support    13419  1 iTCO_wdt
e1000e                198408  0
i2c_i801               17765  0
rfkill                 21342  2 cfg80211,hp_wmi
raid1                  35373  3
wmi                    18697  1 hp_wmi
i915                  466748  1
drm_kms_helper         40231  1 i915
drm                   242003  2 i915,drm_kms_helper
i2c_algo_bit           13156  1 i915
i2c_core               37991  5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                  18932  1 i915


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120420/fe1e12a7/attachment.sig>


More information about the users mailing list