<$BlogRSDURL$>
Apple Mac OS X FAQ
Wednesday, October 16, 2002
 
10.2 Repair Privileges from the CLI
The Disk Util app is actually part of the OS now.
You can run it in all its dangerousness from the command line.
You can even run Repair Privileges on the boot disk using sudo
sudo diskutil repairPermissions /
 
Unable to turn on Appletalk
Problem:
I'm trying to add appletalk printers and mount network volumes in 10.2. Nothing shows up in the connect... dialog box, and the print center, when chosing appletalk, responds with "Unable to turn on Appletalk."
Appletalk is checked on in Network Preferences.
I've run disk repair and repaired permissions.

Solution:
Try deleting this file and rebooting:
/etc/appletalk.nvram.en0
 
Jaguar Installation problem workaround
Problem:
If you went through usual UPGRADE installation of Jaguar, both disks...on restart, goes to log in screen, user types password, then desktop background appears, then menu bar appears, then starts flashing, That's it, nothing else, machine gets stuck in the flashing menu state.

Solution:
Boot into single user mode by holding down command+S at startup. Mount the
hard disk according to the instructions after running fsck -y.

Navigate to /users/youruser's name/library/preferences

delete the following .plist files using the 'rm' command

com.apple.finder.plist
com.apple.dock.plist
com.apple.loginwindow.plist
loginwindow.plist

Reboot and try to log in again.
 
X network location files
Location files for OS X are stored
Dynamic configuration data- mostly networking but also netinfo binding and, in Jaguar, power management, is in:
/var/db/SystemConfiguration/preferences.xml
 
WebDAV and iCal ports
WebDAV is simply an extension of the HTTP protocol that allows a web
server to provide file server functionality. In addition to GET and
POST methods, there are about a dozen other methods that provide for
things like file attributes and file locking. It runs on whatever
port(s) your web server is running on. If your web server is not
running SSL, then "Connect to Server" (in 10.2.x) will give you a
security warning since the entire transmission is clear text in the
transport. It's not really an error, just a warning that whatever you
transmit is subject to snoopers.

WebDAV uses the web server document root as the root of it's directory
structure.If you post your iCal to your own WebDAV folder, it will go
in the path you specify.

If you specify http://www.myserver.com then iCal will post the "Home"
calendar in {webserver_doc_folder}/Home.ics

If you specify http://www.myserver.com/mycalendars then "Home" would be
saved in {webserver_doc_folder}/mycalendars/Home.ics

Since you can specify access in Server Admin (10.1.x and 10.2.x) for
WebDAV, you can password-protect your calendars. But don't forget,
files and folders must have read/write access by the www user and www
group in order for WebDAV to function properly. This can be problematic
if you have configured your web server doc folder as a share point for
AppleShare or SMB... I strongly suggest transitioning to WebDAV for
publishing since folders must have www:www user & group for password
protection and allowing arbitrary users to have access outside a group
(as well as multiple-group access).
 
Jaguar Server has a Virtual Private Network (VPN)
Jaguar Server has a Virtual Private Network (VPN) daemon, located here:

/usr/sbin/vpnd
It supports PPTP connections and has an extensive "man" page.

To get it to work create /etc/ppp/options and put in a seperate
allow-ip statement for all of the internal addresses.
You'll then start to receive an error that says something like :

noname pppd[491]: PPTP error when reading header for
outgoing_call_request : Undefined error: 0

Removed nodetach from

/etc/ppp/pptp_service

And everything works!

This is pretty cool, since it means Jaguar Server and Client together
form an end-to-end VPN solution, so you don't have to buy a special
router or a Windows box to have a good VPN.
 
Jag PrintCenter Goodies
Hold down the option key when you add a printer to the Print Center.
Interesting...even more printer support (and printers that aren't normally supported -- check the USB list).

Just use socket://xxx.xxx.xxx.xxx:9100
You can also browse to the standard CUPS admin port (forget which it is) for browser-based admin of the queues.

In any app (at least this worked for me in the Finder, Entourage, Word and IE), press command-`. This cycles through the open windows in that app and brings the current one to the foreground. Very very cool.

Option-F1, F2, F3, F4 or F5 will open the System Preferences and take you directly to the relevant pane (Display or Sound).

Powered by Blogger