handdator

Visa fullständig version : Får inte igång mgcamd längre.



card
2010-05-01, 09:42
har redigerat newcamd.list i mappen
/PLUGINS/OpenXCAS/mgcamd
med mina CWS rader.

Även openxcas.conf i samma mapp med denna config
[module]
name = mgcamd
daemon = mgcamd
version = 1.35
# argument = -a 3
api = yes
wait = 15sec

Filen module.seq i mappen /PLUGINS/OpenXCAS
Har jag skrivit mgcamd


Har lagt in mgcamd_v1.35a_azbox manuelt som länkas i en annan tråd.
Har funkat tidigare med sedan jag la in nyaste FW (azbox-0.9.4829-patch.bin) på boxen går den inte igång.
Vad har jag missat?

Även testat att ladda ner den via plugin menyn, men inte lyckats något bättre där.

wba
2010-05-03, 12:07
Har du avaktiverat multicas i pluginmenyn?

card
2010-05-03, 17:02
Har du avaktiverat multicas i pluginmenyn?

jepp

wba
2010-05-03, 20:17
prova starta mgcamd manuelt
starta ett dos fönster skriv telnet ipadress till azboxen då frågar den efter
mmplogin = root
pass=azbox

skriv sen ps
då ska det se ungefär såhär.
MMP login: root
Password:

MMP[~]$ ps
PID Uid VmSize Stat Command
1 root 404 S init
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [khelper]
5 root SW< [kthread]
6 root SW< [kblockd/0]
9 root SW< [khubd]
58 root SW [pdflush]
59 root SW [pdflush]
61 root SW< [aio/0]
64 root SW< [xfslogd/0]
65 root SW< [xfsdatad/0]
66 root SW< [xfsbufd]
60 root SW [kswapd0]
62 root SW [cifsoplockd]
63 root SW [cifsdnotifyd]
649 root SW< [cqueue/0]
650 root SW< [kseriod]
691 root SW [mtdblockd]
781 root SW [kjournald]
787 root SW [kjournald]
790 root SW [kjournald]
792 root SW [kjournald]
829 root 184 S udhcpc -n -p /var/run/udhcpc.eth0.pid -i eth
841 root 376 S /sbin/getty -L ttyS0 115200
857 root 744 S /MMP/usr/sbin/sshd
859 root 388 S /MMP/usr/sbin/vsftpd /MMP/etc/vsftpd.conf
863 root 272 S telnetd
882 root DW [scard]
908 root 788 S /MMP/usr/bin/JIPC_Server
910 root 788 S /MMP/usr/bin/JIPC_Server
911 root 788 S /MMP/usr/bin/JIPC_Server
912 root 788 S /MMP/usr/bin/JIPC_Server
938 root 11116 S /MMP/usr/bin/SDecoderServer
943 root 824 S /MMP/usr/bin/ir_control -td210
944 root 2292 S /MMP/usr/bin/file_control
945 root 8812 S /MMP/usr/bin/CRTVCore
946 root 776 S /MMP/usr/bin/CRTVSetup
950 root 2292 S /MMP/usr/bin/file_control
951 root 2292 S /MMP/usr/bin/file_control
952 root 2292 S /MMP/usr/bin/file_control
953 root 2292 S /MMP/usr/bin/file_control
961 root 8812 S /MMP/usr/bin/CRTVCore
962 root 8812 S /MMP/usr/bin/CRTVCore
976 root 1216 S /EMU/OpenXCAS/mgcamd/mgcamd
983 root 8812 S /MMP/usr/bin/CRTVCore
985 root 8812 S /MMP/usr/bin/CRTVCore
986 root 8812 S /MMP/usr/bin/CRTVCore
987 root 8812 S /MMP/usr/bin/CRTVCore
988 root 8812 S /MMP/usr/bin/CRTVCore
989 root 8812 S /MMP/usr/bin/CRTVCore
993 root 8812 S /MMP/usr/bin/CRTVCore
996 root 17640 S < /MMP/usr/bin/DStar
998 root 1216 S /EMU/OpenXCAS/mgcamd/mgcamd
1000 root 1216 S /EMU/OpenXCAS/mgcamd/mgcamd
1001 root 1216 S /EMU/OpenXCAS/mgcamd/mgcamd
1003 root 11116 S /MMP/usr/bin/SDecoderServer
1004 root 11116 S /MMP/usr/bin/SDecoderServer
1005 root 11116 S /MMP/usr/bin/SDecoderServer
1023 root SW< [rpciod/0]
1028 root 17640 S < /MMP/usr/bin/DStar
1029 root 17640 S < /MMP/usr/bin/DStar
1031 root 964 S JPlugins
1040 nobody 444 S /MMP/usr/sbin/vsftpd /MMP/etc/vsftpd.conf
1042 root 500 S /MMP/usr/sbin/vsftpd /MMP/etc/vsftpd.conf
1043 root 1112 S -sh
1049 root 400 R ps
kolla om mgcamd är startad

Är dom startade måste du döda processerna först med kill
i det här fallet kill 998 dödar mgcamd.

Vill du starta den sen skriv:
cd /EMU/OpenXCAS/mgcamd/
skriv sen
./mgcamd
Då ser du vad som händer i dosfönstret och kan få en massa felmeddelanden.

card
2010-05-03, 20:59
Satt en # framför mgcamd i filen module.seq och startade upp den manuelt och får då upp detta.


AZBox[~]$ cd /EMU/OpenXCAS/mgcamd/
AZBox[mgcamd]$ ./mgcamd
tuxbox mgcamd v1.35 by mixvt (compiled Jan 20 2010 21:34:06)
[mg] Net:32:7:0:5s Show ecm:1, emm:1 Up:1 Au:2 Dir:0 Osd:no:80:0 Cache:7 Log:3:172.16.1.1:28007 Reread:0
[mg] Ecm cache time: 15
Box type: azbox
Conax.Key error 2: No such file or directory
SoftCam.Key error 2: No such file or directory
AutoRoll.Key error 2: No such file or directory
Conax.Key error 2: No such file or directory
line 1 C: parse error 1
[OPENXCAS_API:Mon May 3 20:14:12.344] openxcas_open:285 ## mgcamd
[OPENXCAS_API:Mon May 3 20:14:12.350] load_xcas_control:98 ## loaded controller ID = 0x19760507
[OPENXCAS_API:Mon May 3 20:14:12.357] openxcas_create_channel:34 ## (mgcamd)
[OPENXCAS_API:Mon May 3 20:14:12.365] openxcas_module_open_channel:86 ## (mgcamd)
osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101
key(54c4d100), msgflg(448)
key(54c4d101), msgflg(448)
[OPENXCAS_API:Mon May 3 20:14:12.380] openxcas_adaptor_open_channel:221 ## (mgcamd)
osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101
[mgcam] emm thread started
[cccamd] My nodeID 1b2d2873b0bade05


Testa att byta till filern från denna mgcamd "mgcamd_v1.35a_azbox.zip" från denna sida (http://np-ulc.net/index.php?order=mod&direction=1&directory=01.-%20Receiver/AzBox/AzBox%20HD/4.-%20Emus)
Då ser det ut så här istället.


AZBox login: root
Password:
AZBox[~]$ cd /EMU/OpenXCAS/mgcamd/
AZBox[mgcamd]$ ./mgcamd
tuxbox mgcamd v1.35 by mixvt (compiled Jan 20 2010 21:34:06)
[mg] Net:1:3:0:10s Show ecm:1, emm:1 Up:2 Au:3 Dir:0 Osd:no:80:0 Cache:0 Log:0:172.16.1.1:28007 Reread:0
[OPENXCAS_API:Mon May 3 20:43:19.128] openxcas_open:285 ## mgcamd
[OPENXCAS_API:Mon May 3 20:43:19.135] load_xcas_control:98 ## loaded controller ID = 0x19760507
osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101


Och sedan bytta jag ut mg_cfg
från denna

# 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: { 01 }

# 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: { 01 } 0x12c0

# 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: { 32 }

# 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 } 5 30

# 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: { 00 }

# 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: { 00 } 172.16.1.1 28007 /tmp/mgcamd.log

# 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: { 07 }

# 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: { 04 }

# 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: { 00 }

# map all 180x nagra caids to 1801
# default is 01
F: { 00 }till denna


# EMM messages
# 00 don't show any EMM's (default)
# 01 show only valid EMM's
# 02 show valid and bad EMM's with complete data display
M: { 01 }

# ECM messages
# 00 don't show any ECM's
# 01 show only valid ECM's (default)
# 02 show valid and bad ECM's with complete data display
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: { 03 }

# key update
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
U: { 02 }

# key files folder
# 00 keyfiles in /var/keys
# 01 keyfiles in /var/tmp
T: { 00 }

# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
G: { 01 }


# network retry, use summ for several options
# 00 disable (default)
# 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
N: { 03 }

# network ecm timeout in seconds
K: { 10 }

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

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

# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
O: { 00 }

# on screen display Options
# 03 default
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
S: { 03 }

# Log options
# 00 Off (default)
# 01 Network
# 02 console
# 03 both
L: { 00 } 172.16.1.1 28007

# cache ecm pids and data used to open channels,
# store pids in /tmp/ca_cache.list at exit, load at startup,
# same syntax as restore.list
# 00 Off (default)
# 01 Ecm pids cache
# 02 Ecm data cache
# 03 both caches
H: { 00 }

# reread files on zap:
# 00 No (default)
# 01 config (including priority and ignore, but not replace/cache)
# 02 config and keys
# 03 both
R: { 00 }

# debug
# 00 off (default)
# 01 on
D: { 00 }Då loggar jag in på cs servern, men går över till "idle session" efter 30 sec och får ingen bild.

beson
2010-05-04, 17:34
Sätt box type på 12 med mgcamd 1.35

# 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: { 12 }

och sätt AU på 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: { 01 }

beson

dennisl
2010-05-05, 10:11
är det inte CWS raden som är fel när man får detta felet?

key_request 0x54C4D100 key_response 0x54C4D101