Using UNIX command and Apple Remote Desktop to turn off IPv6


IPv6 can be turned off using a UNIX command in ARD.

Usage: networksetup -setv6off <networkservice>

Replace <networkservice> with the service you want to change;

I start with:

networksetup -listallnetworkservices

To get this info:

server (10.0.1.201)
An asterisk (*) denotes that a network service is disabled.
Built-in Ethernet
AirPort
*Built-in FireWire
*Internal Modem
Built-in FireWire

Then this:
networksetup -getinfo "Built-in Ethernet"

Will return this info:

server (10.0.1.201)
Manual Configuration
IP address: 10.0.1.201
Subnet mask: 255.255.255.0
Router: 10.0.1.1
IPv6: Automatic
IPv6 Link Local Address: fe80::250:e4ff:feae:e6a
Ethernet Address: 00:50:e4:ae:0e:6a

To turn off IPv6:

networksetup -setv6off "Built-in Ethernet"

Confirm with:

networksetup -getinfo "Built-in Ethernet"

Shows this:

server (10.0.1.201)
Manual Configuration
IP address: 10.0.1.201
Subnet mask: 255.255.255.0
Router: 10.0.1.1
IPv6: Off
Ethernet Address: 00:50:e4:ae:0e:6a

If you are working with iBooks or Airport capable computers you should send the same command replacing "Built-in Ethernet" with "Airport"


theprimaxgroup
2300 Montana Ave, Suite 102, Cincinnati, OH 45211
P.513.772.1223 F.513.772.0261 Toll-Free.888.856.7377

e-mail:MoreHelp@AppleHelp.org