Home » Questions » Computers [ Ask a new question ]

Release/renew IP address via Terminal in OS X

Release/renew IP address via Terminal in OS X

I am looking to release and renew my IP address in OS X 10.4 (Tiger) using Terminal. Essentially, I need the OS X equivalent of Windows':

Asked by: Guest | Views: 223
Total answers/comments: 1
Guest [Entry]

"If you need to do this without having sudo privileges, then the easiest way is to create a new location, let's call it ""DHCP"", and then change to it, and back again… This also causes Mac OS X to reconfigure the networking. The commands needed are:

scselect DHCP
scselect Automatic

You can create a new network location from the network preference setting panel, select the dropdown at the top that says ""Automatic"" and then ""Create New…""."