Community discussions

MikroTik App
 
lcx
newbie
Topic Author
Posts: 26
Joined: Wed Nov 11, 2009 2:58 pm

WiFi RB951-2n / RB751U-2HnD -> unicast key timeout

Thu Jul 04, 2013 7:11 pm

I seem to have some issues with wireless and iPhones.
17:33:52 wireless,info 68:09:27:D0:07:1F@wlan1: connected
17:33:57 wireless,info 68:09:27:D0:07:1F@wlan1: disconnected, unicast key exchange timeout
17:36:02 wireless,info 68:09:27:12:B4:D4@wlan1: connected
17:36:07 wireless,info 68:09:27:12:B4:D4@wlan1: disconnected, unicast key exchange timeout
17:36:19 wireless,info 68:09:27:12:B4:D4@wlan1: connected
17:36:24 wireless,info 68:09:27:12:B4:D4@wlan1: disconnected, unicast key exchange timeout
17:36:34 wireless,info 68:09:27:12:B4:D4@wlan1: connected
17:36:39 wireless,info 68:09:27:12:B4:D4@wlan1: disconnected, unicast key exchange timeout
17:37:00 wireless,info 68:09:27:12:B4:D4@wlan1: connected
17:37:05 wireless,info 68:09:27:12:B4:D4@wlan1: disconnected, unicast key exchange timeout
17:38:18 wireless,info 68:09:27:D0:07:1F@wlan1: connected
I had this problem on a RB751U-2HnD and replaced it with RB951-2n and I'm facing the same issue.
With other devices (this one is supposed to be a samsung phone)
17:31:40 wireless,info 0C:14:20:B8:44:7F@wlan1: connected
.
.
.
17:45:20 wireless,info 0C:14:20:B8:44:7F@wlan1: disconnected, group key exchange timeout
17:47:40 wireless,info wlan1: data from unknown device 0C:14:20:B8:44:7F, sent deauth
I have no physical access to the router, but before I have it to my customer I tested the router with my iPhone and MacBook and it worked. As soon as it's connected in the customers office the problems start.
The iPhones on site are running iOS 6.1.3 and I am running iOS 6.1.4

My wireless configuration started with the default configuration, I just added a password and changed SSID.
Meanwhile I have tried different things and this is my current setting:
/interface wireless print advanced
Flags: X - disabled, R - running
 0  R name="wlan1" mtu=1500 mac-address=D4:CA:6D:A4:54:13 arp=enabled disable-running-check=no interface-type=Atheros AR9300 radio-name="D4CA6DA45413" mode=ap-bridge ssid="Boonet"
      area="" frequency-mode=manual-txpower country=hungary antenna-gain=0 frequency=2442 band=2ghz-b/g/n channel-width=20/40mhz-ht-above scan-list=default wireless-protocol=any
      rate-set=default supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps basic-rates-b=1Mbps
      basic-rates-a/g=6Mbps max-station-count=2007 distance=indoors tx-power-mode=default noise-floor-threshold=default nv2-noise-floor-offset=default
      periodic-calibration=default periodic-calibration-interval=60 dfs-mode=none wds-mode=disabled wds-default-bridge=none wds-default-cost=100 wds-cost-range=50-150
      wds-ignore-ssid=no update-stats-interval=disabled bridge-mode=enabled default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0
      proprietary-extensions=post-2.9.25 wmm-support=disabled hide-ssid=no security-profile=default disconnect-timeout=3s on-fail-retry-time=100ms preamble-mode=both
      compression=no allow-sharedkey=no station-bridge-clone-mac=00:00:00:00:00:00 ht-ampdu-priorities=0 ht-guard-interval=any
      ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-
                 23
      ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-txchains=0 ht-rxchains=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192 tdma-period-size=2 nv2-queue-count=2
      nv2-qos=default nv2-cell-radius=30 nv2-security=disabled nv2-preshared-key="" hw-retries=7 frame-lifetime=0 adaptive-noise-immunity=none hw-fragmentation-threshold=disabled
      hw-protection-mode=none hw-protection-threshold=0 frequency-offset=0 rate-selection=advanced multicast-helper=default multicast-buffering=enabled


      /interface wireless security-profiles
      set [ find default=yes ] authentication-types=wpa-psk eap-methods=passthrough mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=mysecretpassword wpa2-pre-shared-key=\
          mysecretpassword
I love MT, but when it comes to wireless it's just frustrating and driving me insane. I'm sure you can do amazing stuff with it, but all I want is a simple access point and it looks like I'm failing.
 
heich
just joined
Posts: 10
Joined: Tue Sep 28, 2010 5:12 pm

Re: WiFi RB951-2n / RB751U-2HnD -> unicast key timeout

Thu Jul 04, 2013 10:27 pm

 
lcx
newbie
Topic Author
Posts: 26
Joined: Wed Nov 11, 2009 2:58 pm

[SOLVED] Re: WiFi RB951-2n / RB751U-2HnD -> unicast key tim

Thu Jul 25, 2013 3:35 pm

Thanks for the hint.
The solution was a comment made in the thread you mentioned.
The other trouble is that iOS "remembers" the encryption settings of a network (SSID) when it discovers it, and doesn't revise those settings if they have changed. So if you change the encryption settings, you may need to tell your iOS device to "forget" that network and rediscover it, before it will connect properly.
http://forum.mikrotik.com/viewtopic.php ... 87#p337987

That was the real issue. Thanks once again.