Anyone know anything about setting up USB networking on an iBook? Or using
pppd to setup serial networking (presumably through a USB-to-serial
converter)?
You also need to change hostconfig:
## # /etc/hostconfig ## # This file is maintained by the system control panels ##
# Network configuration HOSTNAME=yourhostname ROUTER=-AUTOMATIC-
# Services . . PPP=-YES- . . .
I am sorry, I sent my old PPP startup files....
Here are the working files:
cat /Library/StartupItems/PPP/PPP
#!/bin/sh
. /etc/rc.common
if [ "${PPP:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting PPP"
/usr/sbin/pppd /dev/tty.USA19QW12P1.1 57600 crtscts local passive 172.16.17.10:172.16.17.11 proxyarp ms-dns 172.16.17.1
fi
cat /Library/StartupItems/PPP/StartupParameters.plist
{
Description = "PPP";
Provides = ("PPP");
Requires = ("Resolver");
OrderPreference = "None";
Messages =
{
start = "Starting PPP";
stop = "Stopping PPP";
};
}
cat /Library/StartupItems/PPP/Resources/English.lproj/Localizable.strings
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>Starting PPP</key>
<string>Starting PPP</string>
</dict>
</plist>
ls -laR /Library/StartupItems/PPP
total 16 drwxr-xr-x 5 root wheel 170 Feb 24 14:19 . drwxrwxr-x 12 root admin 408 Feb 24 01:56 .. -rwxr-x--- 1 root wheel 222 Feb 24 14:22 PPP drwxr-xr-x 3 root wheel 102 Dec 5 10:31 Resources -rw-r--r-- 1 root wheel 171 Feb 24 14:18 StartupParameters.plist
/Library/StartupItems/PPP/Resources: total 0 drwxr-xr-x 3 root wheel 102 Dec 5 10:31 . drwxr-xr-x 5 root wheel 170 Feb 24 14:19 .. drwxr-xr-x 3 root wheel 102 Dec 5 10:31 English.lproj
/Library/StartupItems/PPP/Resources/English.lproj: total 8 drwxr-xr-x 3 root wheel 102 Dec 5 10:31 . drwxr-xr-x 3 root wheel 102 Dec 5 10:31 .. -rw-r--r-- 1 root wheel 222 Feb 22 13:20 Localizable.strings
PGP.sig
Description: Binary data
