newCamd set up

adrray1974

Registered
Messages
16
Trying to get a connection set up to a newCamd server, and require some help please.

Either using a N: line or newcamd: line.

Have tried various options, but will resort to re-flashing AzBox HD to latest firmware and starting again.

Help with config files etc would be appreciated.

Thanks
 

gorski

Well Known Member
Messages
1,553
Try my Alternative Guide thread for starters... the last one at the bottom... ;)
 

adrray1974

Registered
Messages
16
if that is the one modded on 09/08/2009 have downloaded that one already. Intend to start from scratch tomorrow morning. Just need to know if there is a particular emu that works best?
And exactly where to put the lines in with the emu.
Also, from what i see in the AZBox HD, once the plugin is active there is nothing you need to do to tell the AZBox to use this plugin on each channel is there?

Thanks for the response as well.

Adi
 

adrray1974

Registered
Messages
16
thanks for that, have d/loaded and will look at in the morning. Is there a stable EMU that you could recomend to use with newCamd servers??

Adi
 

adrray1974

Registered
Messages
16
Can anyone help with this please, using MboxCAS (latest version)


Code:
AZBox[MboxCAS]$ ./mbox_module
AZBox[MboxCAS]$ [08:04:11] Checking for priority file ... total priority lines 3
2
[OPENXCAS_API:Mon Oct 12 08:04:12.064] load_xcas_control:98 ## loaded controller
 ID = 0x19760507
osdep_msq_server_open : key_request 0x2FE78453 key_response 0x2FE78454
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x2FE78453 key_response 0x2FE78454
[08:04:12] ExYuSAT Team  http://www.exyusat.com , http://mbox.exyusat.com/index.
php
[08:04:12] Starting MBOX version 0.6 BETA (build 0010) coded by The_Ripper
[08:04:12] This program is for educational & informational purposes only!!
[08:04:12] Donation to project: http://mbox.exyusat.com/donate.htm
[08:04:12] [ Box ] Azbox Elite/Premium HD Box
[08:04:12] ===> Net Mode <===
[08:04:14] Reading cwshare.cfg ...
[08:04:14] Trying to get online,please wait ...
[08:04:14] Total 2 newcamd server(s) to connect
[08:04:14] Creating ecm parser thread ...OK
[08:04:14] Creating openxcas API receive thread ...OK
[08:04:14] Creating timer thread ...OK
[08:04:14] Creating newcamd worker thread ...OK
[08:04:14] [NEWCAMD] Trying to connect to newcamd server (dyns.dyns:660
4)
[08:07:23] [NEWCAMD] No response from server dyns.dyns
[08:07:23] [NEWCAMD] Trying to connect to newcamd server (dyns.dyns:660
6)

Have hidden the address with dyns.dyns and have confirmed that the server is running.

Adi
 

adrray1974

Registered
Messages
16
All sorted now, one question, what port does MboxCAS use incoming???? Had to put my AZBox HD in the DMZ on the firewall to get it talking to the newCamd server!, after that it all talks!!

Happy chappy for now

Adi
 

gorski

Well Known Member
Messages
1,553
How about sharing with us what you did, like we did with you?

That's the whole point, the ethos of forums like this one!!!

In detail, please, files and all...

The we can help further...

Have I misunderstood: you have a smart card/local card - or not? In that case Newcamd connection ought to be a local one, to your NewCS, not over the net, I think... Or...?

Here is a bit about it...

Thanx to Ribolovac from EX-YU forum [my translation and edit]:
Let me add, re. the C lines:

C lines are, in fact, the connections to the NewCS server, either from your local NewCS (local cards) placed in the AZbox HD or from other boxes.

But what I wanted to mention is: if you want to your peer to see your local card, read by the NewCS, then he C line in cwshare file must start with a local IP, i.e. 127.0.0.1.

In any other case, like DNS or an IP adres, like 192.168.xxx.xxx, the card won't be seen as local, provided that the card is in your box, which has installed both Mbox and NewCS.
 
Last edited:

adrray1974

Registered
Messages
16
OK, here is how to Configure the MboxCAS to connect to a newCamd server (not local, i.e you have no cards what so ever!)

Download the latest version of MboxCAS
Extract files to your desktop

You only need the following files:
cwshare.cfg
mbox.cfg
mbox.sh
mbox_module
openxcas.cfg

Now using a Editpad Lite (or your own pref) edit cwshare.cfg as follows:

Code:
//Connecting to newcamd server program Newcs 
//==========================================
C: {mydyns.dyns PortNo user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } {10} [COLOR="Red"]<-- i changed this to 100[/COLOR]
#C: { 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } { 10 } { 01000065:01000068;}
  
//example:
//C: { server_ip server_listening_port username password des_key } { x } { xxxxyyyy:xxxxyyyy;......} 
//C: { 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } { 10 } { 0100006a:0100006B;}
//[second brascet] -> { x }  max. number ecms in buffer ,decimal !!!!!
//[third brascet] { 0100006a:0100006B;} is used if you want to change caidprovid from what newcs detected to caidprovid to use with gboxx protocol so 0100006A will be 0100006B in gboxx protocol
//==========================================


I: { 06 }
X: { 08 }
#N: { 200 100 }


//Resending ECM(s) on timeout interval
//====================================

O: { 4000 2000 }[COLOR="red"]<-- i also changed this to {12000 4000}[/COLOR]

//O: { xxxx yyyy }
//
//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
//==========================================

Close and save this file now.

mbox.cfg does not need editing unless you wish to use the Mbox Control Centre, in which case edit the following line:

Code:
Z: { 12 01 } { [COLOR="Blue"]127.0.0.1[/COLOR] 8000 } Change the IP address in blue to the IP address of the PC you are going to use with the Mbox Control Client

Once the two above have been done, connect to your AZBox HD Premium, i used FileZilla,

in /PLUGINS/OpenXCAS/ you need to create a Folder MboxCAS << make sure it is spelt like this, i made a mistake of putting MBoxCAS!. So you should now have a folder at /PLUGINS/OpenXCAS/MboxCAS

Now copy into that folder the following files from earlier:
cwshare.cfg
mbox.cfg
mbox.sh
mbox_module
openxcas.cfg

I gave chmod 755 to the whole folder and files inside!

Now, go up to the Folder /PLUGINS/OpenXCAS and edit the openxcas.cfg, and put the following in at the top

MboxCAS

Mine looks like this

Code:
MboxCAS
#MultiCAS

save and chmod 755 to this file.

Reboot AZBox HD Premium, and your all set!!

EXCEPT......I had to place my AZBox HD Premium in the DMZ on my router. Not sure what port the MboxCAS needs, when i find out will update.

Hope this is clear enough, and would be happy to answer or help with any questions.


Adi

PS There is no glitching with the Picture, even HD Streams after the channel has been active for about 5 mins
 
Last edited:

gorski

Well Known Member
Messages
1,553
Now, that's rockin'!!!:thum:

You're getting into this, man!!! :D

So, you saw somewhere a free server to hook onto or...?

Because the Q of the port is interesting...

Normally, you contact the guy who has a server, then

-he gives you the port he opens for you in his server

-you forward the port that you will be allowing Mbox to connect to servers and

-you give it to the server, so he knows where/how o connect to your box

[forward it, after naming it; it's UDP for Mbox/GBox/MGcamd, TCP for CCcam, I simply put both, then activate it and SAVE the changes -> reboot the router].

Both bits go to cwshare.cfg.

Voila...
 

adrray1974

Registered
Messages
16
nah, not a free server! He gave me the dyns addy and Port with a user and pass.

Did not give him any details from myself. I have no cards.

Adi

Thanks for the big up with the encouragement!!!!
 

gorski

Well Known Member
Messages
1,553
Right... A pay-server?

In that case [if that is the case, that is], he should have sorted you out... for the money... and not us, enthusiasts...:rolleyes: working for his profit...:( Fu*k him, man!!!!!!!!!!!!!!!!!!!!!!:mad:

If it isn't the case and he is a friend/enthusiast/good soul, then just open the very same port he gave you, as described by me... you know where... ;)

Good luck!!!:cool:
 

adrray1974

Registered
Messages
16
OK, here is how to Configure the MboxCAS to connect to a newCamd server (not local, i.e you have no cards what so ever!)

Download the latest version of MboxCAS
Extract files to your desktop

You only need the following files:
cwshare.cfg
mbox.cfg
mbox.sh
mbox_module
openxcas.cfg

Now using a Editpad Lite (or your own pref) edit cwshare.cfg as follows:

Code:
//Connecting to newcamd server program Newcs 
//==========================================
C: {mydyns.dyns PortNo user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } {10} [COLOR="Red"]<-- i changed this to 100[/COLOR]
#C: { 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } { 10 } { 01000065:01000068;}
  
//example:
//C: { server_ip server_listening_port username password des_key } { x } { xxxxyyyy:xxxxyyyy;......} 
//C: { 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } { 10 } { 0100006a:0100006B;}
//[second brascet] -> { x }  max. number ecms in buffer ,decimal !!!!!
//[third brascet] { 0100006a:0100006B;} is used if you want to change caidprovid from what newcs detected to caidprovid to use with gboxx protocol so 0100006A will be 0100006B in gboxx protocol
//==========================================


I: { 06 }
X: { 08 }
#N: { 200 100 }


//Resending ECM(s) on timeout interval
//====================================

O: { 4000 2000 }[COLOR="red"]<-- i also changed this to {12000 4000}[/COLOR]

//O: { xxxx yyyy }
//
//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
//==========================================

Close and save this file now.

mbox.cfg does not need editing unless you wish to use the Mbox Control Centre, in which case edit the following line:

Code:
Z: { 12 01 } { [COLOR="Blue"]127.0.0.1[/COLOR] 8000 } Change the IP address in blue to the IP address of the PC you are going to use with the Mbox Control Client

Once the two above have been done, connect to your AZBox HD Premium, i used FileZilla,

in /PLUGINS/OpenXCAS/ you need to create a Folder MboxCAS << make sure it is spelt like this, i made a mistake of putting MBoxCAS!. So you should now have a folder at /PLUGINS/OpenXCAS/MboxCAS

Now copy into that folder the following files from earlier:
cwshare.cfg
mbox.cfg
mbox.sh
mbox_module
openxcas.cfg

I gave chmod 755 to the whole folder and files inside!

Now, go up to the Folder /PLUGINS/OpenXCAS and edit the openxcas.cfg, and put the following in at the top

MboxCAS

Mine looks like this

Code:
MboxCAS
#MultiCAS

save and chmod 755 to this file.

Reboot AZBox HD Premium, and your all set!!

EXCEPT......I had to place my AZBox HD Premium in the DMZ on my router. Not sure what port the MboxCAS needs, when i find out will update.
Hope this is clear enough, and would be happy to answer or help with any questions.


Adi

PS There is no glitching with the Picture, even HD Streams after the channel has been active for about 5 mins

The above (underlined italic text) has been resolved. On my router i have placed the port number of the newcamd server i connect to (dyns.dyns:portNo) in both outbound and inbound, outbound allow all, inboud routed to the azbox hd. Protocol UDP/TCP enabled. Works fine now and have disabled the DMZ.

Adi
 
Top