Excellent Peer-to-Peer Daemon

Introduction
Usage
EPPPD 1.0 - 56 KiB
Introduction
EPPPD is a relatively simple Applescript front-end to the pppd program. It, for the most part, uses common *nix methods for the automated aspects such as getting the most-likely subnet, tty device, and DNS. It is limited in the options one can change(I may add an "additional options" dialog at a later point), and ultimately executes the following:
EPPPD keeps configuration options within its internal Info.plist file, with the valid options being Device, Baudrate, Target IP, DNS, and kill on exit. This makes EPPPD highly portable, as it keeps all settings with itself, no matter where it is.
/usr/sbin/pppd DEVICE BAUDRATE :TARGETIP noauth local ms-dns DNS passive proxyarp silent logfile /var/log/ppp.log
EPPPD keeps configuration options within its internal Info.plist file, with the valid options being Device, Baudrate, Target IP, DNS, and kill on exit. This makes EPPPD highly portable, as it keeps all settings with itself, no matter where it is.
Usage
Options
Device: This is the device that will be used by pppd to establish the connection. Looks for /dev/tty.* devices and sets the first item as the default device. If /dev/tty.Bluetooth-PDA-Sync is found, it will be preferred.
Baud rate: List of possible baud rates.
Target IP: The IP address that will be assigned to the PPP client. Uses ifconfig to acquire the first subnet that is not 127.0.0.1, then assigns it as the default address.
DNS: Domain Name System address to send to the PPP client. Reads the first DNS nameserver found in /etc/resolv.conf.
IP Forwarding: Enable IP forwarding from the PPP client. Without this enabled, the connection will be limited between the server and the client - no LAN or internet connectivity.
kill on exit: Attempt to kill the pppd process when EPPPD quits.
Baud rate: List of possible baud rates.
Target IP: The IP address that will be assigned to the PPP client. Uses ifconfig to acquire the first subnet that is not 127.0.0.1, then assigns it as the default address.
DNS: Domain Name System address to send to the PPP client. Reads the first DNS nameserver found in /etc/resolv.conf.
IP Forwarding: Enable IP forwarding from the PPP client. Without this enabled, the connection will be limited between the server and the client - no LAN or internet connectivity.
kill on exit: Attempt to kill the pppd process when EPPPD quits.
Buttons
Start/Stop: Starts or Stops the pppd process.
View Log: Opens /var/log/ppp.log in Console.app.
Clear Log: Clears the log file /var/log/ppp.log.
Check: Checks to see if the daemon is already running - if so changes the Start/Stop button and sets the PID of the process.
Save: Saves the settings for Device, Baud rate, Target IP, DNS, and kill on exit to EPPPD's internal Info.plist file.
Clear: Clears the settings for Device, Baud rate, Target IP, DNS, and kill on exit.
View Log: Opens /var/log/ppp.log in Console.app.
Clear Log: Clears the log file /var/log/ppp.log.
Check: Checks to see if the daemon is already running - if so changes the Start/Stop button and sets the PID of the process.
Save: Saves the settings for Device, Baud rate, Target IP, DNS, and kill on exit to EPPPD's internal Info.plist file.
Clear: Clears the settings for Device, Baud rate, Target IP, DNS, and kill on exit.
0.004957914352417 µs