Apple TV Forums

Go Back   Apple TV Forums > Apple TV > Mods & Hacks
Register FAQ Calendar Search Today's Posts Mark Forums Read
                 
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-27-2007, 10:33 PM   #1 (permalink)
Member
 
Join Date: Mar 2007
Posts: 61
Default Apple TV: SMB Mount - HOWTO Enable Samba Shares

From Awkward TV Wiki:

Quote:

Install Sharity Light on Apple TV for connecting to SMB / Samba shares:

* Download the binary from: http://atv.mylittleproject.co.uk/shlight.zip
* or compile it yourself from: http://www.obdev.at/products/sharity-light/index.html

* 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

* 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
Thanks KonFoo!
evox is offline  
Old 10-24-2007, 06:51 PM   #2 (permalink)
Junior Member
 
Join Date: Oct 2007
Posts: 5
Default

This works great but as was noted on the wiki page I had to modify my hosts file to see my Windows share. Adding an entry to /etc/hosts solved the problem. Boy is this one easy hack to enable SMB shares. Thanks for posting.

FYI I copied /usr/bin/vi from my Hackintosh to my ATV /usr/bin directory to modify the hosts file. Vi worked perfectly.

I found a typo on the wiki page. I updated it on wiki but for anyone who could not get the automount to work the mkdir was missing the /System directory. Here is the correct stuff:

mkdir /System/Library/StartupItems/MountShit
cp /xx/xx/Mountshit /System/Library/StartupItems/MountShit/MountShit
cp /xx/xx/Mountshit/StartupParameters.plist /System/Library/StartupItems/MountShit/StartupParameters.plist
sudo chmod +x /System/Library/StartupItems/MountShit/MountShit

Last edited by gquiring : 10-24-2007 at 10:00 PM.
gquiring is offline  
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 06:35 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Apple logos are all trademarks of Apple Inc. and are used here for identification purposes o­nly.