Results 1 to 2 of 2
  1. #1

    Member Since
    Sep 27, 2010
    10.6 Network Bindings Script
    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?

  2. #2

    MacsWork's Avatar
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 11-01-2013, 02:51 AM
  2. How to run script when connecting to particular network?
    By bkhl in forum macOS - Operating System
    Replies: 1
    Last Post: 11-06-2010, 04:14 PM
  3. Prevent script from running on home network
    By rbrock in forum macOS - Operating System
    Replies: 0
    Last Post: 04-27-2010, 12:10 PM
  4. How do I run a script after connecting to a network?
    By dangmug in forum macOS - Operating System
    Replies: 1
    Last Post: 07-29-2009, 01:20 PM
  5. Key Bindings
    By StarManta in forum macOS - Operating System
    Replies: 3
    Last Post: 12-05-2003, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts