05 июля | 2024г. | 21:47:40


АвторТема: Эмулятор MGcamd платформы mipsel (Обсуждение) (part 2)  (Прочитано 186574 раз)

0 Пользователей и 10 Гостей смотрят эту тему.

Оффлайн Diamond69

  • Падаван
  • *
  • Сообщений: 27
  • Поблагодарили: 2
  • Уважение: 0
и от куда вы скачивали сам эмуль mgcamd1.38c
Точно уж не помню, вроде здесь, название архива: "mgamd-1.38c-vti.tar.gz"
Размер mgсamd_1.38c 695308 байт
Спойлер   mg_cfg рекомендованый ш@родателем::
# EMM messages
#    00 don't show any EMMs (default)
#    01 show only valid EMMs
#    02 show valid and bad EMMs with complete data display
M: { 00 }

# ECM messages
#    00 don't show anything about ecm
#    01 normal mode, show pids processed, decoded ecm and cw
#    02 verbose mode, show valid and bad ECMs with data
C: { 01 }

# AU
#    00 disable, no emm pids processed
#    01 enable, emm pids always processed for soft-au and shared cards
#    02 auto, emm started only if channel cant be decoded
#    03 process emm pids for network cards update only
A: { 02 }

# key update (sum 01 or 02 with 04)
#    01 update only new keys, default setting
#    02 update all keys (used for valid PMK checking)
#    04 enable TPS au
#    + tps SID, which pmt pid contains au pid
U: { 05 }

# config files folder (softcam, autoroll, ignore/priority)
#    00 files in /var/keys
#    01 files in /tmp
T: { 00 }

# network mode, use summ for several clients
#    00 no network (default)
#    01 newcamd netclient
#    02 radegast netclient
#    04 camd3 netclient
#    08 gbox netclient
#    32   cccamd netclient, card list saved as /tmp/cccamd.info
#       (ECM only, supported server version up to 2.1.1, later not work)
G: { 01 }

# network retry, use summ for several options
#    00 disable
#    01 retry every new ecm
#    02 try to connect to offline shares every Q: seconds
#    04 try to detect and fast reconnect to lost (and not used atm) server
#    + XX messages number and YY seconds to reconnect
#    mg will reconnect to server, if no answer to last XX ecm/keepalive or
#    if no answer for last ecm or keepalive sent for YY seconds
#    set to 0 to disable
N: { 07 } 10 60

# network ecm timeout in seconds
K: { 05 }

# newcamd dead routes connect retry, sec
Q: { 600 }

# network shares priority
# 00 gbox, newcamd, cccamd, radegast, camd3 (default)
# 01 camd3, radegast, cccamd, gbox, newcamd
# 02 cccamd, newcamd, camd3, gbox, radegast
P: { 02 }

# on screen display type
#    00 No OSD (default)
#    01 neutrino
#    02 enigma
#    03 relook
#    + user password for http auth
O: { 00 } username password

# on screen display Options, summ of:
#    01 show emu ecm
#    02 show network shares messages
#    04 show decoding failed / fta
#    08 show emm keys update
#    + web port to use for osd
S: { 03 } 80

# Log option, summ of:
#    00 off
#    01 network udp log
#    02 log to console
#    04 file, appended ! delete it by yourself, before it eat all your hdd
#    + IP udp-port log-file-name
L: { 01 } 192.168.150.11 514

# keep ecm cache, seconds
# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
# for openbox/elanvision users with remote shares make sense to set it higher than default value,
# to not hammer cards while timeshifting or playing crypted recordings.
E: { 15 }

# cache option, summ of:
#    00 Off (default)
#    01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
#    02 Ecm data cache, remember CW for (E:) time
#    04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 03 }

# reread files, summ of:
#    00 No (default)
#    01 reread config file on channel change (including priority and ignore, but not replace/cache)
#    02 reread SoftCam.Key on channel change
#    04 reread SoftCam.Key if file changed
R: { 00 }

# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 00 }

# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
# 06 dreambox/mips
# 08 stapi/kathrein
# 09 stapi/ipbox
# 11 stapi/openbox
B: { 06 }

# map all 180x nagra caids to 1801
# default is 01
F: { 01 }
В /usr/script лежит:
Спойлер   MgCamd1.38c.sh:
#!/bin/sh
#########################################################
#####             Powered by Vu+ Russian Team       #####
####                    https://gisclub.tv            ####
#########################################################


EMUNAME="MgCamd1.38c"

remove_tmp () {
   rm -rf /tmp/*.info* /tmp/*.* /tmp/.emu.info
}

case "$1" in
   start)
   echo "[SCRIPT] $1: $EMUNAME"
   remove_tmp
   touch /tmp/.emu.info
        echo MgCamd1.38c > /tmp/.emu.info
   /usr/bin/mgcamd_138c
   ;;
   stop)
   echo "[SCRIPT] $1: $EMUNAME"
   killall  mgcamd_138c
   remove_tmp
   ;;
   restart)
        $0 stop
   sleep 3
        $0 start
        exit
        ;;
   *)
   $0 stop
   exit 0
   ;;
esac

exit 0
Может скрипт некорректный?  Раньше, на  VTI 6.x.x, насколько я помню был другой скрипт, поменьше. Только не нахожу что-то его, что бы сравнить.
работает точно по расписанию.
Не понял... По какому расписанию?



Теги:
 

Похожие темы

  Тема / Автор Ответов Последний ответ
1486 Ответов
531254 Просмотров
Последний ответ 22 февраля | 2019г. | 00:05:15
от Ser6
1498 Ответов
518615 Просмотров
Последний ответ 09 января | 2016г. | 00:02:51
от Ser6
237 Ответов
91034 Просмотров
Последний ответ 28 мая | 2022г. | 13:10:15
от tyts
958 Ответов
434745 Просмотров
Последний ответ 10 мая | 2024г. | 20:21:53
от gera5
229 Ответов
111881 Просмотров
Последний ответ 06 ноября | 2023г. | 12:33:49
от ВАНЮША



X

Добро пожаловать!

Мы заметили, что у Вас установлено расширение AdBlock или ему подобное. Пожалуйста добавьте наш Клуб в белый список, внесите этим посильную лепту в его развитие. Спасибо!