New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

ifconfig - how to setup automatically

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jun 08, 2007
Posts: 20
CyberAlien is on a distinguished road
Mac Specs: iMac 20, C2D 2.16 GHz, 3Gb, 250Gb

CyberAlien is offline
I'm using Mac for web development and I need few additional loopback IPs for my dev websites, so in terminal I used this:

sudo ifconfig lo0 alias up
sudo ifconfig lo0 alias up

and it worked great. Hovewer, after shutting down Mac and then starting it again, those loopback IPs were lost and I had to add them again.

Is there a way to automatically run these commands on Mac start, preferably without it asking for my password every time?

P.S. I'm new to Macs, I've been using it only for 4 days, so I have no clue about config files, startup files, etc...
QUOTE Thanks

Post Reply New Thread Subscribe

« help with basic shell scripting | Quick terminal question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Picked up a Netgear WGR614 tonight. Wow, was setup interesting. fiveightandten Internet, Networking, and Wireless 10 05-20-2007 11:30 AM
Home recording setup. What to get? Soundhound Music, Audio, and Podcasting 9 03-21-2007 07:14 PM
AIRPORT, macbook not automatically selecting network.. SpliCer261 Internet, Networking, and Wireless 0 08-20-2006 09:05 PM
Setup software for Graphite Base Station Ronan Armstrong Internet, Networking, and Wireless 4 11-10-2005 08:26 AM
Difficult to setup ADSL & Airport Express? mike518 Internet, Networking, and Wireless 2 03-29-2005 07:00 AM

All times are GMT -4. The time now is 10:44 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?