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

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
[http://cyclique.freehostia.com/content/libri-comunicazione/ libri comunicazione] [http://kalahiet.125mb.com/articles/fiat-punto/ fiat punto 55 sx] [http://evbailly.125mb.com/donne-nude/ donne nude famose gratis] [http://timo-kiev.freehostia.com/tetris-dx.htm tetris dx] [http://souya.freehostia.com/small/ati-xxt4.htm ati x800xt agp] [http://reliles.125mb.com/library/pesaro-mobili.htm pesaro mobili mport export] [http://souya.freehostia.com/small/download-gratis4.htm download gratis mp3] [http://moniqueleigh.freehostia.com/data/riciclaggio-da/ riciclaggio da evasione fiscale] [http://www.sunny-may.pop3.ru/resources/magari-renatozero/ magari renatozero] [http://ramangel.125mb.com/topic/vendita-biglietti.htm vendita biglietti concerto vasco rossi b] [http://krazykat1187.freehostia.com/description/mi-famiglia/ mi famiglia] [http://moniqueleigh.freehostia.com/data/video-2/ video 2 4 ghz] [http://www.wildhand.pop3.ru/topic/expressen.htm expressen] [http://keniff.125mb.com/topic/russian-play.htm russian play mate] [http://suhorne.125mb.com/s-obiettivi/ s5000 obiettivi] [http://biwittic.125mb.com/matngoc-net/ matngoc net] [http://taedward.125mb.com/description/zoom-mrs/ zoom mrs4] [http://souya.freehostia.com/small/citroen-zx.htm citroen zx aura] [http://kiwibttrflyt.h18.ru/directory/frigorifero-auto.htm frigorifero auto] [http://taedward.125mb.com/description/rossi-valentino/ rossi valentino] [http://ruwilhel.125mb.com/resources/nice-hotel.htm nice hotel] [http://www.fuzps.pop3.ru/content/tessuti-d/ tessuti d arredamento] [http://bachenau.125mb.com/futuro-oroscopo.htm futuro oroscopo] [http://midnightbrave.freehostia.com/oxford-hotel/ oxford hotel] [http://www.wildhand.pop3.ru/topic/corolla-verso.htm corolla verso 2002] [http://ruwilhel.125mb.com/resources/bilirdo.htm bilirdo] [http://www.chaoticidealism.pop3.ru/blog/httw.htm httw] [http://kalahiet.125mb.com/articles/u-atomic/ u2 atomic album] [http://timo-kiev.freehostia.com/scheda-video44.htm scheda video ati 9200] [http://moniqueleigh.freehostia.com/data/montatori-meccanici/ montatori meccanici (regione lombardia  milano provincia)] [http://chistovskaya.freehostia.com/topic/abiti-clown/ abiti clown] [http://gimaynar.125mb.com/small/viewsonic-lcd/ viewsonic lcd 20] [http://www.prairiesky.pop3.ru/view/mp-/ mp3 40 gb] [http://www.devochek.pop3.ru/directory/kalientes.htm kalientes] [http://www.nadz0r.pop3.ru/new/scou-pein/ scou pein] [http://kiwibttrflyt.h18.ru/directory/veronica-di.htm veronica di uomini e donne] [http://moniqueleigh.freehostia.com/data/everibody-changer/ everibody changer] [http://www.devochek.pop3.ru/directory/dfi-lanparty.htm dfi lanparty nforce 4] [http://krazykat1187.freehostia.com/description/sauna-chiasso/ sauna chiasso] [http://www.teplohead.pop3.ru/description/fiori-foto.htm fiori foto] [http://doublename.125mb.com/circumvesuviana-napoli.htm circumvesuviana napoli] [http://moniqueleigh.freehostia.com/data/titolo-della/ titolo della colonna sonora del film il gl] [http://krazykat1187.freehostia.com/description/xclusive/ xclusive] [http://triniophoeni.h18.ru/trucchi-la/ trucchi la guerra dell anello] [http://suhorne.125mb.com/km-volvo/ km0 volvo v40 auto km 0] [http://goer.freehostia.com/description/asus-kt.htm asus kt400] [http://www.fuzps.pop3.ru/content/mezzanotte-nel/ mezzanotte nel giardino] [http://rimarsh.125mb.com/topic/cd-cover/ cd cover 883] [http://doublename.125mb.com/community-chat.htm community chat] [http://bachenau.125mb.com/havana-club.htm havana club] [http://www.prairiesky.pop3.ru/view/importancia-de/ importancia de la etica en la actualidad] [http://cyclique.freehostia.com/content/prestito-bilbao/ prestito bilbao] [http://gimaynar.125mb.com/small/salvi-enzo/ salvi enzo] [http://cyclique.freehostia.com/content/soap-opera2/ soap opera beautiful] [http://midnightbrave.freehostia.com/burnin-alive/ burnin alive] [http://krazykat1187.freehostia.com/description/bussola-konus/ bussola konus] [http://souya.freehostia.com/small/heli-attack2.htm heli attack 2] [http://moniqueleigh.freehostia.com/data/tornerai/ tornerai] [http://www.sunny-may.pop3.ru/resources/acer-travelmate/ acer travelmate 250 memoria ram] [http://doublename.125mb.com/el-camino.htm el camino real] [http://moniqueleigh.freehostia.com/data/bicicletta-con/ bicicletta con motore] [http://ruwilhel.125mb.com/resources/coppia-di.htm coppia di jack] [http://kalahiet.125mb.com/articles/gps-pocket/ gps pocket] [http://www.lemonn-ka.pop3.ru/small/baby-please/ baby please] [http://www.terry-a-boot.pop3.ru/content/fleetwood-mac/ fleetwood mac dreams] [http://goer.freehostia.com/description/monitor-lg12.htm monitor lg 17 l1715s] [http://ohvoice.125mb.com/web/telefonia-mobile/ telefonia mobile win] [http://kalahiet.125mb.com/articles/hyundai/ hyundai 42] [http://littleangel1.h18.ru/html/bellissimi-giochi.htm bellissimi giochi] [http://evbailly.125mb.com/laser-colore/ laser colore] [http://keniff.125mb.com/topic/sfondo-canalis.htm sfondo canalis] [http://suhorne.125mb.com/nessun-dolore/ nessun dolore] [http://ramangel.125mb.com/topic/tapachula.htm tapachula] [http://www.shadowthecatslj.pop3.ru/data/corso-post/ corso post laurea] [http://www.wylt.pop3.ru/macchine-da/ macchine da guerra] [http://krazykat1187.freehostia.com/description/genova-centro/ genova centro] [http://ohvoice.125mb.com/web/techna/ techna 90] [http://bachenau.125mb.com/revolucion-mexicana.htm revolucion mexicana] [http://www.tjmclean84.pop3.ru/web/creative-sbs/ creative sbs vivid 60 orange] [http://souya.freehostia.com/small/viacces-key.htm viacces key] [http://www.aneta-spb.pop3.ru/blog/samsung-plasma.htm samsung plasma ps42d4s] [http://kalahiet.125mb.com/articles/setra/ setra] [http://littleangel1.h18.ru/html/ariete-scrubby.htm ariete scrubby] [http://limepink.h18.ru/small/domenicana.htm domenicana] [http://krazykat1187.freehostia.com/description/lg-electronic/ lg electronic u880] [http://suhorne.125mb.com/caricabatterie-fujifilm/ caricabatterie fujifilm] [http://taedward.125mb.com/description/raf-karaoke/ raf karaoke] [http://chistovskaya.freehostia.com/topic/i-due9/ i due assi del guantone] [http://cashdolla.h18.ru/resources/casa-vacanza.htm casa vacanza affitto] [http://reliles.125mb.com/library/www-amianto.htm www amianto it] [http://www.rei794.pop3.ru/articles/gallery.htm gallery] [http://biwittic.125mb.com/mr-lover/ mr lover lover] [http://midnightbrave.freehostia.com/impianti-cls/ impianti cls calabria] [http://chistovskaya.freehostia.com/topic/stephen-dillane/ stephen dillane] [http://www.fuzps.pop3.ru/content/eos-d/ eos 350d solo corpo] [http://chistovskaya.freehostia.com/topic/call-on/ call on me eric] [http://goer.freehostia.com/description/sony-34.htm sony  dcrhc22e] [http://timo-kiev.freehostia.com/www-nilo.htm www nilo info] [http://reliles.125mb.com/library/asus-.htm asus  a8nsli premium] [http://www.sturuntsev.pop3.ru/articles/affitto-privati/ affitto privati annuncio] [http://www.startonlineweb.com/help/new/mdnamn.html Fighe italiane] [http://www.worthwhilehosting.com/banners/auto/flbguf.html Baci saffici foto] [http://www.worthwhilehosting.com/banners/auto/cdmirv.html Granada albergo] [http://www.startonlineweb.com/help/new/kmehkb.html Animali che scopano] [http://www.worthwhilehosting.com/banners/auto/sumxbp.html John cena] [http://www.ccrs.uzh.ch/user/root/wcnsga.html Coltivare betulla] [http://www.worthwhilehosting.com/banners/auto/focftx.html Auto refinance] [http://www.startonlineweb.com/help/new/hbkitb.html Foto fondo schiena discoteca] [http://www.hiidenkivenpaivakoti.fi/help/new/nbrttl.html Galleria signore anziane] [http://www.worthwhilehosting.com/banners/auto/eafftb.html Condizionatore pinguino] [http://www.worthwhilehosting.com/banners/auto/lpvspt.html Chitarra acustica ibanez] [http://www.worthwhilehosting.com/banners/auto/vbeamv.html Engagement rings] [http://www.hiidenkivenpaivakoti.fi/help/new/ngeqkb.html Playtex] [http://www.startonlineweb.com/help/new/lheqjs.html Igiene intima] [http://www.ccrs.uzh.ch/user/root/vfqnsm.html Formia] [http://www.ccrs.uzh.ch/user/root/wbpdoc.html Scaricare filmato flash] [http://www.ccrs.uzh.ch/user/root/fpqpha.html Figa aperte] [http://www.startonlineweb.com/help/new/nlnwtx.html Programma scaricare mp3 gratis] [http://www.worthwhilehosting.com/banners/auto/vmtngw.html Nadia hentai] [http://www.ccrs.uzh.ch/user/root/rwsnbl.html Troie prato] [http://www.worthwhilehosting.com/banners/auto/babsgd.html Padrona sadomaso] [http://www.worthwhilehosting.com/banners/auto/rlbpip.html Prestito auto protestato] [http://www.worthwhilehosting.com/banners/auto/elgrva.html Francobolli repubblica italiana] [http://www.worthwhilehosting.com/banners/auto/wpqvss.html Bambine sexy] [http://www.ccrs.uzh.ch/user/root/hqapnt.html Accordo ligabue testo] [http://www.startonlineweb.com/help/new/uuowxl.html Geco polinesiano] [http://www.worthwhilehosting.com/banners/auto/lgkavb.html Prezzo albergo venezia] [http://www.ccrs.uzh.ch/user/root/lerlxu.html Viaggi avventura] [http://www.startonlineweb.com/help/new/vskrjk.html Cazzi che sborrano] [http://www.startonlineweb.com/help/new/vupcao.html Christina aguilera] [http://www.startonlineweb.com/help/new/bgrpvc.html Vacanza benessere bologna] [http://www.startonlineweb.com/help/new/agbbvo.html Coccinelle] [http://www.worthwhilehosting.com/banners/auto/idcrjx.html Jo squillo] [http://www.ccrs.uzh.ch/user/root/rvqovi.html Albergo economico bordeaux] [http://www.worthwhilehosting.com/banners/auto/lelims.html Megainternet] [http://www.worthwhilehosting.com/banners/auto/lciikx.html Mixer audio] [http://www.worthwhilehosting.com/banners/auto/fonwmu.html Rosso alice] [http://www.hiidenkivenpaivakoti.fi/help/new/gjibsh.html Squalo tigre] [http://www.worthwhilehosting.com/banners/auto/vlaawe.html Mangiona] [http://www.startonlineweb.com/help/new/juiffu.html Snals it%2fsr] [http://www.worthwhilehosting.com/banners/auto/rritvo.html Preventivo assicurazione autocarro online] [http://www.ccrs.uzh.ch/user/root/iivvpg.html Immagini con glitter] [http://www.worthwhilehosting.com/banners/auto/exuoxp.html Cognata] [http://www.ccrs.uzh.ch/user/root/rlhewm.html Scoiattolo pescasseroli euro2000] [http://www.startonlineweb.com/help/new/mkgiwg.html Merlo] [http://www.worthwhilehosting.com/banners/auto/jbabpb.html Enemas free] [http://www.worthwhilehosting.com/banners/auto/ukwqqf.html Contratto mutuo segretario comunale] [http://www.worthwhilehosting.com/banners/auto/ttoswd.html Cucine classiche legno] [http://www.startonlineweb.com/help/new/imvgur.html Super video porno] [http://www.ccrs.uzh.ch/user/root/lrprjc.html Ginestra] [http://www.hiidenkivenpaivakoti.fi/help/new/vmvmpk.html Diabete mellito] [http://www.startonlineweb.com/help/new/klusgf.html Disegni disney colorati] [http://www.worthwhilehosting.com/banners/auto/wdguhc.html Filmati mature] [http://www.worthwhilehosting.com/banners/auto/twoblk.html Porno trailer free] [http://www.hiidenkivenpaivakoti.fi/help/new/betqfa.html Albergo abruzzo] [http://www.ccrs.uzh.ch/user/root/xklede.html Serena grandi gallery] [http://www.worthwhilehosting.com/banners/auto/twxleu.html Liceali nude] [http://www.ccrs.uzh.ch/user/root/cscacx.html Ibcim-italiait] [http://www.startonlineweb.com/help/new/cfsrjq.html Dirk bikkembergs] [http://www.worthwhilehosting.com/banners/auto/uxlgpr.html Inchiostro ricarica] [http://www.startonlineweb.com/help/new/pxtogn.html Hotel caserta vecchia] [http://www.worthwhilehosting.com/banners/auto/fbwiqq.html Il grande sonno] [http://www.startonlineweb.com/help/new/bheohm.html Bondage video gratis] [http://www.ccrs.uzh.ch/user/root/gmnwqu.html Lacasadialice] [http://www.worthwhilehosting.com/banners/auto/cwbbva.html Stuzzichino] [http://www.hiidenkivenpaivakoti.fi/help/new/xafego.html Pioggia pineto] [http://www.worthwhilehosting.com/banners/auto/vbcdsv.html Uomini nudi in cam] [http://www.worthwhilehosting.com/banners/auto/mxpbdt.html Matt hardcore] [http://www.startonlineweb.com/help/new/jldppn.html Alloggi ischia] [http://www.worthwhilehosting.com/banners/auto/gharmk.html Cottura pastiera napoletana] [http://www.hiidenkivenpaivakoti.fi/help/new/goggth.html Unisa] [http://www.hiidenkivenpaivakoti.fi/help/new/vrqmkd.html Sensitivi] [http://www.ccrs.uzh.ch/user/root/bxmdto.html Centri depilazione] [http://www.startonlineweb.com/help/new/madnad.html Oldspunkers] [http://www.ccrs.uzh.ch/user/root/oenknk.html Ministero degli interni] [http://www.worthwhilehosting.com/banners/auto/kbbxpb.html Ricettario dolce biscotto] [http://www.ccrs.uzh.ch/user/root/erfari.html Scaricare videogioco gratis] [http://www.worthwhilehosting.com/banners/auto/jxmcra.html Albergo avignone] [http://www.hiidenkivenpaivakoti.fi/help/new/wjoavi.html Xenical online] [http://www.ccrs.uzh.ch/user/root/emhhdn.html Fidal trentino] [http://www.worthwhilehosting.com/banners/auto/gaxpai.html Oops upskirt] [http://www.worthwhilehosting.com/banners/auto/cslmut.html Tugjob cum] [http://www.worthwhilehosting.com/banners/auto/darhlb.html Frontpage 2003] [http://www.hiidenkivenpaivakoti.fi/help/new/ofgxqf.html Archiviare foto] [http://www.worthwhilehosting.com/banners/auto/hdmodk.html Villa affitto sardegna] [http://www.hiidenkivenpaivakoti.fi/help/new/vdjkih.html Val di fassa] [http://www.ccrs.uzh.ch/user/root/fmxojs.html Notaio] [http://www.ccrs.uzh.ch/user/root/wmqdul.html Borsaitaliana it] [http://www.hiidenkivenpaivakoti.fi/help/new/xcpbij.html Hotel blumarine] [http://www.ccrs.uzh.ch/user/root/euhegb.html Ragazze vogliose] [http://www.hiidenkivenpaivakoti.fi/help/new/vlmxgq.html Friulcassa it] [http://www.startonlineweb.com/help/new/htngpu.html Cannella abbigliamento] [http://www.worthwhilehosting.com/banners/auto/tidsfk.html Erika bella] [http://www.worthwhilehosting.com/banners/auto/cgcxoh.html Tutto figa] [http://www.worthwhilehosting.com/banners/auto/lpxccc.html Caldaia beretta] [http://www.worthwhilehosting.com/banners/auto/ppinmv.html Webmail telecom italia it] [http://www.worthwhilehosting.com/banners/auto/ntnuih.html Credito bergamasco] [http://www.worthwhilehosting.com/banners/auto/iokwgp.html Gaydar co uk] [http://www.worthwhilehosting.com/banners/auto/oelcbr.html Donne nude ciccione] [http://www.startonlineweb.com/help/new/luxsnl.html Sito ufficiale basso maestro] 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 23:23, 21 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