Changing service order using Terminal I would like to write a script to change the service order from Ethernet 1 to Ethernet 2.  Any help would be appreciated.
You need to use networksetup to do this:

networksetup -ordernetworkservices &lt;service1&gt; &lt;service2&gt; &lt;service3&gt; &lt;...&gt;


For full details, refer to the man page (man networksetup)