intre cele 2 versiuni OpenSAT si cea pentru Méditel, cea din urma pare a fi si cea mai buna.
-rapida in meniu
-rapida in zapping
-inregistrare
-mediaplayer
-un skin dragut
fw vad ca este Ready2Go pentru acest DTH, autoconectare la NETBOX-ul Méditel(autentificare retea, bouquet TV preinstalat)
-functia de autoupdate si bachup.
DISK2/etc/Meditel/fwchecker:
Code:
#!/bin/sh
###########################################################################
# MEDITEL PUSH Firmware System
# Author: leandro
###########################################################################
BASEURL=http://meditel.azupd.com
WORKDIR=/Download
LAST_REV=$( wget -O- ${BASEURL}/update_lists.txt | head -n 1 )
VERSION=$( echo ${LAST_REV} | cut -d' ' -f 1 | cut -d. -f 3 )
LOCAL_VERSION=$( cut -d' ' -f 1 /MMP/version.txt | cut -d. -f 3 )
#echo "[i] Checking if a new version is AVAILABLE..."
if [ ${VERSION} -gt ${LOCAL_VERSION} ]; then
echo "[i] A new version is available, start upgrading system..."
rm -rf ${WORKDIR}/*
rm -rf /tmp/WriteDir
wget -O ${WORKDIR}/patch.cramfs ${BASEURL}/patch.cramfs
if [ $? != 0 ]; then
echo "[!] Download failed..."
exit
fi
touch /tmp/.need_recovery
cp -af /usr/local /tmp/
cp -af /DISK1/system_tools/rcPatch /tmp/
/sbin/reboot
echo "[i] DONE!"
fi
la instalare fw se administreaza datele wifi/pop3checker/timedat/bouquet TV( # Meditel Checker at BOOT - v.3.0 # 2010.08.20 )
/DISK2/etc/service.d/S10Meditel:
Code:
#!/bin/sh
####################################################
# Meditel Checker at BOOT - v.3.0 # 2010.08.20 #
####################################################
echo -n "==> Checking if the 'pop3.xml' file exists "
if [ -f /DISK2/etc/pop3.xml ]; then
echo "OK"
else
cat > /DISK2/etc/pop3.xml << EOF
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- POP3 Checker Configuration -->
<alert>
<username>Tapez ici votre adresse mail</username>
<password>Tapez ici votre mot de passe</password>
<popserver>Tapez ici l'adresse de votre serveur mail</popserver>
<checktime>5</checktime><!-- time defined in minutes -->
<autostart>no</autostart>
</alert>
EOF
echo "... Restored ..."
fi
#
##
#
echo -n "==> Checking if the 'ra0.script' file exists "
if [ -f /DISK2/ra0.script ]; then
echo "OK"
else
cat > /DISK2/ra0.script << EOF
#!/bin/sh
#WEP/OPEN
#WIRELESS_SSID=MEDITELBOX
#WIRELESS_KEY=MeditelBox
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=OPEN
iwpriv ra0 set EncrypType=WEP
iwpriv ra0 set DefaultKeyID=1
iwpriv ra0 set Key1=MeditelBox
iwpriv ra0 set SSID=MEDITELBOX
EOF
echo "... Restored ..."
fi
#
##
#
echo -n "==> Checking if the 'interfaces' file exists "
if [ -f /DISK2/interfaces ]; then
echo "OK"
else
cat > /DISK2/interfaces << EOF
auto lo
iface lo inet loopback
auto ra0
iface ra0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
pre-up /DISK2/pre-up.ra0
post-down /DISK2/post-down.ra0
EOF
cat > /DISK2/resolv.conf << EOF
search local
nameserver 192.168.1.1
nameserver 0.0.0.0
EOF
echo "... Restored ..."
fi
# Check some files, exit if they already exists
#test -f /DISK2/DVBS.dat || exit 0
#test -f /DISK2/antenna_list.dat || exit 0
# At this point we need to restore the package
echo -n "==> Checking if the 'Meditel' bouquet exists "
if [ -f /DISK2/all_channel.dat ]; then
echo "OK"
else
tar xzvf /DISK2/etc/Meditel/bouquet.tgz -C /
echo "... Restored ..."
fi
#
##
#
echo -n "==> Checking if the 'timer.dat' exists "
if [ -f /DISK2/timer.dat ]; then
echo "OK"
else
cp -f /DISK2/etc/Meditel/timer.dat /DISK2/
echo "... Restored ..."
fi
exit 0
pentru o instalare cat mai curata:
0.revenire la setari de fabrica pe fw curent, introduceti Flash USB cu noul fw(vezi pct.9.1 )
1.se instaleaza noul fw.
2.revenire la setari de fabrica(se va restarta)
3.se seteaza parametrii internet si servicii internet(Telnet server = Enabled)
4.se lasa in meniu [Settings]
5.in telnet dam comenzile de clean DOM(MMP,Plugins,DISK2):
Code:
mount -o remount,rw -t ext3 /dev/hda1 /MMP
rm -rf /PLUGINS
rm -rf /DISK2
rm -rf /MMP
sync
vor aparea cateva erori normale "busy" acestea fiind montate si in lucru!
6.Power OFF de la butonul din spate
7.Introduceti USB Flashul cu patch.bin pregatit
8.Power ON
9.Reinstalam din nou noua versiune fw.
Code:
Format application Area
upgrade USB
9.1.Nu scoateti Flashul USB, ca metoda de siguranta il lasati pana face reboot si dam:
Code:
Reboot without upgrade
10. Incarcam setarile bachup( in caz ca s-au facut):
DISK2:
Code:
all.channel.DAT
antenna_list.DAT
DVBS.DAT
genre.DAT
country.DAT
pentru terestru:
DVBT.DAT
DVBTa.DAT
pentru cablu:
DVBCa.DAT
DVBC_ger_a.DAT
DVBC_ger.DAT
DVBC_bra.DAT
hostaname(daca a-ti personalizat)
inadyn(daca se lucreaza cu el)
2.PLUGINS
3.etc...