Krucifyr / osx-launchpad

Automatically exported from code.google.com/p/osx-launchpad
0 stars 0 forks source link

Disabling Network Configuration Dialog #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, here's how you can disable the Network Configuration Dialog pop-up

http://developer.apple.com/library/mac/#qa/qa1667/_index.html

Starting in Mac OS X 10.5, a dialog prompts the user when a device is connected 
to the system that could be used for networking, such as a USB Ethernet 
interface, modem, or serial port adaptor. Two I/O Kit properties are available 
that device drivers can use to control this dialog.

- The New Interface Detected Action property can be added to the I/O Registry 
properties for the device. Use this property if your device provides a network 
interface, but you do not want the dialog presented. Devices with this property 
will still appear in the Network preference pane and will still be usable as 
networking devices. The property can have the value of None or Prompt. None 
will prevent the dialog from appearing; while Prompt will show allow the 
standard dialog to appear.
- The HiddenPort property can be added to the I/O Registry properties for the 
device. Use this property if your device will never be used for networking. 
When this property is set, the device is hidden from the Network preference 
pane and the System Configuration framework, and cannot be used as a network 
device. Devices with the HiddenPort property will never cause the network 
interface dialog to appear. The value of this property should always be set to 
1.
The New Interface Detected Action property is available starting in Mac OS X 
10.6 while the HiddenPort property has been available since Mac OS X 10.2.

Original issue reported on code.google.com by pser...@gmail.com on 28 Apr 2012 at 9:40