Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clients having problems to connect to Wi-5 #48

Open
josemariasaldana opened this issue Nov 15, 2017 · 0 comments
Open

Clients having problems to connect to Wi-5 #48

josemariasaldana opened this issue Nov 15, 2017 · 0 comments

Comments

@josemariasaldana
Copy link
Member

josemariasaldana commented Nov 15, 2017

Devices that CAN connect to Wi-5

  • Samsung Galaxy S2 (2012)
  • Samsung Galaxy S4 GT-I9505
  • Samsung Galaxy S8
  • Debian Jessie

Devices that have problems

  • Wileyfox Swift 2x needs ~3 attempts to connect
  • LG Nexus 5X: does not connect at all
  • Lenovo A806
  • OnePlus 5T (Canot obtain IP address)
  • Xiaomi Mi Note 3
  • Samsung Galaxy J3 (2016)
  • Lenovo ZUK Z2
  • Iphone 5c

Devices that MAY have problems

Possible explainings

We suspect this poses problems in connecting devices that apply MAC Randomization. The problem, explained step-by-step:

  • Some clients perform MAC Randomization, i.e. broadcast scans (broadcast-oriented probe requests with an empty SSID) are performed each round with a new random MAC Address, to preserve the privacy of the STA.

  • The Wi5 platform replies (probe response) to these broadcast-oriented probe requests with a BSSID whose last 3 bytes equal the randomized transmitter address.

  • However, when the STA tries to connect to the LVAP, it uses its real transmitter MAC address and the previously generated BSSID (which is based on the STA’s previous (random) MAC address) as receiver address.

  • The AP, however, responds with a new BSSID based on the real transmitter address.

Possible solutions

How to disable MAC randomization in Linux

You can just add a few lines to your NetworkManager.conf file to disable it.

Code:

[connection]
wifi.mac-address-randomization=1

The values are:

0: default
1: force off
2: force on
@josemariasaldana josemariasaldana changed the title Problems with clients performing MAC Randomization Clients having problems to connect to Wi-5 Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant