42 Chapter 5 Network Preferences
Enabling TCP/IP
To enable TCP/IP on a particular port:
$ serversetup -EnableTCPIP [(devicename|"portname")]
If you don’t provide an interface, en0 is assumed.
To disable TCP/IP on a particular port:
$ serversetup -DisableTCPIP [(devicename|"portname")]
If you don’t provide an interface, en0 is assumed.
AppleTalk Settings
Enabling and Disabling AppleTalk
To enable AppleTalk on a particular port:
$ serversetup -EnableAT [(devicename|"portname")]
If you don’t provide an interface, en0 is assumed.
To disable AppleTalk on a particular port:
$ serversetup -DisableAT [(devicename|"portname")]
If you don’t provide an interface, en0 is assumed.
To enable AppleTalk on en0:
$ serversetup -EnableDefaultAT
To disable AppleTalk on en0:
$ serversetup -DisableDefaultAT
To make AppleTalk active or inactive for a configuration:
$ sudo networksetup -setappletalk "configuration" (on|off)
To check AppleTalk state on en0:
$ serversetup -getDefaultATActive
To see if AppleTalk is active for a configuration:
$ sudo networksetup -getappletalk
Proxy Settings
Viewing or Changing FTP Proxy Settings
To view the FTP proxy information for a configuration:
$ sudo networksetup -getftpproxy "configuration"
To set the FTP proxy information for a configuration:
$ sudo networksetup -setftpproxy "configuration" domain portnumber
LL2354.book Page 42 Monday, October 20, 2003 9:47 AM