Mount a Remote Drive via SMBFS

From AwkwardTV
Revision as of 20:53, 27 April 2007 by ProfessaFresh (talk | contribs) (Sharity Light)
Jump to: navigation, search

This section deals with possible solutions to handle mounting of SMBFS ('Windows shares') on the ATV.

Users familiar with kexts will know from experience that a stock 10.4.7 or 10.4.8 smbfs.kext will not load/link against the ATV kernel.

The current solution is to therefore use a userland smbfs mounter. There are a number to choose from - Sharity 3, DAVE, etc.

Commercial SMB Clients

Not tested for obvious reasons.

Sharity Light

Here follows the procedure to mount windows shares using Sharity Light:

  • Make sure the server you're about to mount exists in your /etc/hosts
  • Download v1.3 @
  • Unpack (tested on an Intel 10.4.8 system) and edit the Makefile - comment out NextStep section, uncomment OSX section
  • Run make. It will bomb out. cd to nfs, run make, cd .., run make, and test ./shlight
  • sftp shlight to your ATV frontrow ~
  • SSH into the ATV
  • sudo mv shlight /usr/sbin (or /usr/bin) - password is frontrow by default
  • sudo chmod +x /usr/sbin/shlight
  • mount your drives as frontrow (this is a userland app)
e.g. /usr/sbin/shlight //server/Share /Users/frontrow/Movies/MountedShare
  • Fire up ATVFiles and browse your content
  • If necessary, automate the mount by placing the above command in your /etc/rc.local
  • Since SHLight is GPL, the binary can be obtained here: SHLight GPL - Base64 Encoded Version (remove the leading spaces when decoding) or on Rapidshare here: or for those without rapidshare from here (
  • Tested for about 12 hours with a variety of clips ranging in size 600Mb-4Gb, bitrates 500Kbps-4.5Mbit, and codecs supported by Perian. No issues yet.
  • You may need to specify a username and password in the command-line. For example:
/usr/sbin/shlight //server/Share /Users/frontrow/Movies/MountedShare -U username -P password