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

From AwkwardTV
Jump to: navigation, search
m
m (reverting spammed page)
Line 1: Line 1:
[http://vlano.50webs.com/styles/eva-hengher/ eva hengher] [http://eaes7.freehostia.com/library/manuela-do.htm manuela do bbb 4] [http://ag666.50webs.com/view/foto-di/ foto di zoofilia] [http://rathchavady.freehostia.com/description/softcam-canal/ softcam canal sat] [http://superhank.freehostia.com/content/regione-puglia/ regione puglia it] [http://superhank.freehostia.com/content/miglioramento-genetico/ miglioramento genetico] [http://queenbabypie.freehostia.com/html/da-minidv/ da minidv a dvd] [http://someoddgalaxy.freehostia.com/articles/traduzione-canzone25/ traduzione canzone di eamon] [http://ag666.50webs.com/view/estee-lauder/ estee lauder crema] [http://blind9justice.50webs.com/elvenking/ elvenking] [http://wosligersy.angelfire.com/free-dogfart/ free dogfart series] [http://eaes7.freehostia.com/lib/borsino-immobiliare.htm borsino immobiliare] [http://vlano.50webs.com/styles/xeon-/ xeon 3 2ghz] [http://eaes7.freehostia.com/lib/caschi-agv.htm caschi agv] [http://eaes7.freehostia.com/lib/i-monti.htm i monti di perati] [http://commodore-guff.freehostia.com/styles/nova-friburgo.htm nova friburgo] [http://pticaja-ptica.freehostia.com/directory/canzone-anni.htm canzone anni 60] [http://queenbabypie.freehostia.com/html/cd-cover29/ cd cover convivendo] [http://heartlessfriend.freehostia.com/library/forni-microonde5/ forni microonde incasso whirlpool] [http://blind9justice.50webs.com/one-oice/ one oice xxx] [http://vlano.50webs.com/styles/wwe-undertaker/ wwe undertaker] [http://ag666.50webs.com/view/cerca/ cerca] [http://leshji.50webs.com/data/jbl-northridge/ jbl northridge e60] [http://alfrizie.angelfire.com/content/la-rossa.htm la rossa rally gig] [http://celare.freehostia.com/description/foxconn-m/ foxconn 915m07] [http://commodore-guff.freehostia.com/styles/shup-ut.htm shup ut] [http://queenbabypie.freehostia.com/html/msn-spaces/ msn spaces] [http://deharte.angelfire.com/data/pissing-singole/ pissing singole] [http://nejoaus.angelfire.com/behringer-.htm behringer  ub2222fxpro] [http://leshji.50webs.com/data/twinkle-bros/ twinkle bros] [http://blind9justice.50webs.com/casse-home/ casse home theatre wireless] [http://krasniioktyabr.50webs.com/serenata/ serenata] [http://pticaja-ptica.freehostia.com/directory/stabat.htm stabat] [http://rathchavady.freehostia.com/description/uffici-acquisti/ uffici acquisti maglieria] [http://njoka.freehostia.com/small/alpine-sondrio.htm alpine sondrio] [http://stbillin.angelfire.com/web/mercedes-c5.htm mercedes c coupe] [http://krasniioktyabr.50webs.com/eat-man/ eat man vol 03] [http://blind9justice.50webs.com/motorola-bluethoot/ motorola bluethoot] [http://midwestman.50webs.com/view/hp-photosmart/ hp photosmart 735] [http://midwestman.50webs.com/view/treo-/ treo 270 plus] [http://someoddgalaxy.freehostia.com/articles/chevrolet-trailblazer/ chevrolet trailblazer] [http://ag666.50webs.com/view/viaggiare-sicuro/ viaggiare sicuro] [http://wosligersy.angelfire.com/fritz-fon1/ fritz fon] [http://midwestman.50webs.com/view/left-outide/ left outide] [http://pticaja-ptica.freehostia.com/directory/canon-scanner8.htm canon scanner lide 35] [http://heartlessfriend.freehostia.com/library/world-soccer4/ world soccer winning eleven 9 ubiquitous evolution] [http://eaes7.freehostia.com/lib/www-gallomania.htm www gallomania it] [http://njoka.freehostia.com/small/maschera-rey.htm maschera rey mysterio] [http://eaes7.freehostia.com/library/titoli-tesi.htm titoli tesi fisioterapia] [http://someoddgalaxy.freehostia.com/articles/ricetta-dolce11/ ricetta dolce gratis] [http://eaes7.freehostia.com/library/india-clasico.htm india clasico] [http://someoddgalaxy.freehostia.com/articles/sbs3/ sbs] [http://runnyn.freehostia.com/library/gadugadu/ gadugadu] [http://pothomse.angelfire.com/www-dressup/ www dressup] [http://celare.freehostia.com/description/dymo5/ dymo 1540] [http://keokepa.50webs.com/library/plug-in/ plug in mpeg2 dvd] [http://pticaja-ptica.freehostia.com/directory/un-nuovo28.htm un nuovo video per city of villains] [http://raguerla.angelfire.com/articles/lisola-del1/ lisola del destino] [http://maheinze.angelfire.com/danii-minogue.htm danii minogue] [http://midwestman.50webs.com/view/dilara/ dilara] [http://queenbabypie.freehostia.com/html/dainese-continental/ dainese continental] [http://keokepa.50webs.com/library/italiani-a/ italiani a rio] [http://eaes7.freehostia.com/lib/rockford-after.htm rockford after shave] [http://vlano.50webs.com/styles/h-/ h  m] [http://leshji.50webs.com/data/vendita-mobili/ vendita mobili giardino] [http://eaes7.freehostia.com/library/telecomando-universale13.htm telecomando universale saba] [http://rathchavady.freehostia.com/description/maria-giovanna/ maria giovanna elmi fakes] [http://eaes7.freehostia.com/lib/zombie-the2.htm zombie the cranberries] [http://anubis8.50webs.com/library/la-fortezza/ la fortezza della solitudine] [http://njoka.freehostia.com/small/isem.htm isem] [http://maheinze.angelfire.com/fille-nue1.htm fille nue gratuit] [http://raguerla.angelfire.com/articles/fiamma-nera/ fiamma nera] [http://njoka.freehostia.com/small/pioneer-plasma.htm pioneer plasma tv] [http://superhank.freehostia.com/content/netgear-fa/ netgear fa511] [http://heartlessfriend.freehostia.com/library/sexy-mom/ sexy mom] [http://queenbabypie.freehostia.com/html/mis-teeq/ mis teeq scandalous] [http://midwestman.50webs.com/view/microonde-silver/ microonde silver] [http://pothomse.angelfire.com/soncino-cremona/ soncino (cremona)] [http://njoka.freehostia.com/small/epson-rx15.htm epson rx425] [http://pticaja-ptica.freehostia.com/directory/luce-blu.htm luce blu] [http://runnyn.freehostia.com/library/infermieri/ infermieri] [http://midwestman.50webs.com/view/eastpak-springer/ eastpak springer] [http://midwestman.50webs.com/view/moto-minicros/ moto minicros] [http://superhank.freehostia.com/content/annuncio-auto10/ annuncio auto storiche] [http://keokepa.50webs.com/library/mp-radio/ mp3 radio cd] [http://ag666.50webs.com/view/proteine-kg/ proteine 5kg] [http://anubis8.50webs.com/library/i-tuoi/ i tuoi occhi] [http://superhank.freehostia.com/content/testo-my7/ testo my immortal evanescence] [http://keokepa.50webs.com/library/macchine-fotografiche/ macchine fotografiche digitali olimpus] [http://heartlessfriend.freehostia.com/library/jean-roch1/ jean roch video] [http://njoka.freehostia.com/small/clinica-s2.htm clinica s raffaele pisana] [http://queenbabypie.freehostia.com/html/the-servants2/ the servants video] [http://heartlessfriend.freehostia.com/library/istituti-superiori3/ istituti superiori di reggio calabria] [http://eaes7.freehostia.com/lib/lettore-floppy5.htm lettore floppy card] [http://vlano.50webs.com/styles/elgar/ elgar] [http://runnyn.freehostia.com/library/royal-gigolo14/ royal gigolo s california dreamin] [http://njoka.freehostia.com/small/dvd-recorder149.htm dvd recorder lg rh 7500] [http://eaes7.freehostia.com/lib/pensioni-per2.htm pensioni per cani] [http://commodore-guff.freehostia.com/styles/telefonia-wind1.htm telefonia wind a padova] [http://eaes7.freehostia.com/library/cd-mp13.htm cd mp3 auto] [http://offleeewild1.50webs.com/library/smak-doun/ smak doun] [http://runnyn.freehostia.com/library/collezionare-gli/ collezionare gli oggetti] [http://anubis8.50webs.com/library/li-/ li 680 duo] [http://pticaja-ptica.freehostia.com/directory/moretti-valerio.htm moretti valerio porto san giorgio] [http://celare.freehostia.com/description/metal-year/ metal year solid] [http://someoddgalaxy.freehostia.com/articles/storia-di50/ storia di sesso] [http://heartlessfriend.freehostia.com/library/km-mitsubishi6/ km0 mitsubishi pajero diesel auto km 0] [http://danikrv.50webs.com/small/raffreddamento-hard/ raffreddamento hard disk] [http://njoka.freehostia.com/small/gale-zona.htm gale zona] [http://eaes7.freehostia.com/lib/psp-lumines.htm psp lumines] [http://raguerla.angelfire.com/articles/officine-moto/ officine moto] [http://rathchavady.freehostia.com/description/www-boobies/ www boobies com] [http://deharte.angelfire.com/data/boy-s/ boy s topples bar] [http://someoddgalaxy.freehostia.com/articles/filmografia-selen/ filmografia selen] [http://runnyn.freehostia.com/library/traduzione-svedese/ traduzione svedese] [http://celare.freehostia.com/description/ruter-wireless/ ruter wireless] [http://someoddgalaxy.freehostia.com/articles/hi-seat/ hi seat] [http://smfarrowik.angelfire.com/small/cop-target/ cop target obiettivo poliziotto] [http://runnyn.freehostia.com/library/volkswagen-golf67/ volkswagen golf pv] [http://danikrv.50webs.com/small/network-accessori/ network accessori console] [http://njoka.freehostia.com/small/everytime-britney3.htm everytime britney sears] [http://njoka.freehostia.com/small/conigliello.htm conigliello] [http://superhank.freehostia.com/content/www-tiscali7/ www tiscali] [http://blind9justice.50webs.com/una-data/ una data non ufficiale per winning eleven 9] [http://smfarrowik.angelfire.com/small/le-donne/ le donne di baggio] [http://pticaja-ptica.freehostia.com/directory/mostre.htm mostre] [http://anubis8.50webs.com/library/metal-gear/ metal gear 3] [http://offleeewild1.50webs.com/library/verona-tenerife/ verona tenerife biglietti aerei] [http://celare.freehostia.com/description/avant-browser/ avant browser] [http://krasniioktyabr.50webs.com/electric-dreams/ electric dreams] [http://vlano.50webs.com/styles/incasso-piano/ incasso piano cottura smeg] [http://runnyn.freehostia.com/library/frase-sms/ frase sms] [http://leshji.50webs.com/data/televisori-plasma/ televisori plasma 42 pollici sony] [http://wosligersy.angelfire.com/kingston-memoria/ kingston memoria 512 mb sodimm] [http://superhank.freehostia.com/content/tom-and2/ tom and] [http://midwestman.50webs.com/view/benq/ benq 8720] [http://eaes7.freehostia.com/lib/obiettivo-mortale.htm obiettivo mortale] [http://maheinze.angelfire.com/nude-per.htm nude per la pace] [http://runnyn.freehostia.com/library/mouse-ps/ mouse ps2] [http://wosligersy.angelfire.com/ludwig-van4/ ludwig van beethoven] [http://njoka.freehostia.com/small/phase.htm phase 28] [http://someoddgalaxy.freehostia.com/articles/ef-18/ ef 100 300 usm] [http://keokepa.50webs.com/library/caponord-in/ caponord in camper] [http://eaes7.freehostia.com/lib/hyundai-coupe19.htm hyundai coupe del 2000] [http://anubis8.50webs.com/library/albergo-economico/ albergo economico firenze] [http://krasniioktyabr.50webs.com/navigatori-satellitari/ navigatori satellitari tomtom] [http://krasniioktyabr.50webs.com/calcolo-i/ calcolo i c i] [http://blind9justice.50webs.com/shark-invasion/ shark invasion] [http://ag666.50webs.com/view/viaggio-caraibi/ viaggio caraibi] [http://offleeewild1.50webs.com/library/saggi-cumpagni/ saggi cumpagni] [http://danikrv.50webs.com/small/testi-maroon/ testi maroon five] [http://keokepa.50webs.com/library/trudi/ trudi] [http://smfarrowik.angelfire.com/small/alexandre-de/ alexandre de bernay] [http://someoddgalaxy.freehostia.com/articles/borse-per9/ borse per videocamere] [http://keokepa.50webs.com/library/mivar/ mivar 29] [http://celare.freehostia.com/description/porno-francese/ porno francese cratis] [http://commodore-guff.freehostia.com/styles/pedana-da.htm pedana da corsa] [http://blind9justice.50webs.com/donadon/ donadon] [http://queenbabypie.freehostia.com/html/dedica-romantica/ dedica romantica] [http://superhank.freehostia.com/content/i-punti/ i punti della maglia] [http://rathchavady.freehostia.com/description/le-mutande/ le mutande rosse] [http://someoddgalaxy.freehostia.com/articles/il-coltello/ il coltello in testa] [http://queenbabypie.freehostia.com/html/il-potere/ il potere del male] [http://heartlessfriend.freehostia.com/library/low-rider1/ low rider by war] [http://keokepa.50webs.com/library/bicicletta-seggiolino/ bicicletta seggiolino] [http://anubis8.50webs.com/library/www-sexpistols/ www sexpistols it] [http://keokepa.50webs.com/library/samsung-staffa/ samsung staffa] [http://eaes7.freehostia.com/lib/foto-decapitazione6.htm foto decapitazione ostaggi] [http://queenbabypie.freehostia.com/html/la-domenica4/ la domenica non si spara] [http://queenbabypie.freehostia.com/html/varcaturo-napoli/ varcaturo napoli it] [http://runnyn.freehostia.com/library/lawn/ lawn] [http://midwestman.50webs.com/view/golden-age/ golden age of grotesque] [http://leshji.50webs.com/data/sreca-song/ sreca song ki] [http://superhank.freehostia.com/content/tavolo-da20/ tavolo da disegno] [http://vlano.50webs.com/styles/mercato-dei/ mercato dei fumetti] [http://eaes7.freehostia.com/library/assicurazione-vercelli.htm assicurazione vercelli] [http://celare.freehostia.com/description/volare-air/ volare air one] [http://commodore-guff.freehostia.com/styles/dino-mer.htm dino mer 269 on] [http://eaes7.freehostia.com/library/kraft-werner.htm kraft werner] [http://alfrizie.angelfire.com/content/paris-hiton.htm paris hiton video] [http://offleeewild1.50webs.com/library/vyper-computer/ vyper computer] [http://midwestman.50webs.com/view/belli-di/ belli di roma 2004 calendario] [http://rathchavady.freehostia.com/description/finanziamento-breve/ finanziamento breve] [http://midwestman.50webs.com/view/path-of/ path of neo] [http://ag666.50webs.com/view/oakley-five/ oakley five] [http://pticaja-ptica.freehostia.com/directory/victoria-silvested.htm victoria silvested video] [http://njoka.freehostia.com/small/www-tim.htm www tim] [http://midwestman.50webs.com/view/arturo-/ arturo 2 on the rocks] [http://danikrv.50webs.com/small/toner-hp/ toner hp q3971a] [http://celare.freehostia.com/description/made-in4/ made in sicilia] [http://njoka.freehostia.com/small/enderbury.htm enderbury] [http://anubis8.50webs.com/library/vacanze-terme/ vacanze terme] [http://blind9justice.50webs.com/epson-aculaser/ epson aculaser 2600] [http://queenbabypie.freehostia.com/html/auto-usata47/ auto usata disabile] [http://ag666.50webs.com/view/libiamo/ libiamo] [http://midwestman.50webs.com/view/lg-tsc/ lg t250sc] [http://commodore-guff.freehostia.com/styles/tony-bennett2.htm tony bennett in full swing live at the jubilee auditorium] [http://vlano.50webs.com/styles/nuova-o/ nuova o zone] [http://danikrv.50webs.com/small/fili/ fili] [http://anubis8.50webs.com/library/neovo-x/ neovo x19] You must be logged into the Apple TV via SSH and have AppleTV software version 1.0 <font color=red><strong>After the ATV 1.1 upgrade mount_afp is no longer working.</strong></font> (But it can  be re-enabled - see [[Mount a Remote Drive via AFP under 1.1]])
+
You must be logged into the Apple TV via SSH and have AppleTV software version 1.0 <font color=red><strong>After the ATV 1.1 upgrade mount_afp is no longer working.</strong></font> (But it can  be re-enabled - see [[Mount a Remote Drive via AFP under 1.1]])
  
 
1. Enable Personal File Sharing on the network machine you wish to access.
 
1. Enable Personal File Sharing on the network machine you wish to access.

Revision as of 20:55, 22 September 2007

You must be logged into the Apple TV via SSH and have AppleTV software version 1.0 After the ATV 1.1 upgrade mount_afp is no longer working. (But it can be re-enabled - see Mount a Remote Drive via AFP under 1.1)

1. Enable Personal File Sharing on the network machine you wish to access.

2. From the ssh prompt on the Apple TV, create a folder to mount the share, such as: mkdir /Users/frontrow/afp

3. Mount the share while still at the Apple TV ssh prompt. Here's the command I used:

 mount_afp -i afp://joey-imac/Macintosh\ HD /Users/frontrow/afp

"joey-imac" is the name of the machine on my network

"Macintosh HD" is the drive I want to mount (notice you need the \ to escape sequence the space

"/Users/frontrow/afp" is the mountpoint on the Apple TV

You will get a strange errors such as the following:

 mount_afp: the mount flags are 0000 the altflags are 0020
 /mach: No such file or directory
 Can't open /mach for reading - No such file or directory
 kextload: can't map module files
 kextload: can't check load addresses of modules
 kextload: a link/load errtouch or occured for kernel extension /System/Library/Filesystems/AppleShare/asp_tcp.kext
 /mach: No such file or directory
 Can't open /mach for reading - No such file or directory
 kextload: can't map module files
 kextload: can't check load addresses of modules
 kextload: a link/load error occured for kernel extension /System/Library/Filesystems/AppleShare/afpfs.kext

However, you can change to the directory of the mountpoint (e.g. /Users/frontrow/afp) and access files on the remote machine!

If you boot up with / mounted RW automatically (as in Mount ReadWrite) it will generate the /mach.sym file, which will fix the kext loading issues. If you then make it boot RO by default, it will not delete the /mach.sym file.


You can also mount drives by putting your ID and password into the command:

mount_afp  afp://myusername:mypassword@192.168.0.2/nixon ~frontrow/Movies/nixon
mount_afp  afp://myusername:mypassword@192.168.0.2/Silver ~frontrow/Movies/silver

Will mount my main and external drives under the Movies folder where ATVFIles will find it.

Obviously enter your own ID and password on your machine which has all the files. Nixon is the name of my computer's main hard disk, and silver the external. For some unknown reason the AppleTV seems to have problems with mountpoints with capital letters in them, so make sure you give your mount point a lower case name (i.e. silver not SIlver)

You might want to try adding this to your rc.local file to make it happen every time you reboot. So:

sudo echo "mount_afp  afp://barry:mypasword@192.168.0.2/nixon ~frontrow/Movies/nixon">>/etc/rc.local

that adds the first line to the end of the rc.local file which is run everytime the system boots.

For some reason this doesn't always work and in some cases the rc.local file doesn't exist. A way around it is to use su. su is a rather dangerous command as it effectively allows you to log in as root so use it wisely!

Copy /usr/bin/su from your local OS X installation to the same location on the AppleTV.

Then issue these commands

sudo su -

touch /etc/rc.local

echo "mount_afp  afp://barry:mypasword@192.168.0.2/nixon ~frontrow/Movies/nixon">>/etc/rc.local

This will log you on as root, create the file (only if it doesn't exist), add the changes to it. You can then check the changes have been made by typing:

cat /etc/rc.local

and checking the last line in the file.

Once you're happy, issue this simple command to exit the root shell:

exit