Hi,
I have been trying to get a Pi Zero W to connect to an access point at boot up. The configuration I use works well on a Pi 3 on board wifi. However when the same config is run on the Pi Zero W it fails to work. Examining what is going on using iw and wpa_cli it would seem that a scan has been started on a hidden P2P interface and this is stopping scans from working on the wlan0 interface.
iw dev shows the following:
phy#0
Unamed/non-netdev interface
wdev 0x5
addr: 2e:04:29.....
type P2P-device
txpower 31.00dBm
Interface wlan0
ifindex 2
wdev 0x1
addr b0:27:eb:e5...
type managed
channel 1....
txpower...
The version of wpa_supplicant in the current raspbian build is old (2.4) and ignores p2p_disabled setting (2.5+). So there is no way of stopping this. Trying to initiate a scan via wpa_cli on the wlan0 interface fails with "Failed to initiate scheduled scan" interspersed with CTRL_EVENT_SCAN_RESULTS from the scan that is still running on the other interface.
I would like to avoid having to rebuild wpa_supplicant from the up to date source.
Has anyone one else come across this?
Has anyone tried binding a network interface to that other mac address?
Has anyone got any other suggestions?
Cheers
Roger