Instructions to use and launch the Terminal Utility to use ifconfig
NOTE: SEE THE ARTICLE ON INTERPRETING IP ADDRESSES TO DETERMINE WHAT THE IP MAY INDICATE.
Instructions enabling the root account in order to use the Terminal Utility to use ifconfig
CAUTION: using the root account may result in data loss, OS corruption, and issues that will require a full reformat of the drive. Disable ROOT after this process is complete. This is intended for experienced users or technicians.
1. Turn on the root user account. If you already know the password for the root user, click here.
Open the Directory Utility: In Snow Leopard: Select the hard drive>System>Library>Core Services and open Directory Utility. (Please click on the image to see full image)
Note: If the Directory Utility has been used before, it may not be found in the Library, but will be found in Applications>Utility>Directory Utility
3. Provide a password for the root user and click “OK”.
5. Click on the dropdown menu and you will see the list of available interfaces. Take note of the one you are interested in. Ethernet is for a wired connection, Airport or Wifi is the wireless connection. In our example, we will troubleshoot the airport (Wi-Fi) connection, en1.
8. Type “ifconfig ” to get the information on that interface. In our case, is replaced with “en1”. Information about that interface will be listed. In this case, the IP address is a valid UVM IP address.
10. To reconnect to the network, type “ifconfig up” and hit Enter.
11. If you want to see the list of available interfaces, type “ifconfig”. You will be able to get the MAC address as well as the status of the network interface. You will need to take note of the interface name to look it up in the Network Utility.
updated 7-29-15 sbeaucha