Locate pretty-wifi-info (it's /usr/bin/pretty...)
Add line
accumulator["bssid"] = net:active_bssid()
below line 31. Then add
if info.bssid then
print("BSSID: " .. info.bssid)
end
below line 52
I may have mistyped something, so double check everything. IF it's working, please consider submitting a pull request on GitHub - arduino/openwrt-packages-yun
As advised, Will do the Pull request thing @ GitHub - arduino/openwrt-packages-yun - ( If not clear , will get back to you for clarification. Never done that before. Thanks)
If you don't already have a github account, sign up for one (it's free).
Fork arduino/openwrt-packages-yun (upper right corner of the page)
Work in your copy of the repository, perhaps "brel/openwrt-packages-yun". Since the changes are very small, just change the file in the web interface. It is in arduino/yun-scripts/files/usr/bin, the pencil icon opens a editing window.