Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Hacking the Apple TV Print E-mail
Jim Buzbee   
July 23, 2007

Plugins

So what can you do once you've turned on ssh support and have command-line access to the box? Plenty. For starters, I quickly mounted shared network drives from my NASes on the network, greatly expanding my storage capabilities.

Under version 1.0, this is a piece of cake because support is in place for Windows shares, AFP shares and NFS shares. But under version 1.1, things get a bit more difficult. As mentioned earlier, native support for Windows network shares is gone, so you'll have to move to external support for Windows network shares. For NFS shares, you can move the mount command back onto the box from another OS X system so that's pretty easy, and you can re-enable AFP support in a similar fashion.

There are a few efforts underway to automatically mount the network shares, but the easiest way to accomplish it is to put your mount commands into a user-created boot-time script called /etc/rc.local.

As for what others are adding to their boxes, the AwkardTV.org web site lists lots of different features. There is information on everything from setting up a remote desktop to setting the box up in a Xgrid compile farm to installing a LAMP stack. All these things are cool, but what I was looking for was a way to extend the video capabilities of the product and that means adding video codecs.

One popular source of OSX-compatible video codecs is Perian. Codecs are provided for a number of different formats including the two most popular: XviD and DivX. If you already had Perian installed on your Mac, and you used the Patchstick creation script, then the codecs were likely installed to your Apple TV as part of the Patchstick boot. If not, then download and install the Perian package on your Mac, then copy the /Library/QuickTime/Perian.component directory to the same location on your Apple TV.

Note that Perian.component is a directory tree, not a single file, so you'll have to do a recursive copy to move it around. When manually adding components to the system directories on your Apple TV, you'll have to go through a couple of steps.

First, the main operating system partition of the drive is mounted read-only. To correct this, from an Apple TV command-line you'll re-mount the OS partition using the command:

# sudo mount -ow /

Sudo Allows non-privileged users, like Frontrow, to issue privileged commands. If you haven't issued the sudo command for a while, it will prompt for the Frontrow user's password (frontrow). Once the drive is mounted read/write, you can copy files wherever you need them (such as the /library/QuickTime/ directory). You'll be prefixing your copy commands with the sudo directive in order to get the right privileges. Once you've finished your modifications, you'll put the OS partition back in read-only mode:

# sudo mount -or /

So now that you've got the codecs installed, you can play your DivX and XviD files right? Wrong. Unfortunately, the Apple TV movie player has already screened out everything except MPEG4 and H.264 files and there's no good way to fix that. The alternative is to move your files over to the ATV yourself, or reference them from a network drive and install an alternate movie player.



Tags: Apple, Hacking,

Related Articles:

Apple and Cisco temporary cease fire
Apple TV Review: Highly Polished, Limited Video Formats
Cisco sues Apple over "iPhone" trademark infringement
Mac OS SlingPlayer released
Netgear EVA8000 Review - YouTube, Flickr, iTunes and more
 

Most Read

 
 

Over At The Forums

Wireless Setup for Bed and Breakfast
Thanks in advance for any suggestions. I have a bed and breakfast with 8 rooms in two buildings and have used Linksys WRT54G (old versions with...

Dlink (DIR-655) and VOIP problem
Hello, I can't get a Siemens C450IP VOIP phone working together with a DIR-655. The phone is working without a problem on a USRobotics USR5463 using...

Mini-ITX NAS build
I'm currently looking for some ideas on a fast NAS motherboard at home. Looking into a Mini-ITX because of size and low power. Some requirements...

Dlink DIR-655 Vista Security Issue
I've used the DIR-655 router for quite some time and without hiccup. However, recently I have installed Vista (what a mistake), and under the Network...

DIY NAS User GUIs
Hello all, I have a small network that can vary between 4 and 15 users on any given day, and needs about 1.5-2.5TB of data stored,...

Slideshows

Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router Adtran NetVanta 3120 More

Win This!

Enter to Win!

You could win a Promise NetStor NS2300N NAS.

Learn How!

 

Ldr:0.00354313850403, Rct:0.00753211975098, Sky:0.0092670917511, Tlink:0.0851399898529, TopPG:0.0852310657501, GQV:0.0853660106659 seconds to load.