2.1.2 Apple Mac OS Preparation

For Mac OS platforms, do the following prior to installing SquidNet:

  • Make sure you have sudo/root access.
  • Make sure you have enough disk space.
  • Make sure to change the default Mac OS name from “localhost” to something more meaningful. To change, use the following commands:
  • Change: sudo scutil –set HostName <new-node-name>
  • Check: sudo scutil –get HostName
  • If using a cross-platform render farm, update Mac OS’s hosts file (/private/etc/hosts) with the IP addresses and node names of WIndows or Linux nodes. Basic installer

To install SquidNet using the Mac OS installer, execute the following instructions:

  1. Make sure you have admin (root) access before beginning installation process.

  2. Always check the website for the latest updates.

  3. In Finder, double-click on squidnet-osx-x.xxx.dmg image file.


    Figure 1. SquidNet DMG image.


    Figure 2. SquidNet Mac OS Installer.


    Alternatively, you may start the installer from a terminal shell.

    >> open squidnet-osx-x.xxx.dmg
  4. Install as normal. Enter admin (root) password if prompted.


    The installer will place files in “/Applications/SquidNetSoftware” folder.

  1. Allow installer to finish then umount DMG image when complete.


    From a terminal shell, you may start, stop or restart the SquidNet daemon using the following commands:

    • To start up server:
    >> sudo launchctl start com.squidnet.server
    • To stop server:
    >> sudo launchctl stop com.squidnet.server
    • To restart server:
    >> sudo launchctl restart com.squidnet.server Firewall Settings

If your Mac firewall is enabled, please allow “squidnetd” to accept all incoming connections. The squidnetd daemon uses the following network ports: TCP 17394, UDP 17395, UDP 17396 and UDP 17397.


Figure 3. Mac OS Firewall. Netbios

If using SquidNet in a mixed OSX/WINDOWS environment, make sure to set the proper NetBios/Workgroup settings in network preferences.


Figure 4. Mac OS Netbios settings. Hosts file

Depending on your network setup, in particular your DNS server configuration, the hostname and IP address of every SquidNet Mac OS node must be added to each nodes /private/etc/hosts file.

From a terminal session, execute the following command:

>> sudo vi /private/etc/hosts

Or, use a text editor to modify /private/etc/hosts using the MAC UI. Uninstall

To uninstall SquidNet, do the following:

  1. From a terminal, “cd” to the SquidNet installation directory /Applications/SquidNetSoftware/SquidNet and execute uninstall script squidnet-uninstall.sh.
>> sudo ./squidnet-uninstall.sh