2

This question has an answer, but it only works on the old iPhone and iPod touch.

On the iPhone 3G S, it gives me "00:00:00:00:00:70", which is incorrect.

Community
  • 1
  • 1
Elliot
  • 6,086
  • 11
  • 45
  • 57
  • 1
    Which interface are you queuing on the 3G S? Mine hasn't showed up from Rogers yet. If you don't have an answer by the time mine shows up I'll look at that code again and see what happens on the new device. – PyjamaSam Jun 21 '09 at 23:42
  • querying.... bah. Can't edit my comment. Should have read "What interface are you querying?" – PyjamaSam Jun 22 '09 at 00:14
  • The MAC address mentioned in the question is for pdp_ip0. I answered my own question, but thanks for the comments PyjamaSam! :) – Elliot Jun 22 '09 at 00:48

1 Answers1

3

Stupid me: I had Wi-Fi turned off. Actually, even if Wi-Fi is turned on, but is not currently connected to a network, it doesn't show up!

The Wi-Fi interface appears to be called en0, while pdp_ip0 (the interface for the MAC I mentioned in the question) is the cellular network.

Elliot
  • 6,086
  • 11
  • 45
  • 57