I needed the latter one to whitelist my N86 on my home wifi network so thought of keeping the codes as reference for future use.
At the standby screen (idle position), just type in the following codes :
Bluetooth MAC address
WLAN MAC address
I have tested the codes to be working on my Nokia N86 & N79.
It has been reported to work on E51 & E71 too.
Let me know if you would like to add any other code here.