Tutorial completo de uso - MultiCS

Bienvenid@ a elRulo.com
Si todavía no es miembro de la comunidad, regístrese aquí
Registro

VJ_ZamO

Administrador
Miembro del Staff
Registrado
21 Mar 2011
Mensejes
2.817
Puntos de reacción
27
Puntos
48
The Installation is fairly simple for MultiCs ideally your need a reasonable spec of PC running either a basic Debian or Full gui or Ubuntu and i guess and decent Linux Distro ( operating System )


I wont go into detail how to install Debian or Ubuntu these subjects are already widely covered.

Once your operating system is installed or if you prepared or had a pc already running linux below is a guide explaining basic installation.


also you will need a copy of the MultiCs software / installation pack so download from the forum

The following is thanks to shatanar


How to install multics on a pc linux

1 - Extract the zip file into a folder, and move to this folder.

2 - *if you don't have have the directory /usr/local/bin, create it

mkdir -p /usr/local/bin


*For 32bits: copy the file "multics.x32" to /usr/local/bin

cp multics.x32 /usr/local/bin/multics


*For 64bits: copy the file "multics.x64" to /usr/local/bin


cp multics.x64 /usr/local/bin/multics


3 - Once the file has been copied across your need to change the file propriety to be an executable


chmod 755 /usr/local/bin/multics


4 - from where you first copied the install files locate the file "multics.cfg" and copy it to /var/etc


cp multics.cfg /var/etc


After installation edit your config which we will cover in subsequent posts and to get MultiCs running you need to execute the next command:


./multics -b


Also if you want or need to read debug info then use this execute:


./multics -b -v


Please remember you need to be in the same directory as multics to run the execute commands so for reference again run the execute from within


/usr/local/bin

MultiCs A Full Tutorial " The Config File "


Below is a sample of multics.cfg

Have a look through it, its very simple most areas are set out and self explanatory but don't panic if your not sure about any aspect either post or ask here at the CCcam Exchange and we will try and assist, However as the thread goes on I will try to explain a little deeper

################################################## #######
##
## copy this file to /var/etc/multics.cfg
## to run multics with debug type $# multics -v
## to run multics in background type $# multics -b
## to run multics with another config file type $# multics -C /var/etc/newconfig.cfg
##
################################################## ########
## WEB INTERFACE
################################################## ########
#
HTTP PORT: 5500
#
## web user/pass protection
#
# HTTP USER: admin
# HTTP PASS: admin
#
################################################## ########
## CLUSTERED CACHE (Compatible with CSP cache)
################################################## ########
#
#
CACHE PORT: 4444 # cache listen port(udp)
#
CACHE TIMEOUT: 300 # timeout to wait dcw from cache servers if a cacherequest was received.
# friend cacheline (host port)
#
CACHE PEER: myfriend.dns.org 12345
CACHE PEER: localhost 5555
#
################################################## ########
## SERVERS CONNECTIONS (CCCAM+NEWCAMD+MGCAMD)
################################################## ########
##
## CCcam Client version
##
CCCAM VERSION: 2.1.1 # Select cccam client version "2.0.11", "2.1.1", "2.1.2", "2.1.3", "2.1.4" (default: 2.0.11)
##
## Change you clientid (in hex) by default it is Generic
#NEWCAMD CLIENTID: 4343 # Mgcamd(6D67).newcs(6E73).Evocamd(6576).CCcam(4343) ...
#
################################################## #########

C: localhost 12000 user pass # get all local cards with reshare or not.
C: 192.168.1.100 12000 user pass
C: mydyndns.no-ip.org 12000 user pass
N: localhost 10001 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14
N: 192.168.1.100 10003 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14
N: mydyndns.no-ip.org 10002 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14

################################################## ########
## PROFILES
################################################## ########

################################################## ########
## PROFILES DEFAULT VALUES
################################################## ########
#
## default profile options
#

DEFAULT KEY: 01 02 03 04 05 06 07 08 09 10 11 12 13 14
DEFAULT DCW TIME: 0
DEFAULT DCW TIMEOUT: 5500
DEFAULT DCW MAXFAILED: 10
DEFAULT SERVER MAX: 0
DEFAULT SERVER INTERVAL: 1000
DEFAULT SERVER TIMEOUT: 3500
DEFAULT SERVER VALIDECMTIME: 2000
DEFAULT RETRY NEWCAMD: 0
DEFAULT RETRY CCCAM: 0
#DEFAULT CACHE TIMEOUT: 300


################################################## #########
## Global Users, must be defined before the first profile

USER: guser1 gpass1 # for all profiles
USER: guser1 gpass1 { 5501, 5502 } # selected profiles by port list



##############################
[0002-0963]
##############################
PORT : 12015
CAID: 0963
PROVIDERS: 000000
ONID: 2
SERVER INTERVAL: 100
SERVER TIMEOUT: 1800
#SERVER VALIDECMTIME: 700


##############################
[0056-090f] #
##############################
PORT : 12017
CAID: 090f
PROVIDERS: 000000
ONID: 0055
SERVER INTERVAL: 200
SERVER TIMEOUT: 2500


##############################
[0056-093e] #
##############################
PORT : 12018
CAID: 093e
PROVIDERS: 000000
ONID: 56


##############################
[fbff-09cd]
##############################
PORT : 22019
CAID: 09cd
PROVIDERS: 000000
ONID: fbff
#######testa###
DCW MINTIME: 0
DCW TIMEOUT: 500 #500
SERVER INTERVAL: 100 #400
SERVER TIMEOUT: 350 #1000
SERVER VALIDECMTIME: 350 ##
#RETRY NEWCAMD: 3 ##
#RETRY CCCAM: 3 ##
CACHE TIMEOUT: 100
#######org#########
#SERVER INTERVAL: 150
#SERVER TIMEOUT: 1200
#DEFAULT CACHE TIMEOUT: 250 #250 to stop cache
#############
#############
#SERVER INTERVAL: 200
#SERVER TIMEOUT: 2500


etc
















################################################## ########


USER: user pass

################################################## ########
## CCCAM SERVER
################################################## ########
#
## CCcam server listen port
#
CCCAM PORT: 12000
#
## CCcam clients
#
F: user1 pass1 # no reshare
F: user2 pass2 1 # 1 reshare
F: user2 pass2 2 # 2 reshare
#
#
################################################## #########
## MGCAMD SERVER
################################################## #########
#
MGCAMD PORT : 22000 MGCAMD server listen port(default=0:disabled)
MGCAMD KEY : 01 02 03 04 05 06 07 08 09 10 11 12 13 14
# Clients
#
MGUSER: user1 password1
#
################################################## ##########


This is a basic working config file, dont get put off its simpler than it seems

Dont worry in the following posts I will explain about profiles, ports, cache, cccam etc etc
MultiCs A Full Tutorial" The Web Interface "



So far we have Covered Installation and looked at a sample of the Configuration file ( multics.cfg ) there will be some impatient people who have installed and wondered is it running ( well i was the same so no shame there )

if you look back at the sample config

################################################## #######
##
## copy this file to /var/etc/multics.cfg
## to run multics with debug type $# multics -v
## to run multics in background type $# multics -b
## to run multics with another config file type $# multics -C /var/etc/newconfig.cfg
##
################################################## ########
## WEB INTERFACE
################################################## ########
#
HTTP PORT: 5500
#
## web user/pass protection
#
# HTTP USER: admin
# HTTP PASS: admin
#
################################################## ########
## CLUSTERED CACHE (Compatible with CSP cache)
################################################## ########

you will see and i have highlighted it HTTP PORT: 5500

this is the default port for your web interface 5500

idealy that needs to be changed to one that suits you

Also you will see :

# HTTP USER: admin
# HTTP PASS: admin

again self explanatory to keep your webif safe remove the # from in front on your config and replace again with what you prefer.


you can edit your config file using either filezilla winscp from you main pc failing you do not have one use linux editor's from within your distro

Once your happy with the port and any user or password you have assigned your ready to check the webif,
similar to CCcam or Oscam its a matter of the servers ip and :the port your using in this case 5500

Code:

ie 192.168.0.100:5500
if all is going well the webif page will pop up if user and pass has been assigned your need to enter them





as you can see from the pictures a basic webif from the editor at the top you will be doing most of the configuration and adding profiles shares etc live if you have not yet set a user and pass and now wish to simple change within the web page but remember to scroll down and you will see a tab to save
MultiCs A Full Tutorial " Ports Required "



As you can see from the portions of the multics.cfg file below ports are required to be forwarded and opened, but im not going to explain how to do that its more then covered in various different posts/ threads here at the CCcam Exchange. I have once again highlighted some of the relevant portions in green

################################################## ########
## CLUSTERED CACHE (Compatible with CSP cache)
################################################## ########
#
#
CACHE PORT: 4444 # cache listen port(udp)
#
CACHE TIMEOUT: 300 # timeout to wait dcw from cache servers if a cacherequest was received.
# friend cacheline (host port)



##############################
[013e-0604]
##############################
PORT : 12002
CAID: 0604
PROVIDERS: 000000, 000001
ONID: 13e
SERVER INTERVAL: 250
SERVER TIMEOUT: 2500
SID DENYLIST: 1
SID LIST: 20DC,1D57,1BCE,1D59,1BC8,3656,1251,1D7A


################################################## ########
## CCCAM SERVER
################################################## ########
#
## CCcam server listen port
#
CCCAM PORT: 12000
#
## CCcam clients
#
F: user1 pass1 # no reshare
F: user2 pass2 1 # 1 reshare
F: user2 pass2 2 # 2 reshare
#


################################################## #########
## MGCAMD SERVER
################################################## #########
#
MGCAMD PORT : 22000 # MGCAMD server listen port(default=0:disabled)
MGCAMD KEY : 01 02 03 04 05 06 07 08 09 10 11 12 13 14
# Clients
#
MGUSER: user1 password1
#
################################################## ##########

So Firstly your need to assign a block of tcp ports in you router for the profiles ( profiles will be explained shortly ) but lets say you will need a block of 50 individual ports one for each choose profile
ie S*Y UK port 32000 sky italy port 32001 and so on, Obviously im not familiar with what router you have most are the same but normally your asked for start port in our case 32000 and end 32050 make sure they are tcp and not udp assigned and save.

Your also need to make a cache port default is CACHE PORT: 4444 Note make sure to specify udp this time and save.

CCcam & Mgcamd if your going to use that part and yes i suggest you set them up in the case of our tutorial CCCAM PORT: 12000 & MGCAMD PORT : 22000 both of these need assigning and make sure they are tcp ports.

Obviously the choice of port numbers are yours i have just used here as an example similarly when i touch on profiles the ports there are just examples you must number to match your port forwarding rules you are making at present.

Once this is done and you have profiles and lines in you can check the ports are working by using:-


MultiCs A Full Tutorial " Profiles "


Well i keep mentioning them so here we are Profiles.


Each provider you would like to use ie S*Y UK or perhaps n**va Greece has to have a specific profile made below is a standard profile / profiles for both the aforementioned providers.


##############################
[slyuk]
##############################
PORT: 32000
CAID: 0963
PROVIDERS: 000000
ONID: 0002
DCW MINTIME : 300
DCW TIMEOUT : 3500
DCW MAXFAILED: 10
SERVER MAX: 0
SERVER INTERVAL: 1000
SERVER TIMEOUT: 2500
SERVER VALIDECMTIME: 2000


##############################
[n**va 0604]
##############################
PORT: 32031
CAID: 0604
PROVIDERS: 000000 , 000001 , 000002 , 000003 , 000004
ONID: 013e
DCW MINTIME: 300
DCW TIMEOUT: 2500
DCW MAXFAILED: 10
SERVER MAX: 0
SERVER INTERVAL: 100
SERVER TIMEOUT: 900
SERVER VALIDECMTIME: 1500


Notice these are standard and other examples can be found in the multics section of the CCcam Exchange which will help rather than having to hunt for the relevant information.

Basically you can see obviously the profile name ie [n**va 0604]
A port number this most match with what ports you opened earlier
the caid in n**va's case 0604
provider idents those who use oscam will no about these
onid which is calculated for the provider i wont touch on this for the moment
and the rest are timings some alter to suit perhaps when your familiar with multics then you can play about yourselves in an aid to perhaps stop potential timeouts etc.

Profiles can get added to and made a bit more advanced for example below SID's have been added to stop requests for bad or unknown channels ..

###############################
[Canal- Digitaal seca3 (23,5E)]
###############################
PORT: 32005
CAID: 0100
PROVIDERS: 000000,00006A,00006C
ONID: 3
DCW MINTIME : 200
DCW TIMEOUT : 3500
DCW MAXFAILED: 10
SERVER MAX: 0
SERVER INTERVAL: 1000
SERVER TIMEOUT: 2500
SERVER VALIDECMTIME: 2000