Difference between revisions of "Mount a Remote Drive via SMBFS"

From AwkwardTV
Jump to: navigation, search
m (added chmod line)
Line 16: Line 16:
 
* Unpack (tested on an Intel 10.4.8 system) and edit the Makefile - comment out NextStep section, uncomment OSX section
 
* 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
 
* Run make. It will bomb out. cd to nfs, run make, cd .., run make, and test ./shlight
* sftp shlight to your ATV, to /usr/sbin (or /usr/bin)
+
* sftp shlight to your ATV frontrow ~
 
* SSH into the ATV
 
* SSH into the ATV
 +
* sudo mv shlight /usr/sbin (or /usr/bin) - password is frontrow by default
 
* sudo chmod +x /usr/sbin/shlight
 
* sudo chmod +x /usr/sbin/shlight
 
* mount your drives as frontrow (this is a userland app)  
 
* mount your drives as frontrow (this is a userland app)  
Line 26: Line 27:
 
* If necessary, automate the mount by placing the above command in your /etc/rc.local
 
* 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: http://rapidshare.com/files/28246154/shlight.zip.html or for those without rapidshare from [http://atv.mylittleproject.co.uk/shlight.zip here (mylittleproject.co.uk)]
 
* 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: http://rapidshare.com/files/28246154/shlight.zip.html or for those without rapidshare from [http://atv.mylittleproject.co.uk/shlight.zip here (mylittleproject.co.uk)]
 +
* 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.

Revision as of 10:52, 27 April 2007

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:

  • Download v1.3 @ http://www.obdev.at/products/sharity-light/index.html
  • 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 //192.168.1.1/Share /Users/frontrow/Movies/MountedShare