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 - Operating System General OS operation information and support

10.6 Network Bindings Script

Post Reply New Thread Subscribe

Thread Tools

Member Since: Sep 27, 2010
Posts: 1
johnmeco is on a distinguished road

johnmeco is offline
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?
QUOTE Thanks

MacsWork's Avatar
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,159
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe

« Where to buy 10.5 ? | OSX - can't launch apps or login »
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
OS 10.6: Problem connecting two macs on the same network iJake Internet, Networking, and Wireless 3 01-25-2010 01:52 PM
Disabling Network Address Translation on OSX??? JustbeFRANK OS X - Operating System 0 01-18-2010 10:28 AM
Extending an existing wireless network using a TimeCapsule hojkoff_101 Internet, Networking, and Wireless 2 10-01-2009 02:57 PM
Airport unable to find Windows Network stewbob89 Internet, Networking, and Wireless 1 05-19-2008 10:29 PM
Network Printing Difficulties with MacBook with Leopard korashschiff OS X - Operating System 0 01-02-2008 12:37 AM

All times are GMT -4. The time now is 04:50 AM.

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?