How to setup Mbox 0.5_7, step-by-step!

elgeneral

Well Known Member
Messages
7,811
From Mbox EX-YU forum, the results of the discussion there, with various files one needs, to compare, configure, setup and learn:

OKI, here is what I did with 0.5_7 for AZbox HD:

Following the info put by mower, dosenbrod, encounter, helder and Tinos, I edited my files for Mbox 0.5-7 a... FW 1621.

So, I deleted all the Plugins/EMUs and checked it's all gone with FilleZilla FTP client. Then, re-downloaded/re-installed the OpenXCAS and rebooted, as pr2 warned, then installed MultiCAS, MGcamd and NewCS - all of them online.

========================================================

Then, I installed the Mbox, the best I could. However, some advice was a bit - out of sorts... Linux, I am told, has no "single strictly right or wrong way", as there are always more "correct" or "successful" ways to do the same thing... "0 sec waiting" or "10 or more" one even put 13 secs [which I used], API advice, what exacly to put for which module in/for those "less known/less agreed on" functions etc. You need to play around a bit...

First dosenbrod's advice:

Code:
make a Folder named Mboxcas, put all nessesary Files in it like Mbox.cfg,ident.info,ignore.list,o f course mbox_module himself, the only one, who need Rights 755

Then make an openxcas.conf File,also in this Folder

- In openxcas.conf comes the following:

[module]
name = MboxCAS
daemon = mbox_module /EMU/OpenXCAS/MboxCAS/mbox.cfg
version = 0.23 4th

(later there comes AP= yes or no and Wait= 0 or 10 Seconds and maybe more)

So, I made the MboxCAS folder via FilleZilla FTP client, as instructed [but better, as Linux is case sensitive, so it ought to be MboxCAS, not Mboxcas, as dosenbrod said] in OpenXCAS folder. I copied mbox_module, mbox.prio, port.list, ident.info and knows.ini [the last two I got from my old GBox] into it. Given the rights [CHMOD to 755] for mbox_module only.

In it I made the openxcas.conf - using my UE32 editor - and in it I put, according to Mower's advice:

Code:
[module]
name = MboxCAS
daemon = mbox_module
version = 1.00

Save the file and copy to /EMU/OpenXCAS/MboxCAS/ where is mbox_module is.

A bit confusing, as this is 0.5_7 version but hey... he said so!

Dosenbrod also stated:

Code:
Now config your mbox.cfg and cwshare and all will work without any .sh File

Important Paramters in Mbox.cfg are:

- T: { /tmp/ }

- K: { /EMU/OpenXCAS/MboxCAS/ }

- P: { /tmp/pmt.tmp }

So, in mbox.cfg (I got the basic file from Mbox v. 0.5_7) I put:

Code:
Z: { 13 } { 192.168.x.xxx 8000 } - edited my PC IP address, of course, correctly and added the port, so Black's proggy would work...

Also:

B: { 0 0 0 }

//B: { 1 127.0.0.1 127.0.0.1 } // for local watching over DVB

//B: { x IP_listen IP_send }
//x=0 -> disable local UDP ports 8004-80xx ,this ports are used with DVB cards and gbox plugin (Windows and Linux)
//x=1 -> enable 
//IP_listen -> on what IP to wait for PMT and ECMs
//IP_send -> on what IP to send DCW
//default disabled

K: { /EMU/OpenXCAS/MboxCAS/ }

The rest I left as I found it, since it seemed OK.

Then, dosenbrod said:

Code:
next is on Folder up, there is module.seq
- give module.seq a new entry named MboxCAS and save it.

So, I did that.

Should there be an openxcas.conf in OpenXCAS folder as well, not just in each EMU folder, guys???

To recapitulate...

My MboxCAS folder contains:

cwshare.cfg which looks like this [please comment, if you know/can...]:
Code:
################################# #
# Mbox cardsharing config file #
################################# #
# CaID
#H: { 091F0FF3 }
# Send ECM's at maximum 5 cards (please use this as default)
X: { 8 }
# Preffered cards ids (up to 32)
#X+: { 09610000:5 }
#X+: { 093B0000:10 }
#X+: { 0B000000:5 }
# max card's distance to use for ecm
I: { 3 }
#*** system ->Resending ECM(s) on timeout interval
#N: { 400 200 }
N: { 01 01 01 00 400 200 }
#*** system ->Resending ECM(s) on timeout interval
#
#4000 (4 seconds)-> resend current ecm on boxid if no dcw
#2000 (2 seconds)-> wait 2 more seconds for dcw ,if no dcw on time resend ecm(s) to all boxid's
#
O: { 6000 4000 }
#Connecting to newcamd server program Newcs
#
M: { myown.dyndns.org { mypassword}}
#
G: { mypeer.dyndns.something { our ports { hispassword { A2 A2 }}}}
G: { mypeer.dyndns.something { our ports { hispassword { A3 A3 }}}}
ident.info

knows.ini

mbox.cfg
mbox.prio

mbox_module [CHMOD 755] 0.5 v.7
openxcas.conf
port.list


All of them are attached to this message! Some of them you will need to edit, as carefully described above!

My OpenXCAS folder contains:

the 4 modules [MultiCAS, NewCS, MGcamd and Mbox]
sh folder [delete, install, start, stop]
addons.conf [empty]
module.seq

Code:
MboxCAS
#mgcamd
#MultiCAS
#newcs

openxcas.conf

Code:
[modules]
count = 4
active_auto = true
active_1 = MultiCAS
active_2 = newcs
active_3 = mgcamd
active_4 = MboxCAS

[module_1]
name = MultiCAS
daemon = emu_module
version = 1.57C

[module_2]
name = newcs
daemon = newcs
argument = -nd
version = 1.6
xcasapi = FALSE

[module_3]
name = mgcamd
daemon = mgcamd
version = 1.32
# argument = -a 3

[module_4]
ap= Yes
name = MboxCAS
daemon = mbox_module /EMU/OpenXCAS/MboxCAS/mbox.cfg
xcasapi = TRUE
wait=13 sec
version = 0.5-7

If you still can't get it to run try this, thanx to helder:

Telnet commands [you can use PuTTy, which is free] to start the Mbox are [thanx o Mower!]:

Code:
just ,

cd /EMU/OpenXCAS/MboxCAS/

chmod 755 mbox_module

./mbox_module

that's all

So, start the PuTTy, log in with root as username, azbox as password, then the above 3 commands to kick-start Mbox and you'll see the traffic/log/what's going on...

It is working, if a bit choppy. But I am sure that Mower will get there in the end...

Good luck!!


Thanks to goran
 
Top