WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Start profiler with a unique SSID #96

Closed adriangranados closed 2 years ago

adriangranados commented 2 years ago

Similar to bluetooth, use a unique SSID (e.g., wlanpi_profiler-XXX)

joshschmelzle commented 2 years ago

Based on Slack discussions, the ask is to change the default SSID to Profiler xxx where xxx represents the last 3 characters of the eth0 MAC address in lower case. The first letter of Profiler will be upper case where the rest of the word is lower case. The separator will be a single space with no trailing characters after the 3 character identifier.

adriangranados commented 2 years ago

Yes, that's correct. I created the issue before we settled on a naming convention and never got back to update it.

joshschmelzle commented 2 years ago

Suggested behavior:

Additionally, the SSID which will be used for beaconing will need to be saved to /var/run/wlanpi-profiler.ssid if profiler starts in beaconing mode. Otherwise, do nothing. (see #101)

adriangranados commented 2 years ago

When the user provides an SSID as an arg, I guess the value (blank or not) in config.ini is irrelevant, correct?

joshschmelzle commented 2 years ago

Yes, if the user explicitly provides an SSID by passing it in, that takes the precedence over what is in config.ini.