Kodi Community Forum
[LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV (/showthread.php?tid=74992)



- kkillebrew - 2010-11-29

illiac4 Wrote:Well can someone please help me with setting up static ip address. No matter what i do it always gets the ip from router DHCP.

Assuming you want all the same services and addresses provided by DHPC but just want a static IP:

sudo nano /etc/network/interfaces assign static info here
sudo apt-get remove dhcp-client

reset the network or reboot


Not playing any videos - maartenst - 2010-11-29

Hi,

somehow I can't play any videos.
This is my xbmc.log:

http://pastebin.com/TTKEBYLZ

Can anyone please have a look at it, I'd like to be able to watch something else then tv again ;-)


- illiac4 - 2010-11-29

Well actually i wan't to manually assign the ip address, do not want to use IP from DHCP.

It does not work. I have entered the command sudo apt-get remove dhcp-clien but it said nothing to remove because it was not installed.

This is my interface content:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto eth0
# iface eth0 inet dhcp
# comment out "auto eth0"
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1


ifconfig returns:


xbmc@AppleTV:~$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:17:f2:f7:e2:ca
inet addr:192.168.1.120 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:f2ff:fef7:e2ca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:148 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25172 (24.5 KB) TX bytes:21350 (20.8 KB)
Interrupt:19 Base address:0x1000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


- kkillebrew - 2010-11-30

Change the line in interfaces from
iface eth0 inet static

to

iface eth1 inet static

illiac4 Wrote:Well actually i wan't to manually assign the ip address, do not want to use IP from DHCP.

It does not work. I have entered the command sudo apt-get remove dhcp-clien but it said nothing to remove because it was not installed.

This is my interface content:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto eth0
# iface eth0 inet dhcp
# comment out "auto eth0"
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1


ifconfig returns:


xbmc@AppleTV:~$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:17:f2:f7:e2:ca
inet addr:192.168.1.120 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:f2ff:fef7:e2ca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:148 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25172 (24.5 KB) TX bytes:21350 (20.8 KB)
Interrupt:19 Base address:0x1000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



- illiac4 - 2010-12-01

Thank you very much. I was blind and did not see that it is eth1 and not 0.

--------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1
----------------------------

Now i'd like to ask if it is possible to install wireless card? If it is, i'd really appreciate some basic hints. TNX


no 1080p - Flow01 - 2010-12-02

Hey there,

i used the minimalised Disk Image by pin87a and it worked just fine until i upgraded to rc1 and crystalhd 156 following these instructions:

http://forum.xbmc.org/showpost.php?p=571919&postcount=668

Now, 1080p playback is very choppy. 720p works just fine.

Here is my log file:

http://codeviewer.org/view/code:14a2

I even tried a work around for the audio errors: switched to analog audio out - no effect.

Any help please? Smooth 1080p playback as in pin87as image would be really nice.

Thanx.


- Jimmer - 2010-12-03

Why don't you just revert to the previously installed xbmc version you were happy with? Unless you've cleared your apt-cache you should still have it on your drive....

ls /var/cache/apt/archives/xbmc*

will list all versions of xbmc previously installed with apt-get.

then you will need to select the version that you want to go back to. You will find 5 files you need that correspond to the version you want:

xbmc-bin_VERSION-hardy1_i386.deb
xbmc-data_VERSION-hardy1_all.deb
xbmc-skin-confluence_VERSION-hardy1_all.deb
xbmc-standalone_VERSION-hardy1_all.deb
xbmc-live_VERSION-hardy1_all.deb

then you will need to run the following (make sure you substitute VERSION you got from the above step):

Code:
cd /var/cache/apt/archives/
sudo dpkg -i xbmc-bin_VERSION-hardy1_i386.deb xbmc-data_VERSION-hardy1_all.deb xbmc-skin-confluence_VERSION-hardy1_all.deb xbmc-standalone_VERSION-hardy1_all.deb xbmc-live_VERSION-hardy1_all.deb

You can grab any rev crystal you want by issuing (sub the rev number you want for XXX)

Code:
svn checkout http://crystalhd-for-osx.googlecode.com/svn/trunk crystalhd-rXXX

then just use the standard mak/install procedure:

Code:
cd crystalhd-rXXX/crystalhd/linux_lib/libcrystalhd
make
sudo make install
cd ../../driver/linux
autoconf
./configure
make
sudo make install
sudo modprobe crystalhd

Now all you need to do is choose the versions you want to go back to. Don't forget that older xbmc builds probably won't (although they might) work with the newer revisions of crystalhd - if you're going really far back, then you'll need probably experiment with which driver will work with an old build. Plus you'll maybe have to remove addons.db if your addons stop working properly - xbmc will regenerate it according to the way it used the file at the time.....

.... I would personally update xbmc to rc2 first with crystalhd r161... I found this works pretty well on karmic - probably the same on Hardy as well. If not, just follow the steps above anyway to get back to where you were happy....

Jim


- kkillebrew - 2010-12-03

The directions you followed will download the latest trunk version of crystalHD, not r156, and then place it in a direcory called crystalhd-r156. This is okay though because the most current versions of xbmc-live via apt-get and crystalHD (r174 as of this post) are very stable with 1080p 60hz if you stay with the confluence skin (low memory use) and disable "adjust display rate to video" under System->Video->Playback. I have three ATV's all configured like this from pin's minimal image, two running from the hard disk and one from USB, and they are smooth, stable, and fully functional at 1080p and with files as large as 9gb. Running at 24p is okay sometimes, but over all can cause system hangs and jerkyness in my experience.

Also if you've used parted to mod your USB stick or to transfer the image to hard disk be sure your swap file is mounting by running free -m. If it's not then edit /etc/fstab and hard code it in with /dev/sdx paths instead of the UUID.

Hope some of this helps.

Flow01 Wrote:Hey there,

i used the minimalised Disk Image by pin87a and it worked just fine until i upgraded to rc1 and crystalhd 156 following these instructions:

http://forum.xbmc.org/showpost.php?p=571919&postcount=668

Now, 1080p playback is very choppy. 720p works just fine.

Here is my log file:

http://codeviewer.org/view/code:14a2

I even tried a work around for the audio errors: switched to analog audio out - no effect.

Any help please? Smooth 1080p playback as in pin87as image would be really nice.

Thanx.



- kkillebrew - 2010-12-03

Assuming you've removed the internal wireless N for your crystalHD card you'll have to install the USB image on your internal hard drive to free up the USB port, or try a usb expansion device. Then just get a linux compatible USB wireless stick.

illiac4 Wrote:Thank you very much. I was blind and did not see that it is eth1 and not 0.

--------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1
----------------------------

Now i'd like to ask if it is possible to install wireless card? If it is, i'd really appreciate some basic hints. TNX



- Flow01 - 2010-12-03

thanx for your help.

RC2 and crystalhd 176 didn' t work.

Going back to the old version right now.


- diegoap - 2010-12-05

Philmatic Wrote:You need to upgrade to at least r156 of the CrystalHD firmware/library/driver:
Code:
svn checkout --revision 156 http://crystalhd-for-osx.googlecode.com/svn/trunk crystalhd-r156
cd crystalhd-r156/crystalhd/linux_lib/libcrystalhd
make
sudo make install
cd ../../driver/linux
autoconf
./configure
make
sudo make install
sudo modprobe crystalhd
cd ../../../../
sudo rm -rf crystalhd-r156/

Then just reboot and the option should be available in XBMC again.


Great

Thanks !!!


- ceraz - 2010-12-06

A real newbie question ....

I copied the image on the first post to a USB stick (Windows usbit program). A Kingston traveller 8GB.

The ATV won't boot from the stick. Is there a pre-requisite to make the usb stick bootable ?

Thx

PS: It's not an ATV issue as it has been patched with anthoer pen drive using atv usb creator


- Sam.Nazarko - 2010-12-06

How won't it boot? - be more specific.


- ceraz - 2010-12-06

Sam.Nazarko Wrote:How won't it boot? - be more specific.

I just copied the img file which puts two partitions and a swap file on the stick.
Then I simply insert the USB stick in the port and reset the ATV.

I get the Apple logo, then it asks me to restart or factory reset. I select restart and it boots from the internal HD into AppleTV OS instead of the USB stick.

Do I need to add something special on the USB stick to make it bootable?


- Hudson_Hawk04 - 2010-12-06

with your usb image tool did you remember to restore your image? I forgot that a few times myself. I have also been reading that generally the atv does not really like flash drive over the 2gb mark.