Thread: 10.6 Network Bindings Script
09-27-2010, 02:06 PM #1
10.6 Network Bindings Script
- Member Since
- Sep 27, 2010
Periodically, I need to join an ad-hoc (computer to computer) wifi connection from the macbook pro to control/admin a piece of network hardware.
The device purposefully has a non-standard 192.168.x.x ip range. The device does not offer DHCP services, thus the process to connect to it is rather protracted and time consuming.
Does 10.6 support any unix like script that can invoke the commands to change the airport connection to the specified ad-hoc connection and set the appropriate tcp/ip static bindings for the airport adapter? Then have another script to return the bindings to their usual DHCP state?
09-27-2010, 07:26 PM #2
- Member Since
- May 22, 2005
- Closer than you think.
- Performa 6116 2GBSCSI 8MB OS 7.5.3
Like ipconfig and ifconfig?
Yes it does.
I assume you are referring to the Windows NET SH commands? If you want executable scripts (like .bat or.cmd) an easier method is using automator applications to run shell scripts. Open Automator and select Utilities from the left side and drag the Shell Script option to the right. Format the script syntax to fit your bill and save.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Davo64 in forum Apple DesktopsReplies: 0Last Post: 11-01-2013, 02:51 AM
By bkhl in forum OS X - Operating SystemReplies: 1Last Post: 11-06-2010, 04:14 PM
By rbrock in forum OS X - Operating SystemReplies: 0Last Post: 04-27-2010, 12:10 PM
By dangmug in forum OS X - Operating SystemReplies: 1Last Post: 07-29-2009, 01:20 PM
By StarManta in forum OS X - Operating SystemReplies: 3Last Post: 12-05-2003, 12:58 AM