Running Eumetcast on Linux kernel 2.4.

NOTE:This info is based on an old version (2.4) Linux kernel.

Here are some basic commands needed to run Skystar2, Tellique and EKU under Linux. This is NOT a complete installation/run description, just an overview which programs should run.
Use the scripts which come with the software!
For trouble shooting see EUMETCast_trouble_shooting
My kernel is 2.4.20-8.


Skystar2 tuner.

This uses next scripts/programs, present on the Eumetcast-CD of Eumetcast (I am not sure what the situation is right now): Next commands run at boottime: (in script 'b2c2')
load_b2c2 `/bin/uname -r`

This runs:
MODULE_DIR_ROOT=../driver
MODULE_DIR=$MODULE_DIR_ROOT/${1}
/sbin/insmod $MODULE_DIR/$SLL_LIB.o
/sbin/insmod $MODULE_DIR/$SKYNET.o
/sbin/insmod $MODULE_DIR/$B2C2AV.o
/sbin/ifconfig eth1 192.168.238.238 netmask 255.255.255.0 up


b2settuner -a eth1  -i s -f 10853 -s 27500  -l 9750 -e auto -o h -k 0 -d n -pd 100 -pd 300 -pd 301 -pd 302 -pd 500 -pd 510
Next commands may be used by users:
To check receiver:
b2status -a eth1 -ti
To get all info, including selected PID's:
b2status -a eth1
The PID info is unde"IP statistics", e.g.:
****************** IP statistics: ***********************
IP Streams           : 1 open, 1 running
IP PIDs              : Max 33, Current 6 :
         1:0x0064(100)   2:0x012C(300)   3:0x012D(301)
         4:0x012E(302)   5:0x01F4(500)   6:0x01FE(510)

EKU.

Next command runs at boottime:
/usr/local/sbin/etokend

pcscd.

Next command runs at boottime:
/usr/local/sbin/pcscd

Tellique.

Next command may run at boottime or by user
/usr/local/bin/tc-recv -c /home/ralblas/tq/recv.ini

RAMDISK on Linux.

This is a description to set-up a Ramdisk on Linux Redhat 9, in such a way that it automatically starts at boot.

  • In /etc/grub.conf change ramdisk size if needed. For a ramdisk of 130M:
    
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi ramdisk_size=130000
    
    
    This example results in an effective ramdisk of about 122 000 000 bytes.

  • In recv.ini change file_database_size:
    
    file_database_size=120000000
    Note that this number must be less than the actual ramdisk size!

  • Make a script make_ramdisk with following lines: (change user name and location of ramdisk)
    
    /sbin/mkfs -t ext2 /dev/ram0
    /bin/mount /dev/ram0 /home/ralblas/from_msg/receiving/tmp
    /bin/chown ralblas /home/ralblas/from_msg/receiving/tmp
    
    
    Put this script in /etc and make it executable:
    
    chmod +x make_ramdisk
    
    
    In /etc/rc5.d make a link:
    
    ln -s /etc/make_ramdisk S71mkramdisk
    
    
    As a result make_ramdisk will run at boot time.
    Note: prefix S71 is just an example. Scripts in /etc/rc5.d will run in alphabetic order; with the prefix you can determine when the script will run.

    Tellicast info

    Type URL: http://localhost:2517/