I am using cccam protocol to connect sever linux box with other linux box
when I set up port of CCCam to 12000 I got no problems and everything Is working OK but If I change port of cccam to different than 12000 I can't connect two boxes
oscam to oscam using cccam protocol port problem
-
- General OSCam
- sasho
- Thread is marked as Resolved.
-
-
probably your Newcamd is the port problem.
but we need more info, more lucid on your setup, and post your configs removing any sensative informaton of course.
regards: canthackit
-
Make sure you are not using the same port as any other protocol like newcamd. Is your client on the same network or connecting externally ?
-
Make sure you are not using the same port as any other protocol like newcamd. Is your client on the same network or connecting externally ?
thank you for replys
appologies for late reply
both machines are at same local network, but after I solve port Issue I will try to connect them externally using dyndns
I do not use newcamd selection at all In server or client oscam setups -
please post your configs
-
here are server configs
OSCAM 1.20 r9273
Code
Display Moreoscam.conf [global] logfile = /var/log/oscam.log pidfile = /var/run/oscam.pid fallbacktimeout = 4900 clientmaxidle = 20 bindwait = 1800 nice = 10 maxlogsize = 10000 waitforcards_extra_delay = 1900 preferlocalcards = 1 readerrestartseconds = 2 block_same_ip = 0 block_same_name = 0 lb_auto_betatunnel = 0 failbantime = 10 [cache] delay = 1 max_time = 10 [cccam] port = 12000 version = 2.2.1 build = 1234 reshare = 2 [cs378x] port = 12000 serverip = xxx.xxx.x.xxx [dvbapi] enabled = 1 au = 1 pmt_mode = 1 user = local boxtype = dreambox [monitor] port = xxx nocrypt = 127.0.0.1 aulow = 120 monlevel = 0 hideclient_to = 15 [webif] httpport = xxxxx httprefresh = 3 httpallowed = 127.0.0.1,192.168.1.0-192.168.255.255 aulow = 120 hideclient_to = 15 oscam.user [account] user = local pwd = passbox monlevel = 4 keepalive = 1 au = 1 group = 1,2,3 cccmaxhops = 2 [account] user = yyyyy pwd = zzzzz caid = xxxx,xxxx monlevel = 4 allowedprotocols = cccam group = 1,2 ident = xxxx:000000;xxxx:000000 [account] disabled = 1 user = user1 pwd = pwd1 uniq = 3 monlevel = 4 keepalive = 1 au = 1 allowedprotocols = cs378x group = 1,2 cccmaxhops = 2
here are configs from client
client
oscam.conf OSCAM 1.20-unstable_svn SVN r879
Code
Display More[global] logfile = /var/log/oscam.log pidfile = /var/run/oscam.pid clienttimeout = 6900 fallbacktimeout = 4900 clientmaxidle = 0 bindwait = 1800 nice = 10 maxlogsize = 10000 waitforcards_extra_delay = 1900 preferlocalcards = 1 readerrestartseconds = 3 block_same_ip = 0 block_same_name = 0 lb_auto_betatunnel = 0 failbantime = 1 [cache] delay = 1 max_time = 11 [cccam] port = nodeid = E42D8BB8104014D8 version = 2.2.1 reshare = 1 updateinterval = 30 recv_timeout = 1300 [dvbapi] enabled = 1 au = 1 pmt_mode = 1 user = api boxtype = dreambox [webif] httpport = xxxx httpcss = /var/tuxbox/config/site_css.css httptpl = /var/tuxbox/config/picons httpshowpicons = 1 httpshowmeminfo = 1 httpshowuserinfo = 1 httpshowecminfo = 1 httpshowloadinfo = 1 http_status_log = 1 httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 oscam.server [reader] label = nickname enable = 0 protocol = cs378x device = xxx.xxx.x.xxx,12000 user = user1 password = pwd1 reconnecttimeout = 60 group = 2 audisabled = 1 [reader] label = client protocol = cccam device = xxx.xxx.x.xxx,12000 user = yyyyy password = xxxxx inactivitytimeout = 30 group = 1,2 cccversion = 2.2.1 oscam.user [account] user = api pwd = pass monlevel = 4 keepalive = 1 au = 1 group = 1,2
-
here are server configs OSCAM 1.20 r9273
Code
Display More[U]oscam.conf [/U][global] logfile = /var/log/oscam.log maxlogsize = 10000 waitforcards_extra_delay = 1900 preferlocalcards = 1 [cache] delay = 1 max_time = 10 [cccam] port = 12000 version = 2.2.1 build = 1234 reshare = 2 [cs378x] port = 12000 serverip = xxx.xxx.x.xxx [dvbapi] enabled = 1 au = 1 pmt_mode = 1 user = local boxtype = dreambox [webif] httpport = xxxxx httprefresh = 3 httpallowed = 127.0.0.1,192.168.1.0-192.168.255.255 aulow = 120 hideclient_to = 15 [U]oscam.user[/U] [account] user = local pwd = passbox [COLOR=#ff0000]---> delete line[/COLOR] au = 1 group = 1,2,3 [account] user = yyyyy pwd = zzzzz caid = xxxx,xxxx allowedprotocols = cccam group = 1,2 ident = xxxx:000000;xxxx:000000 [account] user = user1 pwd = pwd1 uniq = 3 keepalive = 1 au = 1 allowedprotocols = cs378x group = 1,2 cccmaxhops = 2
here are configs from client oscam.conf OSCAM 1.20-unstable_svn SVN r879
Code
Display More[U]oscam.conf[/U] [global] logfile = /var/log/oscam.log nice = 10 maxlogsize = 10000 [cache] delay = 1 max_time = 11 [cccam] port = nodeid = E42D8BB8104014D8 version = 2.2.1 reshare = 1 updateinterval = 30 recv_timeout = 1300 [dvbapi] enabled = 1 au = 1 pmt_mode = 1 user = api boxtype = dreambox [webif] httpport = xxxx httpcss = /var/tuxbox/config/site_css.css httptpl = /var/tuxbox/config/picons httpshowpicons = 1 httpshowmeminfo = 1 httpshowuserinfo = 1 httpshowecminfo = 1 httpshowloadinfo = 1 http_status_log = 1 httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 [U]oscam.server [/U] [reader] label = nickname protocol = cs378x device = xxx.xxx.x.xxx,12000 user = user1 password = pwd1 reconnecttimeout = 60 group = 2 [COLOR=#ff0000]-----> in server 1,2[/COLOR] [reader] label = client protocol = cccam device = xxx.xxx.x.xxx,12000 user = yyyyy password = xxxxx inactivitytimeout = 30 group = 1,2 cccversion = 2.2.1 [U]oscam.user[/U] [account] user = api au = 1 group = 1,2
You can try to correct in this way
server: missing section [reader] and oscam.dvbapi
client: missing oscam.dvbapi
OSCam Support Forum
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!