|
|
How to change your IP
Hello!
How to change your IP
What an incredibly useful command!
How to change your IP
Scselect has no man page, but if you type "scselect -h" it will display its usage.
How to change your IP
Here's a related command: scutil Reminiscent of niutil, scutil is an interactive console for configd settings. Fire it up and type 'help' for some online help (cryptic, unfortunately). Here's how to pull the current location from scutil. This one-liner appeared in a UseNet posting by Stefan Haller:
How to change your IP
I just noticed that scselect messes up the permissions on the The fix? Any time you run scselect, remember to chmod the file. 552$ ls -l /private/var/db/SystemConfiguration/preferences.xml -rw-r--r-- 1 root wheel 100198 Apr 25 18:01 /private/var/db/SystemConfiguration/preferences.xml 553$ scselect "Home" CurrentSet updated to 1 (Home) 554$ ls -l /private/var/db/SystemConfiguration/preferences.xml -rw------- 1 root wheel 100198 Apr 25 18:09 /private/var/db/SystemConfiguration/preferences.xml 555$ sudo chmod 644 /var/db/SystemConfiguration/preferences.xml 556$ ls -l /private/var/db/SystemConfiguration/preferences.xml -rw-r--r-- 1 root wheel 100198 Apr 25 18:09 /private/var/db/SystemConfiguration/preferences.xml |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|