The plist that others have mentioned (/System/Library/LaunchDaemons/com.apple.InternetSharing.plist
) never seems to change regardless of the state of Internet Sharing -- at least under Snow Leopard.
I think the answer lies somewhere in /usr/libexec/InternetSharing
and /etc/boopd.plist
.
First, try running:
sudo /usr/libexec/InternetSharing -d
You will probably see messages like the following:
InternetSharing[40307]: InternetSharing starting
/etc/bootpd.plist is empty/missing
InternetSharing[40307]: no primary service specified, exiting
It turns out that /etc/bootpd.plist
is created when Internet Sharing is started from the Sharing pref pane, and it is deleted when Internet Sharing is turned off.
If you are feeling adventurous, you could try manually creating the plist file. I enabled Internet Sharing with Ethernet shared to AirPort and copied the text of the resulting /etc/bootpd.plist
file to a pastebin here: http://pastebin.com/gQVzARfa
This plist doesn't contain all the necessary settings (e.g. SSID for the wireless shared connection), so I'm guessing it won't work on its own. I'm still looking for the other settings and will update this answer if I find them. (It's possible some are passed in as parameters to /usr/libexec/InternetSharing
, but I can't find any documentation on that.)
Once you have created the plist file, try running sudo /usr/libexec/InternetSharing -d
again. We may be able to work through this one error at a time. At this point it's really an academic exercise, as it would be far easier to reinstall your OS to fix your pref pane issue. ;]
If by some miracle it does start, I believe /usr/libexec/InternetSharing -q
will stop sharing.
Messing with your system files is always somewhat risky, so make sure you have a recent backup of your important files (I recommend Dropbox).
Best Answer
Don't know exactly what features of Chronories you use the most and would like to find in another tool but here are two possibilities.
Both work on Leopard and its snowy friend.
edit following question's clarification:
With low requirements and going for free solutions, you could simply go to EverNote. You'll have as a bonus the possibility to sync your notes from everywhere, including mobile devices.
You have the possibility to order your notes by date, which would then mimics a diary. It's far less sexy than the above solutions but could fulfill your requirements.
second edit
A new one I saw today on the Mac App Store:
Seems quite nice, low price and good feedback until now.