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://maramsde.ifrance.com/directory/foto-amatoriali8/ foto amatoriali teen] [http://mejordan.ifrance.com/index0_250.html link] [http://bekleem.ifrance.com/content/batteria-sagem1/ batteria sagem 400 mah] [http://nipierre.ifrance.com/index0_500.html map] [http://nipierre.ifrance.com/index3_500.html url] [http://sthuckst.ifrance.com/index1_250.html site] [http://veredda.ifrance.com/index0_1000.html site] [http://sthuckst.ifrance.com/av-deluxe1/ a8v deluxe wifi] [http://veredda.ifrance.com/index1_250.html link] [http://mejordan.ifrance.com/index4_1000.html index] [http://bekleem.ifrance.com/index3_250.html home] [http://nipierre.ifrance.com/articles/elicottero-dragonfly.htm elicottero dragonfly] [http://lokelseyn.ifrance.com/index0_500.html link] [http://trermer.ifrance.com/small/lettore-video/ lettore video mp3 portatile] [http://nipierre.ifrance.com/articles/torno-sui.htm torno sui miei passi] [http://lokelseyn.ifrance.com/mini-disk/ mini disk] [http://veredda.ifrance.com/resources/firmware-v.htm firmware v 4 09 1 nhl 10] [http://nipierre.ifrance.com/articles/nokia-106.htm nokia 3310 doppia sim] [http://mejordan.ifrance.com/eurodance1.htm eurodance] [http://bekleem.ifrance.com/content/rex-ro/ rex ro 24 e] [http://nipierre.ifrance.com/articles/i-due12.htm i due rivali] [http://nipierre.ifrance.com/articles/sensore-neonati.htm sensore neonati] [http://trermer.ifrance.com/small/parodie/ parodie] [http://sthuckst.ifrance.com/gangester/ gangester] [http://trermer.ifrance.com/small/lexmark8/ lexmark 1180] [http://lokelseyn.ifrance.com/ratchet-e1/ ratchet e clank 3] [http://mejordan.ifrance.com/quanno-o.htm quanno o sole dolce] [http://sthuckst.ifrance.com/american-pie/ american pie 4] [http://nipierre.ifrance.com/articles/pintores-mexicanos.htm pintores mexicanos del siglo xx] [http://nipierre.ifrance.com/articles/giochi-disney.htm giochi disney] [http://mejordan.ifrance.com/nokia-fotocamera1.htm nokia fotocamera integrata registrazione] [http://mejordan.ifrance.com/guitarist-slash.htm guitarist slash guns n roses] [http://veredda.ifrance.com/index1_250.html link] [http://maramsde.ifrance.com/directory/cript-raider/ cript raider] [http://trermer.ifrance.com/index2_500.html homepage] [http://lokelseyn.ifrance.com/tshirt-donna2/ tshirt donna baci abbracci] [http://trermer.ifrance.com/small/shostakovic/ shostakovic] [http://mejordan.ifrance.com/gay-gay.htm gay gay] [http://mejordan.ifrance.com/xerox-a1.htm xerox a3] [http://sthuckst.ifrance.com/foto-humor/ foto humor] [http://maramsde.ifrance.com/directory/ponchi/ ponchi] [http://trermer.ifrance.com/small/dissipatori-socket/ dissipatori socket a] [http://mejordan.ifrance.com/ristorante-a.htm ristorante a monsummano terme] [http://lokelseyn.ifrance.com/britnei-spears/ britnei spears foto sexy] [http://lokelseyn.ifrance.com/index0_500.html link] [http://sthuckst.ifrance.com/index2_500.html map] [http://maramsde.ifrance.com/index3_500.html map] [http://veredda.ifrance.com/resources/testo-tradotto9.htm testo tradotto di you re weren t there] [http://bekleem.ifrance.com/content/camper-economici/ camper economici] [http://sthuckst.ifrance.com/emile-durkeim/ emile durkeim] [http://nipierre.ifrance.com/articles/malines.htm malines] [http://nipierre.ifrance.com/articles/esempio-di1.htm esempio di business plan] [http://bekleem.ifrance.com/content/vic-matie/ vic matie] [http://maramsde.ifrance.com/index2_500.html site] [http://sthuckst.ifrance.com/index2_500.html map] [http://mejordan.ifrance.com/una-donna11.htm una donna per ringo] [http://mejordan.ifrance.com/annuncio-privati5.htm annuncio privati gratuiti personali] [http://veredda.ifrance.com/resources/lg-masterizzatore.htm lg masterizzatore esterno dvd] [http://sthuckst.ifrance.com/concessionari-auto3/ concessionari auto emilia romagna] [http://lokelseyn.ifrance.com/tour-sri1/ tour sri lanka] [http://mejordan.ifrance.com/creatura-degli.htm creatura degli abissi] [http://trermer.ifrance.com/small/annuncio-incontri6/ annuncio incontri erotici] [http://sthuckst.ifrance.com/il-ballo8/ il ballo di s vito caposella] [http://trermer.ifrance.com/index2_500.html homepage] [http://lokelseyn.ifrance.com/rick-solomon/ rick solomon] [http://lokelseyn.ifrance.com/televisori-16/ televisori 42 pollici] [http://sthuckst.ifrance.com/dungeons-and/ dungeons and dragons] [http://sthuckst.ifrance.com/garelli-bologna/ garelli bologna] [http://nipierre.ifrance.com/articles/toronto-cose.htm toronto cose fare] [http://lokelseyn.ifrance.com/index1_500.html index] [http://lokelseyn.ifrance.com/www-nikefutbol2/ www nikefutbol com ar] [http://mejordan.ifrance.com/www-venezuela.htm www venezuela] [http://mejordan.ifrance.com/scala-gradi.htm scala gradi] [http://trermer.ifrance.com/small/temi-svolti11/ temi svolti d italiano] [http://maramsde.ifrance.com/directory/villach-centro/ villach centro commerciale] [http://veredda.ifrance.com/resources/lauryn-hill.htm lauryn hill] [http://sthuckst.ifrance.com/pablo-carcamo/ pablo carcamo] [http://trermer.ifrance.com/small/angolo-testo/ angolo testo it] [http://trermer.ifrance.com/small/generale-ascoltare/ generale ascoltare] [http://trermer.ifrance.com/small/il-richiamo/ il richiamo del silenzio] [http://maramsde.ifrance.com/directory/minuetto-bach/ minuetto bach] [http://mejordan.ifrance.com/colin-firth.htm colin firth] [http://mejordan.ifrance.com/hits.htm hits 2003] [http://maramsde.ifrance.com/index0_500.html url] [http://bekleem.ifrance.com/index1_500.html page] [http://veredda.ifrance.com/resources/shabestari.htm shabestari] [http://sthuckst.ifrance.com/cybershot/ cybershot] [http://maramsde.ifrance.com/index2_500.html site] [http://bekleem.ifrance.com/index3_250.html home] [http://nipierre.ifrance.com/articles/seni-misura1.htm seni misura max] [http://lokelseyn.ifrance.com/amstrad5/ amstrad 27] [http://nipierre.ifrance.com/articles/philips-monitor2.htm philips monitor crt 22] [http://mejordan.ifrance.com/index4_1000.html index] [http://mejordan.ifrance.com/ace-combat4.htm ace combat] [http://trermer.ifrance.com/small/il-maghetto/ il maghetto dei record] [http://trermer.ifrance.com/index1_500.html site] [http://trermer.ifrance.com/index1_500.html site] [http://mejordan.ifrance.com/www-on.htm www 6on6 com] [http://trermer.ifrance.com/small/kodak4/ kodak] [http://nipierre.ifrance.com/index0_500.html map] [http://www.actionscript.ru/help/files/cnhmxv.html Publiweb] [http://www.backtothebible.org/help/files/gtiucp.html Sardegna meteo] [http://www.hiidenkivenpaivakoti.fi/help/new/bqibsx.html Alieni sulla terra] [http://www.backtothebible.org/help/files/xiateo.html Nudisti adolescenti] [http://www.worthwhilehosting.com/banners/auto/jxwhqx.html Albergo 5 stelle tunisia] [http://rootos.idonea.cl/help/files/tdrhiq.html Fnada] [http://rootos.idonea.cl/help/files/bbhcve.html Cellulare panasonic] [http://www.notreligion.com/help/files/sigffj.html Finanziamento basso tasso] [http://www.startonlineweb.com/help/new/dhwftf.html File eulumdat gewiss] [http://cale.cc/xde/it/jqkljp.html Rimedi contro l insonnia] [http://www.ccrs.uzh.ch/user/root/fljups.html Dresda ristorante] [http://www.notreligion.com/help/files/abircn.html Brunico] [http://www.backtothebible.org/help/files/faxqwp.html Stipendio badante] [http://www.nvwp.org/help/files/qqsjtw.html Confessioni erotiche] [http://www.hiidenkivenpaivakoti.fi/help/new/addldn.html Villaggio settemari rodos village] [http://www.worthwhilehosting.com/banners/auto/coidwa.html Minicar] [http://www.worthwhilehosting.com/banners/auto/okemir.html Www porno italia it] [http://www.notreligion.com/help/files/dwjcuv.html Il re leone] [http://rootos.idonea.cl/help/files/cmcngg.html Alassio hotel] [http://cale.cc/xde/it/btrhvf.html Racconti erotici di incesto] [http://www.priceisking.co.uk/skins/default/ujdrig.html Topo gigio] [http://www.notreligion.com/help/files/tohhms.html Sex slave bondage] [http://rootos.idonea.cl/help/files/tgkofd.html Tettone negre] [http://www.nvwp.org/help/files/onmauu.html Film gratis da scaricare] [http://www.backtothebible.org/help/files/kegwpp.html Naruto porno] [http://www.startonlineweb.com/help/new/udvxuu.html Sandalo con tacco] [http://rootos.idonea.cl/help/files/fusfab.html Aria compressa] [http://www.hiidenkivenpaivakoti.fi/help/new/xcimmk.html Parole glitterate per blog] [http://cale.cc/xde/it/kgfdwp.html Auto usata it] [http://www.ccrs.uzh.ch/user/root/urmulu.html Ambasciata italiana in kazakhstan] [http://www.startonlineweb.com/help/new/atofxi.html Bruxelles ristorante] [http://www.notreligion.com/help/files/jgbijo.html Sfondi gratis di diddl] [http://rootos.idonea.cl/help/files/toqqsu.html Suoneria gratis per cellulare] [http://www.actionscript.ru/help/files/diskqj.html Buona pasqua zip] [http://www.startonlineweb.com/help/new/uuqfxg.html Figlia scopa padre racconto] [http://www.priceisking.co.uk/skins/default/tikxmu.html Sony ericsson t310 suoneria] [http://www.hiidenkivenpaivakoti.fi/help/new/xbgjqf.html Aeroporto orio al serio] [http://www.priceisking.co.uk/skins/default/rdalcw.html Picture sms siemens] [http://www.hiidenkivenpaivakoti.fi/help/new/qvdrmo.html Pokemon smeraldo] [http://cale.cc/xde/it/eoblal.html Belgio shopping] [http://cale.cc/xde/it/aurqbb.html Adolescenti vogliose] [http://www.startonlineweb.com/help/new/wiloaq.html Hot chick] [http://www.priceisking.co.uk/skins/default/ldifpl.html Foto veline nude gratis] [http://www.notreligion.com/help/files/wjiubb.html Hotel rieti] [http://www.priceisking.co.uk/skins/default/edwoqx.html Tintoria] [http://www.backtothebible.org/help/files/dktjjf.html Biologico toscana vacanza] [http://www.backtothebible.org/help/files/aavbxd.html Piani cottura whirpool] [http://cale.cc/xde/it/dpdrmq.html Le foto hard di stefania sandrelli] [http://www.priceisking.co.uk/skins/default/tascvj.html Selen porno star] [http://www.hiidenkivenpaivakoti.fi/help/new/apgqqm.html Cicciolina che scopa col cavallo] [http://www.nvwp.org/help/files/rgqpcs.html Acuto it] [http://rootos.idonea.cl/help/files/ukgnpl.html Albergo bruxelles] [http://cale.cc/xde/it/mutwmk.html Samanta fox] [http://www.notreligion.com/help/files/chdwxh.html Mymovies archivio] [http://www.notreligion.com/help/files/qelsen.html Pettegolezzo nuvola] [http://www.backtothebible.org/help/files/pcegfp.html Movies ampland] [http://www.backtothebible.org/help/files/pqmkun.html Brigata rossonera] [http://www.ccrs.uzh.ch/user/root/kfoxsf.html Unimib it] [http://www.worthwhilehosting.com/banners/auto/hkpawi.html Trans troie] [http://www.startonlineweb.com/help/new/lhccne.html Spy ware] [http://www.backtothebible.org/help/files/ohpwbf.html Tranny surprise] [http://www.worthwhilehosting.com/banners/auto/qlwlgd.html Il giorno della civetta] [http://rootos.idonea.cl/help/files/ejuilv.html Estinzione mutuo anticipato] [http://rootos.idonea.cl/help/files/qvhbig.html Hotel forli] [http://www.nvwp.org/help/files/bbdfoq.html Pc usati] [http://www.backtothebible.org/help/files/eadqoa.html Madameweb pordenone] [http://www.nvwp.org/help/files/vdlalo.html Win mx] [http://www.startonlineweb.com/help/new/fvrhpx.html Aida yespica piccola si masturbava] [http://www.hiidenkivenpaivakoti.fi/help/new/nskfbo.html Pussy gratis] [http://www.hiidenkivenpaivakoti.fi/help/new/qdstud.html Percorso michelin] [http://www.startonlineweb.com/help/new/clgjoq.html Incesto sex] [http://www.worthwhilehosting.com/banners/auto/admusw.html Calcola rata leasing] [http://www.notreligion.com/help/files/bmhdut.html Cinema san vito dei normanno] [http://www.startonlineweb.com/help/new/itdpwf.html Black she male] [http://www.hiidenkivenpaivakoti.fi/help/new/crocku.html Porto santo stefano hotel] [http://www.backtothebible.org/help/files/grwmjg.html Vip senza mutande] [http://rootos.idonea.cl/help/files/cinqvv.html Troia gratis] [http://www.actionscript.ru/help/files/bfpjwb.html Adele stephens stevens] [http://www.ccrs.uzh.ch/user/root/bkdtou.html Emulatori ps2 download] [http://cale.cc/xde/it/hkniif.html Volo per birmingham] [http://www.startonlineweb.com/help/new/wpottb.html Vino adrano] [http://rootos.idonea.cl/help/files/kkjtca.html Hotel marina di pietrasanta] [http://cale.cc/xde/it/wvacvn.html Migliore asta gioiello italia] [http://cale.cc/xde/it/qknanx.html Cd musicali] [http://www.ccrs.uzh.ch/user/root/mpuvxk.html Image of puffy nipple] [http://www.hiidenkivenpaivakoti.fi/help/new/fahehr.html Uomini nudi] [http://www.actionscript.ru/help/files/dqxhwv.html Download musica house] [http://www.backtothebible.org/help/files/rbwhbf.html Assicurazione motorino online] [http://www.notreligion.com/help/files/bkalcx.html Epilessia cane] [http://www.ccrs.uzh.ch/user/root/rcrvjs.html Giovani culi] [http://www.startonlineweb.com/help/new/aqcifd.html Voli milano budapest] [http://www.priceisking.co.uk/skins/default/snnxnu.html Battiscopa] [http://www.worthwhilehosting.com/banners/auto/brmgwo.html Soluzione videogioco saturn] [http://www.startonlineweb.com/help/new/fshhde.html Bang wife] [http://www.startonlineweb.com/help/new/wgxxmk.html Rivestimento facciata pietra brianza] [http://www.priceisking.co.uk/skins/default/fmswsl.html Procol harum] [http://www.ccrs.uzh.ch/user/root/tiimjq.html Software dieta personalizzata] [http://cale.cc/xde/it/wlartn.html Oroscopo affinita coppia] [http://www.notreligion.com/help/files/eohwjh.html Rumene sex] [http://www.backtothebible.org/help/files/lvhsgn.html Cavalli inculati] 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 12:00, 23 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