CCLEngine

CCLEngine

 CCLEngine  -l   integer   -f   filename   -s { 0  1 } -e { 0  1 } -c { 0  1 } -p  { 0  1 } -d { 0  1 } -m { 0  1  2 } [-v] [-E] -S   octal_integer   -I   string   -i   URL   -C   string   -T   phone_num   -U   username   -P   password   

Description

Parses a modem script and initiates a PPP dialout. When a PPP connection is attempted, pppd starts up, parses /Library/Preferences/SystemConfiguration/preferences. plist , and calls CCLEngine with the appropriate arguments.

Options/Usage


-c

If set to 1 , enables Van Jacobson TCP/IP header compression. This option is the opposite of the novj option to pppd , and is obtained from the IPCPCompressionVJ parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-C

If the modem script asks for input, this option provides the label for the alternate button (i.e., the one that's not labeled "OK") on the dialog that pops up. Normally this option is set to "Cancel".


-d

If set to 1 , starts dialing the modem without waiting for a dial tone. This option corresponds to the modemdialmode option to pppd , and is obtained from the DialMode parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-e

If set to 1 , enables compression and error correction in the modem. This option corresponds to the modemcompress and modemreliable options to pppd , and is obtained from the ErrorCorrection parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-E

Prints output to standard error.


-f

Provides the name of a modem script, normally in /System/Library/Modem Scripts/ . This option corresponds to the modemscript option to pppd , and is obtained from the ConnectionScript parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-i

If the modem script asks for input, this option provides a URL for the pop-up dialog icon. This URL is usually file://localhost/System/Library/Extensions/PPPSerial.ppp/Contents/Resources/NetworkConnect.icns .


-I

If the modem script asks for input, this option provides the title for the dialog that pops up. Normally the title is set to "Internet Connect".


-l

Specifies the service ID for the network configuration to use from /Library/Preferences/SystemConfiguration/preferences.plist . This option corresponds to the serviceid option to pppd .


-m

Determines whether the modem should try to connect ( ), disconnect ( 1 ), or be set up to answer calls ( 2 ).


-p

If set to 1 , the modem uses pulse dialing. This option corresponds to the modempulse and modemtone options to pppd , and is obtained from the PulseDial parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-P

Specifies the password for PPP authentication.


-s

If set to 1 , enables sound output from the modem through the computer speakers . This option corresponds to the modemsound option to pppd , and is obtained from the Speaker parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-S

Specifies the syslog priority level and facility to use for logging errors. The argument is an octal integer which serves as the first argument to a syslog system call, as described in the syslog manpage and in /usr/include/sys/syslog.h . The low-order digit specifies priority level from ( emerg ) to 7 ( debug ), while the higher-order digits specify facility. The default value is 150 , which logs to the remoteauth facility at emerg level.


-T

Specifies the telephone number to dial. This option corresponds to the remoteaddress and altremoteaddress options in pppd , and is obtained from the CommRemoteAddress and CommAlternateRemoteAddress parameters in /Library/Preferences/SystemConfiguration/preferences.plist .


-U

Specifies the username to use for PPP authentication. This option corresponds to the user option to pppd , and is obtained from the AuthName parameter in /Library/Preferences/SystemConfiguration/preferences.plist .


-v

If set to 1 , enables verbose logging to /tmp/ppp.log . This option is taken from the VerboseLogging parameter in /Library/Preferences/SystemConfiguration/preferences.plist .

Location

/usr/libexec



Mac OS X Panther for Unix Geeks
Mac OS X Panther for Unix Geeks
ISBN: 0596006071
EAN: 2147483647
Year: 2003
Pages: 212

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net