42

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" (onoff)

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

Chapter 5 Network Preferences

Page 42
Image 42
Apple oxs manual AppleTalk Settings, Proxy Settings, Enabling TCP/IP, Enabling and Disabling AppleTalk