Guida Oscam+Emu che shara a Client LAN e WAN SERVER
Transcript
Guida Oscam+Emu che shara a Client LAN e WAN SERVER
Guida Oscam+Emu che shara a Client LAN e WAN In questa Guida mostrero’ come Oscam (CardReader) funzioni con diversi Emulatori e allo stesso tempo sharare con Client Locali e Remoti con altrettanti Emulatori Tengo a precisare che se il Server oppure il Client avesse un solo SLOT sara’ necessario eliminare dove opportuno lo sci1 e mantenere sempre e comunque lo sci0 sci0 = slot inferiore sci1 = slot superiore Le sintassi di colore verde evidenziano come Oscam comunica con l’Emulatore (Client localhost) Le sintassi di colore azzurro evidenziano come Oscam comunica con l’Emulatore del Client locale Le sintassi di colore blu’ evidenziano come Oscam comunica con l’Emulatore del Client remoto E’ ovvio che sia Oscam che l’Emulatore siano gia’ installate sia sul Server che i Client I Client come gia’ sappiamo possono utilizzare il solo Emulatore come vi mostrero’ Il Server deve aprire le porte 34000 e 34001 (TCP e UDP) all’IP del Dreambox e abilitare l’Inadyn affinche’ possa sharare i Client Remoti !!! SERVER Oscam oscam.conf in var/tuxbox/config [global] #nice = 1 WaitForCards = 1 # logging pidfile = /var/run/oscam.pid logfile = /var/log/oscam.log #usrfile = /var/log/oscamuser.log cwlogdir = /var/log/oscam/cw maxlogsize = 10 # monitor [monitor] port = 988 aulow = 120 monlevel = 1 # protocols [newcamd] key = 0102030405060708091011121314 port = 34000@0919:000000 [newcamd] key = 0102030405060708091011121314 port = 34001@0919:000000 oscam.server in var/tuxbox/config [reader] Label = SkyItalia Protocol = internal Detect = CD Device = /dev/sci0 Customspeed = 0 mhz = 3.57 EMMCache = 1,1,2 BoxID = XXXXXXXX Group = 1 Fallback = 0 CAID = 0919 [reader] Label = SkyItalia Protocol = internal Detect = CD Device = /dev/sci1 Customspeed = 0 mhz = 3.57 EMMCache = 1,1,2 BoxID = XXXXXXXX Group = 1 Fallback = 0 CAID = 0919 oscam.user in var/tuxbox/config # client localhost [account] user = userserver pwd = pawdserver monlevel = 0 uniq = 1 group = 1 au = SkyItalia caid = 0919 ident = 0919:000000 # client locale [account] user = userclient pwd = pawdclient monlevel = 0 uniq = 1 group = 1 au = SkyItalia caid = 0919 ident = 0919:000000 # client remoto [account] user = userclient1 pwd = pawdclient1 monlevel = 0 uniq = 1 group = 1 au = SkyItalia caid = 0919 ident = 0919:000000 A questo punto dopo aver configurato Oscam sceglieremo quale Emulatore usare Di seguito mostrero’ La configurazione di Oscam con 3 Emulatori differenti Come noterete Oscam rimane invariata a prescindere l’Emulatore che sceglierete 1) Oscam+CCcam CCcam.cfg in var/etc N: 127.0.0.1 34000 userserver pawdserver 01 02 03 04 05 06 07 08 09 10 11 12 13 14 N: 127.0.0.1 34001 userserver pawdserver 01 02 03 04 05 06 07 08 09 10 11 12 13 14 2) Oscam+Mgcamd newcamd.list in var/keys CWS = 127.0.0.1 34000 userserver pawdserver 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CWS = 127.0.0.1 34001 userserver pawdserver 01 02 03 04 05 06 07 08 09 10 11 12 13 14 3) Oscam+Evocamd newcamdclient.txt in var/keys [127.0.0.1] port = 34000 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userserver password = pawdserver [127.0.0.1] port = 34001 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userserver password = pawdserver Ora passiamo a configurare i Client Locali (LAN) e Remoti (WAN) CLIENT CCcam CLIENT locale CCcam.cfg in var/etc N: ip_server 34000 userclient pawdclient 01 02 03 04 05 06 07 08 09 10 11 12 13 14 N: ip_server 34001 userclient pawdclient 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CLIENT remoto CCcam.cfg in var/etc N: host_dns 34000 userclient1 pawdclient1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 N: host_dns 34001 userclient1 pawdclient1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 Mgcamd CLIENT locale newcamd.list in var/keys CWS = ip_server 34000 userclient pawdclient 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CWS = ip_server 34001 userclient pawdclient 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CLIENT remoto newcamd.list in var/keys CWS = host_dns 34000 userclient1 pawdclient1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CWS = host_dns 34001 userclient1 pawdclient1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 Evocamd CLIENT locale newcamdclient.txt in var/keys [ip_server] port = 34000 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userclient password = pawdclient [ip_server] port = 34001 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userclient password = pawdclient CLIENT remoto newcamdclient.txt in var/keys [host_dns] port = 34000 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userclient1 password = pawdclient1 [host_dns] port = 34001 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = userclient1 password = pawdclient1 DéJà Vù i sogni possono essere realtà DéJà Vù non si assume nessuna responsabilità da eventuali usi illeciti e/o scopi di lucro by Dadith1