Is there any possibility to found WiFi (and Ethernet also) MAC address on Raspberry Pi 3 with Android Things Developer Preview 7 BEFORE it connected to WiFi (or Ethernet) network?
Asked
Active
Viewed 515 times
2
-
1How about [Connecting to Serial Debug Console](https://stackoverflow.com/q/43554006/3290339) and executing `ifconfig` or `netcfg` – Onik Mar 19 '18 at 18:56
-
1@Onik Good suggestion and seems to be the only possible one. It is a pity that MAC not shown at Settings page... – Andrii Omelchenko Mar 20 '18 at 08:48
-
do you mind I answer? – Onik Mar 20 '18 at 09:47
-
@Onik I think - yes, if someone else wouldn't offer a "secret" key combination. I didn't test. I got MAC address via WiFi router web interface. – Andrii Omelchenko Mar 20 '18 at 11:21
-
Why don't you try connecting Pi to normal network which require no static ip and password? if it gets connected to a wifi then its easy to find the MAC from connected devices list – Harish Jose Aug 07 '18 at 18:46
-
@HarishJose See above comment: " I got MAC address via WiFi router web interface." - it's actually the same. But it will be good, if MAC was shown on home screen/network settings. – Andrii Omelchenko Aug 07 '18 at 20:22
-
@AndriiOmelchenko Yeah. I agree. Also there is no option for setting the DHCP for a wifi connection – Harish Jose Aug 08 '18 at 04:29
1 Answers
1
I was looking for the solution to your question. This is very important where we are using the Rasberry Pi in an location where the internet connectivity will be provided with a static ip with gateway setup inside the device or registering the device mac address on the firewall settings.
So what to do?
connect the Rasberry Pi to a wifi network where there is no static ip settings required
(Say your mobile phone's hotspot).
Then you can find the MAC Address of the RPi from the connected devices list.
This will help you.

Harish Jose
- 326
- 3
- 9