Hi folks,
I tried and tried and tried (with several installation instructions) to successfully mount a shared folder on my iMac permanently to my ATV, but I was not successful :(
Does anyone have a working description?
Thanks,
Tom
Printable View
Hi folks,
I tried and tried and tried (with several installation instructions) to successfully mount a shared folder on my iMac permanently to my ATV, but I was not successful :(
Does anyone have a working description?
Thanks,
Tom
I've installed stuff that was supposed to have helped and everything this damn AppleTV does is so unpredictable. Install USB support and all it does is reboot when I plug something in.
I only have the stock 40gig drive in it, so I don't want to have to transfer stuff to it 'cause I have a drive, just for video, connected to my iMac on the network.
:mad:
warren,
Can you tell what you've done ?
Maybe I can help...
Cheers
I'm in the same boat. I need to mount my PC drive on my ATV but clueless!!
Firstly which method is best??? NFS, SMB or AFP????
I believe to get NFS working I need to have NFS server software on the PC hosting the folder/drive etc
Should I be able to mount by simply using nitotv network options or is there more to it then that???
I really don't know where to begin and the guides don't help much
I have the same problem.
I finally got it to work following the instructions here
hxxp://209.85.215.104/search?q=cache:IHx6OOzDXp0J:wiki.awkwardtv.org/wiki/Mount_a_Remote_Drive_via_SMBFS+how+to+mount+networ k+drive+on+apple+tv&hl=en&ct=clnk&cd=6&gl=us
using shlight as a smb client but it only works if I run the script manually each time the ATV reboots it's gone. I've tried everything I can think of to get it running at boot from the rc.local or using a lauchd script but nothing works. I'll be happy to help with getting shlight to work that's pretty straight forward and would apprectiate any tips on getting the script to run at boot time. I think the major issue is that something is killing the shlight script at bootup and I don't know how to get around that.
Jose
I am on the ATV take 2.
First of all i can't mount the AFP airport extreme disk.
But i can mount the SMB airport extreme disk (same disk, other protocol)
for this i use a 'bootscript':
save this script in: /usr/bin/bootscript
make it executable: chmod 755 /usr/bin/bootscript
for autorun put the following line in /etc/rc.local:
Bootscript:Code:/usr/bin/bootscript
Change the script to your setup!
Code:#!/bin/sh
#
# ############################# #
# bootscript made by CousinCocaine #
# ############################# #
#
# ########################################################## #
# this script runs all your none apple boot settings at once #
# ########################################################## #
#
# SETUP
# let the script fill in the root password
# this is unsafe but makes it noob easy.
PW="frontrow"
# SMB MOUNTPOINTS
# the name of the disk on the remote machine
SMB_MOUNT_1="/SMBdisk"
# the folder on the disk that contains your video files
SMB_VIDEODIR_1="Videos"
# ip address of the remote machine
SMB_IP_1="192.168.1.10"
# login on the remote machine (Airport Express likes everyone!)
SMB_USER_1="frontrow"
# password on remote machine (Airport Express wants the correct pw)
SMB_PW_1="PASSWORD"
# START SCRIPT
echo $PW | sudo -S echo "Starting $0"
echo $PW | sudo -S date
# Make disk RW accessible. Undo this at the bottom.
echo $PW | sudo -S mount -uw /
echo $PW | sudo -S touch /.readwrite
echo $PW | sudo -S sync
echo "Root directory is mounted with write acces."
echo ""
# We need to be able to load kext files
echo $PW | sudo -S /sbin/turbo_kext_enabler.bin
echo "Turbo's kext enabler loaded."
echo ""
# Load USB kext files
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/msdosfs.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/AppleSMBIOS.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/IOStorageFamily.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/smbfs.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/udf.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/IOHDIXController.kext
echo $PW | sudo -S /sbin/kextload /System/Library/Extensions/ntfs.kext
echo "USB kextfiles loaded."
echo ""
# Mount SMB disks and create there mount points and symbolic links
# Cleanup old mountpoints.
echo $PW | sudo -S umount -f $SMB_MOUNT_1
echo $PW | sudo -S rm -rf $SMB_MOUNT_1
echo $PW | sudo -S mkdir $SMB_MOUNT_1
echo $PW | sudo -S chmod 755 $SMB_MOUNT_1
echo $PW | sudo -S chown frontrow:frontrow $SMB_MOUNT_1
echo "Old mountpoints are cleaned up."
echo ""
# Mount disks
sudo mount -t smbfs //$SMB_USER_1:$SMB_PW_1@$SMB_IP_1$SMB_MOUNT_1 $SMB_MOUNT_1
echo "SMB Disks are mounted."
echo ""
# Create symbolic links
echo $PW | sudo -S -u frontrow ln -s $SMB_MOUNT_1/$SMB_VIDEODIR_1/* /Users/frontrow/Movies/
echo "Symbolic links created."
echo ""
# Make disk Read only
echo $PW | sudo -S rm /.readwrite
echo $PW | sudo -S sync
echo $PW | sudo -S mount -ur /
echo "Root directory is mounted with read acces."
echo ""
echo "Exiting $0"
echo ""
# end of file
hm,
i tried your script, but I get the following error:
mount_smbfs: no share name specified for username@
with "username" being my username
Any ideas ?
Thank you cousincocaine - your script worked great. I tried this several times in vain on my own.
I had to set the filesystem to rw-mode in order to place the script and edit rc.local (using "nano rc.local").
# Make the root filesystem writable
sudo mount -uw /
# Make root filesystem read-only again
sudo mount -ur /
Thank you so much for this bootscript. Finally, something works.
ls