This is a generic set of instructions aiming MacOS 10.5 and 10.6, but the concept may be applied to 10.4 as well. Only versions 10.5 and 10.6 are covered here. Hints for MacOS 10.4 can be found in the text, but are not covered in detail.
From time to time, MacOS 10.x has some trouble communicating with other servers, especially when it comes to the AFP protocol, but not limited to it. Name resolution (DNS), SMB, WINS and other crucial networking resources may fail as well.
This document is a compilation of the several solutions found to mac-related network issues. It provides a series of alternatives that will either solve or bypass those limitations.
These instructions are meant for advanced users, and should be used at their own risk.
Preparing the system
1) Enable the root user: This is done using the Directory Utility application. On 10.5, go to Utilities > Directory Utility. On 10.6, you will have to go to “Go to folder” and type /System/Library/CoreServices. Once you open the folder, run Directory Utility. Open the padlock and enable the root user, defining its password. MacOS 10.4: Open NetInfo Manager, located in Applications > Utilities. Choose Security > Enable Root User and type a password for the root account. You may need to type an administrator password to make these changes.
2) Open a Terminal window (under Applications > Utilities)
3) Type the command su followed by enter and provide the password for the root user, defined
on STEP 1.
4) Type the command nano /etc/hosts followed by enter; This opens a simple text editor on the terminal. Navigate to the end of the file, using the arrow keys on the keyboard, and add the following:
IP address1 server name 1 IP address2 server name 2Make sure to replace IP address by the actual IP of your servers, as well as the server name.
For example:
192.168.5.205 hw21443-68 192.168.5.202 ycs1442-67
All of your Prinergy servers, or servers where you intend to have network/SMB access, must be present there. Save the file by pressing Control X and confirm saving the file (Y) and the file name (enter).
5) MacOS 10.6 only
While still on the Terminal application, type nano /etc/nsmb.conf (enter) Type the following text on the opened file:
####### [default] streams=no #######
Save the file by pressing Control X and confirm saving the file (Y) and the file name (enter).
6) Ensure that you can ping your servers by name and close the Terminal application. This is an important step ! If you cannot ping your servers by name, please go back to step 2 and check you entered the correct information.
7) Close all your applications that are possibly using Prinergy volumes.
8) Restart your system now; In some cases, changes will not take effect until the computer is rebooted.
9) Optional: in case of poor file copy performance between macs and Windows servers, over SMB, type this on the Terminal screen, as root, and restart the mac next:
echo 'net.inet.tcp.delayed_ack=0' >> /etc/sysctl.conf
10) Optional - Disable the root user on the Directory Utility if you will.