I’ve spent the last several hours trying to configure mythtv (Mythbuntu and Knoppmyth) to record my incoming IPTV stream. I haven’t had any success yet, but let me give you my details and hopefully we’ll figure something out.
I have a fiberoptic to the home (FTTH) internet connection, and with that comes IPTV. The IPTV is run through Amino 125 STB’s running Kasenna middleware.
The Amino box is accessible through Telnet. It’s not difficult to connect - I may elaborate later, but once you get the ip of the box, you can use
telnet [ip to box]
login: root
password: root2root
Inside the box is a basic linux directory system and a pretty extensive busybox implementation (Busybox offers basic GNU commands without a complete linux install).
My current issue is an inability to connect my mythtv installation to the IPTV network. I can spoof a MAC from one of the amino boxes using a “hw address” call added to the init script. (more later if you need it).
The problem is that the amino box uses specific network paramaters to request DHCP and I’m having trouble (lots of trouble) getting them right. I telnetted into a running box and set a static interface to mimic the directives (bcast, address, netmask) (I did not specify gateway as I can’t find it again - though I did see it in the config files on the STB).
The bonus is that the config files are all available in simple config scripts available on the STB. If I pull it off the closed Kasenna network I can give it my own DHCP and explore it all day long.
There is a LOT of info on the VLC forums about using these boxes, but like I said, I’m not interested in the box, I’m interested in connecting myth to the iptv stream.
I’m going to add a directory listing of the rc.d files to try to attract some traffic to what I’m doing. If I can find even one person to commit to working with me, I’ll be glad to set up a wiki and do some in-depth documentation.
./init.d:
drwxr-xr-x 5 root root 0 Jan 1 1970 .
drwxr-xr-x 7 root root 0 Jan 1 00:00 ..
drwxr-xr-x 2 root root 0 Jan 1 1970 CVS
-rwxr-xr-x 1 root root 319 Jan 1 1970 mountscript
-rwxr-xr-x 1 root root 989 Jan 1 1970 rc
-rwxr-xr-x 1 root root 922 Jan 1 1970 rc.STBremoteconf
-rwxr-xr-x 1 root root 323 Jan 1 1970 rc.ami_wm
-rwxr-xr-x 1 root root 276 Jan 1 1970 rc.av_router
-rwxr-xr-x 1 root root 1124 Jan 1 1970 rc.bootmcastbootd
-rwxr-xr-x 1 root root 475 Jan 1 1970 rc.ca_app
-rwxr-xr-x 1 root root 493 Jan 1 1970 rc.ca_kmod
-rwxr-xr-x 1 root root 3503 Jan 1 1970 rc.checkforupgrade
-rwxr-xr-x 1 root root 483 Jan 1 1970 rc.cookies
-rwxr-xr-x 1 root root 566 Jan 1 1970 rc.daemon_app
-rwxr-xr-x 1 root root 454 Jan 1 1970 rc.davincistb_gfx
-rwxr-xr-x 1 root root 338 Jan 1 1970 rc.davincistb_os_core
-rwxr-xr-x 1 root root 613 Jan 1 1970 rc.dvbttx
-rwxr-xr-x 1 root root 11009 Jan 1 1970 rc.ethernet
-rwxr-xr-x 1 root root 94 Jan 1 1970 rc.final
-rwxr-xr-x 1 root root 831 Jan 1 1970 rc.finalise_upgrade
-rwxrwxr-x 1 root root 481 Jan 1 1970 rc.gpio_driver
-rwxr-xr-x 1 root root 1166 Jan 1 1970 rc.ir_driver
-rwxr-xr-x 1 root root 662 Jan 1 1970 rc.js_management_pages
-rwxr-xr-x 1 root root 499 Jan 1 1970 rc.linkstate
-rwxr-xr-x 1 root root 302 Jan 1 1970 rc.norflash_driver
-rwxr-xr-x 1 root root 2335 Jan 1 1970 rc.ntpclient
-rwxr-xr-x 1 root root 338 Jan 1 1970 rc.opera
-rwxr-xr-x 1 root root 689 Jan 1 1970 rc.osk
-rwxr-xr-x 1 root root 558 Jan 1 1970 rc.remote_login
-rwxr-xr-x 1 root root 499 Jan 1 1970 rc.smartcard
-rwxr-xr-x 1 root root 288 Jan 1 1970 rc.telnetd
-rwxr-xr-x 1 root root 450 Jan 1 1970 rc.tira
-rwxr-xr-x 1 root root 1456 Jan 1 1970 rc.tistb_av_core
drwxr-xr-x 2 root root 0 Jan 1 1970 rc3.d
drwxr-xr-x 2 root root 0 Jan 1 1970 rc5.d
-rwxr-xr-x 1 root root 743 Jan 1 1970 rcS
Your comments and help are appreciated.
Config (Testing):
1. Set the mythtv MAC to an Amino mac: “ifconfig eth0 inet hw ether ##:##:MA:C#:## up” (you will have to take the network down first.

5 responses so far ↓
1 Robert Verspuy // Jul 15, 2008 at 3:11 am
Can’t you sniff the dhcp packets between the amino and your fiber connection? Then analyzing the dhcp request with wireshark to figure out the differences with a ‘normal’ linux box dhcp ?
2 huanix // Jul 17, 2008 at 10:01 pm
I can (and have) done the sniff, and I tried to replicate the environment, but I was unsuccessful. This project (like everything else) has taken a back seat to the 3g iPhone, but maybe I’ll post a wireshark dump here in a day or so if the 3g jailbreak isn’t released.
3 Keddetteek // Aug 3, 2008 at 10:03 am
Tahnks for posting
4 Immo // Oct 27, 2008 at 1:47 pm
Hi,
Any progress in the project? I’m probably getting iptv in a few monthes and i do not want to use another box (also amino)besides my mediacenter.
5 riaanjvr // Nov 11, 2008 at 2:43 am
It will (or rather should) never work. The incoming IPTV stream is usually encrypted with some form of CAS (conditional access) system using either a soft client or a hardware client. Unless the channels are FTA (Free To Air) they will be encrypted with something like Verimatrix, Widevine, Latens, Conax, Nagravision etc… Content providers are very particular about allowing content to stream over IPTV - they specifically do require CAS.
Leave a Comment