Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Ubuntu, ifconfig lists all the USB devices with the header "usb0, usb1, ..etc"

I need to know the IP addresses of all the connected USB devices. It would be really helpful if on Mac it displayed the same thing...but it doesn't.

Is there any way to get this information? (doesn't have to be ifconfig, but needs to be some sort of terminal command)


share|improve this question
USB devices don't have IP addresses – patrix Jul 25 '12 at 18:53
Phones do. It allows you to connect to them from the computer (via ssh) – robev Jul 25 '12 at 19:03
Ah, that's something completely different then. You want to find out the IP address of network-enabled devices which are connected by USB? – patrix Jul 25 '12 at 19:55
Yes, sorry that's what I meant by USB device :-) – robev Jul 25 '12 at 19:59
ifconfig lists the ips of the devices, but there's no way of knowing in the list of ips which is from a device and which isn't. Somehow Ubuntu knows which is from a usb and which isn't, so I thought it must be possible on mac. Hence my question. – robev Jul 25 '12 at 20:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.