Jump to content

SSH *Yes!* Disk writting *No way!*


Terriman
 Share

8 posts in this topic

Recommended Posts

I used a Patchstick to enable SSH on my Apple TV so i didn't have to open the box. Now that is enabled i try to install ATVFiles but i can't because the disk is on Write only mode.

 

I used this code

 

sudo mount -o remount,rw /dev/disk0s3 /

 

but it didn't work. neither this one;

 

sudo /sbin/mount -uw /

 

I used Mac OX 10.3 and 10.4 terminal, also the putty software on Windows. Nothing works. I logged into the Apple TV as frontrow user and then i even used "sudo -s" and tryied the above codes, no luck neither.

 

My last try was writing

 

touch /Volumes/OSBoot/.readwrite

 

It didn't work out.

 

What am I doing wrong?!!?!? ;)

Link to comment
Share on other sites

how are you trying to install atvfiles ? I could not scp the file to the correct directory. I had to scp it to the /users/frontrow directory and then sudo mv it to the correct location. This might be where your problem lies.

 

malty

Link to comment
Share on other sites

I'm trying to install ATVFiles with scp command and also with fugu, dragging the file into the correct directory as the Engadged Tutorial explains.

 

So, this, doesn't work for me:

 

Now, copy the ATVFiles plugin, Perian and AC3 QuickTime components to the Apple TV. (As always, depending on the location of these files your command will differ.)

scp -1 -r /Users/Engadget/Downloads/ATVFiles-0.2.1/ATVFiles.frappliance/ frontrow@AppleTV.local:~
scp -1 -r /Volumes/Perian\ 0.5/Perian.component frontrow@AppleTV.local:~
scp -1 -r /Volumes/A52Codec\ 1.7.2/A52Codec.component frontrow@AppleTV.local:~

 

Neither with Fugu, dragging the file into /System/Library/CoreServices/Finder.app/Contents/PlugIns on the Apple TV.

 

?¿?¿?¿?¿?¿?¿ :)

Link to comment
Share on other sites

you cannot fugu directly into /System/Library/CoreServices/Finder.app/Contents/PlugIns

 

you need to scp/fugu the files to /Users/frontrow and then from your shell (ssh connection)

sudo mv /users/frontrow/<filename> /System/Library/CoreServices/Finder.app/Contents/PlugIns

Link to comment
Share on other sites

Man it worked!! Thanks!

 

BUT now every 5 minutes my Apple TV RESTARTS by itself and i have to choose the language and set the screen resolution...

 

WHAT'S HAPPENING?! i'm going crazy :thumbsdown_anim::(:thumbsup_anim:

 

My guess is that watchdog is rebooting your apple tv.

 

Are you killing the finder process?

 

 

Try this:

 

Disable ripstop

Purpose: Ripstop is part of the watchdog system that reboots if the default application doesn't run

Code:

 

mkdir /etc/mach_init.disabled mv /etc/mach_init.d/ripstop.plist /etc/mach_init.disabled

 

from http://0xfeedbeef.com/appletv/

 

and this:

 

Up the number of reboots before triggering recovery

Purpose: If the BackRow application doesn't launch after 5 boots, the built-in recovery procedure is run. Up it to 9 times.

Code:

 

sudo nvram max-boot-attempts=%09

 

See if that helps the restarting problem :)

Link to comment
Share on other sites

Ok thanks!

 

I stoped ripstop and also i killed Watchdog (unloading the kext). Now it doesn't restart but...i didn't turn off the power of my Apple TV for 2 days afraid something (ripstop or watchdog) wakes up and starts restarting againg :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...