Currently, wpa_supplicant on Edison ignores the bssid parameter defined within the wpa_supplicant.conf when creating an ad-hoc network. My wpa_supplicant file is as below:
config_methods=virtual_push_button virtual_display push_button keypad
On creation of ad-hoc network, a random cell-id is used instead.
wpa_supplicant -v is
Kernel is 3.10.17-yocto-standard
What should I do?
Are you following the Edison Wi-Fi User Guide to create this Ad-hoc network? Reading some other threads I've been noticing that versions of wpa_supplicant under 2.0 present this issue, however, you're using version 2.1 and you're getting the same issue. Have you tried going back to version 2.0 or maybe updating to a newer version? Just to make sure that this is not the issue.
Hi, I have tried to compile and successfully ran wpa_cupplicant 2.5 and it's corresponding wpa_cli but BSSID/cell-id problem still persist. I believe this is a driver issue?
Is it possible to hardcode the address within ieee80211_sta_create_ibss() instead of generating a random one?
How do you suggest that I proceed?
Could you please save the following text in a script named wpacli_ibss_open.sh?
wpa_cli -iwlan0 disconnect
wpa_cli -iwlan0 remove_network all
wpa_cli -iwlan0 add_network
wpa_cli -iwlan0 set_network 0 frequency 2412
wpa_cli -iwlan0 set_network 0 mode 1
wpa_cli -iwlan0 set_network 0 ssid \"mesh\"
wpa_cli -iwlan0 set_network 0 auth_alg OPEN
wpa_cli -iwlan0 set_network 0 key_mgmt NONE
wpa_cli -iwlan0 set_network 0 scan_ssid 1
wpa_cli -iwlan0 select_network 0
wpa_cli -iwlan0 enable_network 0
wpa_cli -iwlan0 status
Save the script file and execute the following commands:
chmod +x wpacli_ibss_open.sh
Wpa_cli –iwlan0 status
Please share a screenshot of the output to see what you're getting.
PabloM_Intel here's the output of the script
This is on a fresh copy of 3.10.17-yocto-standard
We apologize for the late reply. We've been investigating the case and found that the BSSID cannot be set manually, this is because part of the generated number taken from the OUI, which is the manufacturer's identity.