Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenloses um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereiche, welche für Gäste verwehrt bleiben

Problema Cache tra Raspberry

robytotem

Newbie
Registriert
18. Februar 2010
Beiträge
2
Reaktionspunkte
0
Punkte
1
Ciao a tutti, chiedo se qualcuno mi può consigliare come configurare la cache (credo che la migliore sia la 3) tra due Raspbarry, il mio e quello di un mio amico.

Ho seguito questa guida come base

https://www.digital-eliteboard.com/showthread.php?259399-Gruppo-cacheex3-09cd/page2

Quello che abbiamo sono 4 card (reader) fisiche (sia io che lui abbiamo una 183D e una 1805), inoltre sia io che il mio amico abbiamo 3 reader remoti multicard. Ogni raspberry ha 2 utenti passivi (2 decoder locali in casa in ogni stanza).

Vorremmo capire come configurare al meglio la cache tra i nostri due raspberry e come configurare gli utenti passivi in modo che ricevano visione e la cache (ovviamente evitando i loopback)...

in realtà dai test che abbiamo fatto, pur rinominando ogni reader con un gruppo diverso, non riusciamo a dare visione se associamo un gruppo singolo alla sola cache e diamo ad un utente quel gruppo singolo..

Ecco le mie configurazioni (gradirei se mi diceste se per il nostro utilizzo va meglio la cache 1,2 oppure la 3) e din generale se i parametri sono corretti. Ho indicato in rosso i dubbi su come impostare la cache e il numero dei gruppi.

Conf

[global]
logfile = /usr/local/etc/oscam.log
clientmaxidle = 200
unlockparental = 1
nice = -1
maxlogsize = 250
lb_mode = 3
lb_nbest_readers = 6
lb_nfb_readers = 5

[cache]
max_time = 10
max_hit_time = 10
#cacheexenablestats = 1
cwcycle_check_enable = 1
cwcycle_check_caid = 09CD,0500,183D
cwcycle_maxlist = 4000
cwcycle_keeptime = 15
cwcycle_onbad = 1
cwcycle_dropold = 1
cwcycle_sensitive = 3
cwcycle_usecwcfromce = 1


Server

[reader]
label = Remoto_1
enable = 0
description = SuperServer
protocol = cccam
device = xxxx,xxxx
user = xxxx
password = xxx
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
group = 1
emmcache = 1,3,2
lb_weight = 350
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1
audisabled = 1

[reader]
label = Remoto_2
enable = 0
description = SuperServer
protocol = cccam
device = xxxx,xxxx
user = xxxx
password = xxx
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
group = 2
emmcache = 1,3,2
lb_weight = 350
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1
audisabled = 1

[reader]
label = Remoto_3
enable = 0
description = SuperServer
protocol = cccam
device = xxxx,xxxx
user = xxxx
password = xxx
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
group = 3
emmcache = 1,3,2
lb_weight = 350
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1
audisabled = 1

[reader]
label = Rasberry_mio (questo è il reader che si deve collegare all'altro raspberry del mio amico)
enable = 0
description = SuperServer
protocol = cccam
device = xxx,xxx
user = xxx
password = xxx
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
group = ????????????
emmcache = 1,3,2
lb_weight = 300
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1
audisabled = 1

[reader]
label = Rasberry_amico (questo è il reader che il mio amico dovrebbe mettere sul suo rasberry)
enable = 0
description = SuperServer
protocol = cccam
device = xxx,xxx
user = xxx
password = xxx
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
group = ????????????
emmcache = 1,3,2
lb_weight = 300
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1
audisabled = 1

[reader]
label = Card_Locale
description = Dreambox Cards
protocol = cccam
device = 192.168.1.25,5632 (ora la card è in un decoder non con lo smargo collegato al rasberry)
user = tvsat
password = tvsat
inactivitytimeout = 700
reconnecttimeout = 300
fallback = 1
cacheex = ????????????
cacheex_maxhop = 3
cacheex_drop_csp = 1
caid = 183D
ident = 0000:005411,000000
group = ????????????
emmcache = 1,3,2
lb_weight = 300
dropbadcws = 1
cccversion = 2.3.0
cccmaxhops = 1
ccckeepalive = 1

User

[account]
user = user_passivo (decoder in camera)
pwd = xxxx
caid = 09CD,0500,183D
uniq = 4
keepalive = 1
group = ????????????
ident = 09CD:000000;0500:FFFD00,042700,FFF920,042400,042410,040810,043800,041700,032500,000000;183D:005411,000000
cacheex = ????????????
cacheex_maxhop = 3
cccreshare = 0
cccignorereshare = 1


[account]
user = utente_raspberry (è l'utente che io attivo per il mio amico che ha il raspberry)
pwd = xxx
caid = 09CD,0500,183D
uniq = 4
keepalive = 1
group = ????????????
ident = 09CD:000000;0500:FFFD00,042700,FFF920,042400,042410,040810,043800,041700,032500,000000;183D:005411,000000
cacheex = ????????????
cacheex_maxhop = 3


spero mi possiate indicare come fare, perché ho fatto mille tentativi e ogni volta pur impostando gruppi differenti e dandone solo uno per la cache, disabilitando i reder remoti, non riesco ad avere visione cache: cioè nel senso che se disabilito i miei reader, lasciando solo quello cache, non riesco ad avere visione sfruttando la cache.

In definitiva vorrei configurare al meglio sia i reader locali che quelli rasberry, in modo che tutti gli utenti, sia locali che remoti possano vedere sia dalla cache che dai reader (ovviamente io vorrei vedere dai miei reader e dalla cache del mio amico e lui viceversa)...ed evitando i loopback!!!

spero di essermi spiegato al meglio...

grazie a tutti

:emoticon-0167-beer:
 
Zuletzt bearbeitet:
Zurück
Oben