Community discussions

MikroTik App
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

wireless, problem, android

Fri Apr 16, 2021 10:35 am

Hi folks, I have problem with one of my clients.
My customer have Samsung A12 phone with factory android in it.
Problem is he can not be connect to home wireless network.
Base device was RB2011, tested also with RBD53iG-5HacD2HnD (hap ac3) and rb951.

Problem is always the same : suddenly is client disconnect from AP,
log says : disconnected, received deauth: class 3 frame received

This is happening with all of my mikrotik devices.

Tested with "clear" configuration. Or even completly without security . Still the same behaviour.

With crappy devices like tenda, tplink, asus it is working like charm.

I also tested various wireless setting : channel, norm (b,g,n), wmm, freq.mode, ht, preamble mode....

Have someone any advice ?

This phone can connect to network but it is wery unstable, phone is disconnected wery soon with log message ABOVE.

Thx, any help very appreciated.
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: wireless, problem, android

Fri Apr 16, 2021 10:54 am

Configure it completely:
  • fixed channel (choose wise from 1, 6 or 11 for 2.4GHz band)
  • WAP2-AES (only)
  • 20MHz bandwidth on 2.4GHz
  • Disable any legacy like 802.11a/b
After configuring these settings, forget the network on your mobile device and add it.

What RouterOS and firmware version are you running?
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Fri Apr 16, 2021 11:03 am

edit, adding export from device
You do not have the required permissions to view the files attached to this post.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Fri Apr 16, 2021 11:05 am

tested with ROS long term 6.47.9, "stable" 6.48.1 and last shots was on 6.48.2
problem persist
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Fri Apr 16, 2021 11:09 am

Configure it completely:
  • fixed channel (choose wise from 1, 6 or 11 for 2.4GHz band)
  • WAP2-AES (only)
  • 20MHz bandwidth on 2.4GHz
  • Disable any legacy like 802.11a/b
After configuring these settings, forget the network on your mobile device and add it.

What RouterOS and firmware version are you running?
a) channel is fixed on value with lowest usage in that environment
b) yeah, tested, wpa2 psk aes and bunch of no-security testing
c) 20Mhz is already set, this value is used by me everywhere
d) 802.11N was mostly tested


THX for helping me...
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: wireless, problem, android

Fri Apr 16, 2021 11:33 am

Then the only thing I can think of is interference...is Wifi crowded/saturated?
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Fri Apr 16, 2021 12:11 pm

yeah, there is about 12 another APs and no such free channel.


But it is no make any sense why this work flawlessly with Asus router under same condition.
 
AllexRo
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Fri Nov 22, 2019 4:24 pm
Location: Bucharest, RO

Re: wireless, problem, android

Fri Apr 16, 2021 8:19 pm

Try it with Tkip instead of AES. Some Xiaomi models have the same problem, solved by switching to Tkip.
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: wireless, problem, android

Fri Apr 16, 2021 9:08 pm

Try it with Tkip instead of AES. Some Xiaomi models have the same problem, solved by switching to Tkip.
Though connection wise a good advice...I would never ever use TKIP.
 
AllexRo
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Fri Nov 22, 2019 4:24 pm
Location: Bucharest, RO

Re: wireless, problem, android

Sat Apr 17, 2021 9:48 am

Agreed. I made that suggestion for testing only, the eliminate a possible cause.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Sat Apr 17, 2021 7:07 pm

Guys you are very helpful but as I wrote, I already tested this scenario even without any security, so I "known" this problem is not related to security profile settings...
 
biomesh
Long time Member
Long time Member
Posts: 561
Joined: Fri Feb 10, 2012 8:25 pm

Re: wireless, problem, android

Sat Apr 17, 2021 7:47 pm

You have g only enabled on 2ghz and also allow-sharedkey=yes.

I would look at modifying those first.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Wed Apr 28, 2021 8:45 am

hi, UP, anyone
nobody have same issues ?
 
kristsd
newbie
Posts: 26
Joined: Mon May 14, 2018 12:30 pm
Location: Riga

Re: wireless, problem, android

Wed Apr 28, 2021 9:40 am

Hello,

Please send supout.rif file to MikroTik support.
https://mikrotik.com/support
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: wireless, problem, android

Wed Apr 28, 2021 11:28 am

paste this on terminal and retry.

DO NOT OMIT { and } at start/end
{
/interface bridge
set [ find ] protocol=none

/interface ethernet
reset-mac-address [ find default-name=ether5 ]     
set [ find ] loop-protect=default

/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=none allow-sharedkey=false preamble-mode=both
set [ find ] security-profile=default wmm-support=disabled

/interface wireless security-profiles
set [ find ] authentication-types="" disable-pmkid=no eap-methods=\
    passthrough group-ciphers=aes-ccm group-key-update=5m interim-update=0s \
    management-protection=disabled management-protection-key="" mode=none \
    mschapv2-password="" mschapv2-username="" \
    radius-called-format=mac:ssid radius-eap-accounting=no \
    radius-mac-accounting=no radius-mac-authentication=no radius-mac-caching=\
    disabled radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \
    static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=none \
    static-key-0="" static-key-1="" static-key-2="" static-key-3="" \
    static-sta-private-algo=none static-sta-private-key="" static-transmit-key=\
    key-0 supplicant-identity=MikroTik tls-certificate=none tls-mode=\
    no-certificates unicast-ciphers=aes-ccm wpa-pre-shared-key="" \
  }
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: wireless, problem, android

Wed Apr 28, 2021 12:10 pm

paste this on terminal and retry.

hi, thx for helping me
all set

I will test it...and let you known.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: wireless, problem, android

Wed Apr 28, 2021 12:13 pm

paste this on terminal and retry.

hi, thx for helping me
all set

I will test it...and let you known.

P.S.:

I hope the config is like the config on 18th, and you do not have modified some other things fom the 18th.
 
MikroCore
just joined
Posts: 2
Joined: Fri Jun 21, 2013 4:27 pm

Re: wireless, problem, android

Thu Nov 04, 2021 11:07 am

Maybe for someone it will save a tons of time for troubleshooting!
I had exact problem as described, no Mikrotik wifi tweaking helped. Some phones was working great, some with minor problems, mine Xiaomi(Note 9 Pro) with more problems( no working Play Store, some apps not connecting to internet) at the same time standard web browsing(Chrome) works!
My network consists of 3 routers, 2 Mikrotik and 1 Huawei(B535-232) all interconnected by Lan cables. Find out that Huawei router in LAN mode (4x LAN ports) was making some noise that disturbed all netowork and WiFis (2xMikrotik SSID + 2x HuaweiSSID). Reconfigured Huawei router to Dynamic mode(one port works as WAN, other 3x LAN). After reconfiguration to Dynamic mode no problems!!!
Now I have two separated LANs/WiFis but it works and fits to me.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: wireless, problem, android

Thu Nov 04, 2021 11:21 am

/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=none allow-sharedkey=false preamble-mode=both
set [ find ] security-profile=default wmm-support=disabled
i really what to know what this does [allow-sharedkey]
Can you please add more.

/interface wireless security-profiles
set [ find ] authentication-types="" disable-pmkid=no eap-methods=\
passthrough group-ciphers=aes-ccm group-key-update=5m interim-update=0s \
management-protection=disabled management-protection-key="" mode=none \
mschapv2-password="" mschapv2-username="" \
radius-called-format=mac:ssid radius-eap-accounting=no \
radius-mac-accounting=no radius-mac-authentication=no radius-mac-caching=\
disabled radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \
static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=none \
static-key-0="" static-key-1="" static-key-2="" static-key-3="" \
static-sta-private-algo=none static-sta-private-key="" static-transmit-key=\
key-0 supplicant-identity=MikroTik tls-certificate=none tls-mode=\
no-certificates unicast-ciphers=aes-ccm wpa-pre-shared-key=""
}
[/code]
is that same as default settings?
 
beny66ka
just joined
Posts: 2
Joined: Tue Dec 21, 2021 1:43 pm

Re: wireless, problem, android

Tue Dec 21, 2021 2:01 pm

I have a Xiaomi 11T phone and the same problem when trying to login to hAPac3 on 5GHz. I tried to activate CAPsman and the login was successful. I spent two days searching for the difference between configuration via CAPsman and without it. The problem is that by default, when configuring the WLAN Interface, menu "Advanced" - "Distance" is set to "dynamic." After I changed it to "indoors", the phone connects quickly and without problems. In the "dynamics" settings, the phone does not have time to "negotiate" with the MKT.
Solved for me ...

Description of the item from the MKT manual:
distance (integer | dynamic | indoors; Default: dynamic)

How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance value has these behaviors:

Dynamic - causes AP to detect and use the smallest timeout that works with all connected clients.
Indoor - uses the default ACK timeout value that the hardware chip manufacturer has set.
Number - uses the input value in formula: ACK-timeout = ((distance * 1000) + 299) / 300 us;

Acknowledgments are not used in Nstreme / NV2 protocols.
 
dave864
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Fri Mar 11, 2016 2:37 pm

Re: wireless, problem, android

Sat Dec 25, 2021 8:33 am

I have a Xiaomi 11T phone and the same problem when trying to login to hAPac3 on 5GHz. I tried to activate CAPsman and the login was successful. I spent two days searching for the difference between configuration via CAPsman and without it. The problem is that by default, when configuring the WLAN Interface, menu "Advanced" - "Distance" is set to "dynamic." After I changed it to "indoors", the phone connects quickly and without problems. In the "dynamics" settings, the phone does not have time to "negotiate" with the MKT.
Solved for me ...

Description of the item from the MKT manual:
distance (integer | dynamic | indoors; Default: dynamic)

How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance value has these behaviors:

Dynamic - causes AP to detect and use the smallest timeout that works with all connected clients.
Indoor - uses the default ACK timeout value that the hardware chip manufacturer has set.
Number - uses the input value in formula: ACK-timeout = ((distance * 1000) + 299) / 300 us;

Acknowledgments are not used in Nstreme / NV2 protocols.
Thanks for letting everyone know this as it does look like it's affecting may of us. Has anyone reported to mikrotik. This information needs to be stickied until it's resolved. It would explain why I was unsuccessful seeing up cap AC in standalone mode.
 
casus
just joined
Posts: 9
Joined: Wed Sep 02, 2020 9:49 am

Re: wireless, problem, android

Wed Dec 29, 2021 9:23 am

Switching "Contry" to "Russia3" helped me.
 
lolman10
just joined
Posts: 11
Joined: Wed Jun 01, 2022 1:44 am

Re: wireless, problem, android

Thu Jun 02, 2022 1:25 am

İ have same problem with xiaomi phones. i tried everything here but cant fixing problem . any news for fix that problem ? why mikrotik support not fixing that problem new release software. thats very strange
 
vvcc
just joined
Posts: 1
Joined: Sun Jun 19, 2022 8:40 pm

Re: wireless, problem, android

Sun Jun 19, 2022 8:44 pm

There is a "Privacy" setting in xiaomis wifi network details which by default is set to "Use randomised MAC", setting it to "Use device MAC" solved the issue for me.
 
nandla90
just joined
Posts: 1
Joined: Wed Jun 22, 2022 2:44 pm

Re: wireless, problem, android

Wed Jun 22, 2022 3:17 pm

There is a "Privacy" setting in xiaomis wifi network details which by default is set to "Use randomised MAC", setting it to "Use device MAC" solved the issue for me.
Thank you so much. I am also facing this issue and I changed my setting to ''use device MAC;4'' solved it. & For the best wireless signal strength and wireless throughput, point both antennas in a point-to-point wireless system so that they are spot-on facing each other.
 
LibbyBates
just joined
Posts: 1
Joined: Wed Dec 21, 2022 4:08 am

Re: wireless, problem, android

Mon Dec 26, 2022 4:24 pm

Setting the “use device MAC” solved it all for me too. Thanks a lot for your help, guys! You know, time goes on, but problems remain the same. That’s ridiculous.

Who is online

Users browsing this forum: Amazon [Bot] and 21 guests