Posts: 27
Joined: Apr 2011
Reputation:
0
dozens
Junior Member
Posts: 27
Thank you for the link, but when I attempt to do this is consistently times out.
I am putting the IP address in the Server filed, then root and alpine in user/pass. I don't get it.
Posts: 139
Joined: Apr 2011
Reputation:
0
eTip
Senior Member
Posts: 139
@dozens:
Is your ATV on the same network as the Mac?
If so, can you ping the ATV from the Mac?
If so, can you ssh from the Mac to the ATV?
(in terminal, "ssh root@<ip address of ATV>")
If all of the above work then there is likely something wrong with how you are entering the information in Cyberduck. If it doesn't fill in the port for you automatically (I don't currently use Cyberduck) it should be port 22, the userid should be "root" & the password is "alpine".
If you CAN ping the ATV from the Mac but CANNOT ssh to it then it's likely ssh was not installed during jailbreak in which case, you will need to install it. Some of the jailbreak tools provide a method to install ssh separately I believe.
Posts: 27
Joined: Apr 2011
Reputation:
0
dozens
Junior Member
Posts: 27
It is on the same network. And I can SSH into it. Now it is saying "Connection Refused". I do put the ATV2's IP address in the Server area, right? And do I need to keep that private or can I post it?
Posts: 139
Joined: Apr 2011
Reputation:
0
eTip
Senior Member
Posts: 139
For Cyberduck, you are using port 22, right?
Wait - When you say you CAN ssh into it, you mean that it DOES accept the user id & password & returns a prompt like this:
AppleTV:~ root#
It's not clear to me when you say you are getting "connection refused" if you mean when you SSH or in Cyberduck when you SFTP.
Assuming the IP is in the 192.168.X.X (i.e. 192.168.1.15) or 10.X.X.X (i.e. 10.15.10.104) range then posting it won't hurt but also probably won't help us help you. If you checked the IP in the AppleTV interface can ping it then you have that part right.
Posts: 27
Joined: Apr 2011
Reputation:
0
dozens
Junior Member
Posts: 27
Yes, using port 22.
And I can SSH into it using Terminal "ssh root@<atv2 IP address>"
But I get a connection refused using Cyberduck.
Posts: 139
Joined: Apr 2011
Reputation:
0
eTip
Senior Member
Posts: 139
If you can SSH, you should be able to SFTP from the same computer. I am downloading Cyberduck on my Mac now to see what you might be missing.
Posts: 27
Joined: Apr 2011
Reputation:
0
dozens
Junior Member
Posts: 27
Success! Don't know why, but now it's working! I think it was a problem with my Airport Extreme.
So, now that I am SSH'd into the ATV2, where do I put the script.web.viewer.zip file and what do I do to it?
Posts: 139
Joined: Apr 2011
Reputation:
0
eTip
Senior Member
Posts: 139
Put the zip in /var/mobile or a subfolder there. In XBMC, "Home"= /var/mobile. You can delete the zip once it installs.
Then in XBMC: Settings > Addons > Install from zip > Home folder > select the zip > OK
Assuming it installs Ok, to open it: Progams > Addons > Web viewer
.... Now, if you are anything like me once you get it open you will soon discover it's not obvious how the CLOSE it! To do so: Press & HOLD Menu > Options > Settings > check Simple Controls > OK. Now press & hold Menu again > scroll down > Exit Web Viewer. (if there is an easier/better way, I am not aware of it.)