1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen

HowTo OSCAM funktioniert erst nach Service-Neustart

Dieses Thema im Forum "OScam Archiv" wurde erstellt von hij4ck, 24. April 2012.

  1. hij4ck
    Offline

    hij4ck Newbie

    Registriert:
    18. Februar 2012
    Beiträge:
    5
    Zustimmungen:
    0
    Punkte für Erfolge:
    1
    Hallo,

    ich habe auf einem Ubuntu-System OSCAM installiert und habe nun das Problem, das OSCAM nach dem Booten erst funktioniert, wenn ich einen Restart über das WebIF mache.

    Das ist natürlich lästig, daher wäre ich froh, wenn mir einer der Experten helfen könnte :)

    Meine Einstellungen sind:

    oscam.conf

    [global]
    logfile = /tmp/oscam.log
    clienttimeout = 10100
    fallbacktimeout = 10100
    nice = -1
    serialreadertimeout = 10000
    maxlogsize = 256
    preferlocalcards = 1
    saveinithistory = 1
    lb_save = 150
    lb_savepath =
    lb_auto_betatunnel = 0


    [monitor]
    port = 988
    monlevel = 4
    appendchaninfo = 1


    [newcamd]
    port = 15000@09C4:000000
    key = 2106120405068708791011121318


    [webif]
    httpport = 8888
    httpuser = Moin
    httppwd = Moin
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.7-192.168.178.254

    oscam.user

    [account]
    user = Sky13
    pwd = Sky13
    group = 1
    uniq = 0
    caid = 09c4
    ident = 09c4:000000
    AU = 1
    monlevel = 4
    keepalive = 1

    oscam.server

    [reader]
    label = v13
    enable = 1
    protocol = mouse
    device = /dev/ttyUSB0
    services = skyde_v13 #new
    caid = 09c4
    smargopatch = 1
    boxid = ******** #boxid ist richtig eingetragen und hier nur unkenntlich gemacht
    nagra_read = 2
    detect = cd
    ident = 09c4:000000
    emmcache = 1,3,2
    fallback = 0
    group = 1

    Die Logs sehen so aus.

    nach dem Booten (-> vor dem restart)

    -------------------------------------------------------------------------------
    >> OSCam << cardserver started at Wed Apr 4 14:36:44 2012
    -------------------------------------------------------------------------------
    2012/04/04 14:36:44 B77286C0 s >> OSCam << cardserver started, version 1.10rc-svn, build #6089 (i686-pc-linux)
    2012/04/04 14:36:44 B77286C0 s version=1.10rc-svn, build #6089, system=i686-pc-linux, nice=-1
    2012/04/04 14:36:44 B77286C0 s client max. idle=120 sec, debug level=0
    2012/04/04 14:36:44 B77286C0 s max. logsize=256 Kb, loghistorysize=4096 bytes
    2012/04/04 14:36:44 B77286C0 s client timeout=10100 ms, fallback timeout=10100 ms, cache delay=0 ms
    2012/04/04 14:36:44 B77286C0 s WARNING: fallbacktimeout adjusted to 10000 ms (must be smaller than clienttimeout (10100 ms))
    2012/04/04 14:36:44 B77286C0 s services reloaded: 0 services freed, 0 services loaded, rejected 0
    2012/04/04 14:36:44 B77286C0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/04/04 14:36:44 B77286C0 s signal handling initialized (type=sysv)
    2012/04/04 14:36:44 B77286C0 s 119 service-id's loaded in 1ms
    2012/04/04 14:36:44 B77286C0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    2012/04/04 14:36:44 B77286C0 s 13 provid's loaded
    2012/04/04 14:36:44 B77286C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) irdeto guessing not loaded
    2012/04/04 14:36:44 B77286C0 s monitor: initialized (fd=7, port=988)
    2012/04/04 14:36:44 B77286C0 s camd33: disabled
    2012/04/04 14:36:44 B77286C0 s camd35: disabled
    2012/04/04 14:36:44 B77286C0 s cs378x: disabled
    2012/04/04 14:36:44 B77286C0 s newcamd: initialized (fd=8, port=15000, crypted)
    2012/04/04 14:36:44 B77286C0 s CAID: 09C4
    2012/04/04 14:36:44 B77286C0 s provid #0: 000000
    2012/04/04 14:36:44 B77286C0 s radegast: disabled
    2012/04/04 14:36:44 B77286C0 s http thread started
    2012/04/04 14:36:44 B77286C0 s creating thread for device /dev/ttyUSB0
    2012/04/04 14:36:44 B77286C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/04/04 14:36:44 B77286C0 s waiting for local card init
    2012/04/04 14:36:44 B771BB70 r reader thread started (thread=B771BB70, label=v13, device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    2012/04/04 14:36:44 B7727B70 h HTTP Server listening on port 8888
    2012/04/04 14:36:48 B771BB70 r v13 card detected
    2012/04/04 14:36:57 B771BB70 r ATR: 00 77 5B 3F F7 FE 7D F2 1F 69 00 AD
    2012/04/04 14:36:57 B771BB70 r ERROR: Could not read reader->convention
    2012/04/04 14:36:57 B771BB70 r Error activating card.
    2012/04/04 14:37:02 B771BB70 r ATR: 00 77 5B 3F F7 FE 7D F2 1F 69 00 AD
    2012/04/04 14:37:02 B771BB70 r ERROR: Could not read reader->convention
    2012/04/04 14:37:02 B771BB70 r Error activating card.
    2012/04/04 14:37:07 B771BB70 r ATR: 3F FF 11 25 03 10 80 41 B0 07 69 FF 4A 50 70 00 00 50 31 01 00 11
    2012/04/04 14:37:08 B771BB70 r Maximum frequency for this card is formally 5 Mhz, clocking it to 3.57 Mhz
    2012/04/04 14:37:11 B771BB70 r card system not supported
    2012/04/04 14:37:11 B771BB70 r Normal mode failed, reverting to Deprecated Mode
    2012/04/04 14:37:15 B771BB70 r ATR: 3F FF 11 25 03 10 80 41 B0 07 69 FF 4A 50 70 00 00 50 31 01 00 11
    2012/04/04 14:37:16 B771BB70 r Maximum frequency for this card is formally 5 Mhz, clocking it to 3.57 Mhz
    2012/04/04 14:37:19 B771BB70 r card system not supported
    2012/04/04 14:37:19 B771BB70 r card initializing error
    2012/04/04 14:37:20 B77286C0 s init for all local cards done
    2012/04/04 14:37:20 B77286C0 s anti cascading disabled
    2012/04/04 14:37:20 B6F1AB70 c client connected to 15000 port
    2012/04/04 14:37:20 B6F1AB70 c thread B6F1AB70 ended!
    2012/04/04 14:37:54 B6F0EB70 c client connected to 15000 port
    2012/04/04 14:37:54 B6F0EB70 c encrypted newcamd:15000-client 127.0.0.1 granted (Sky13, au=auto (1 reader))
    2012/04/04 14:37:54 B6F0EB70 c user Sky13 authenticated successfully (Tvheadend)
    2012/04/04 14:37:54 B6F0EB70 c AU disabled for user Sky13

    Nach dem Restart über das WebIF

    -------------------------------------------------------------------------------
    >> OSCam << cardserver started at Wed Apr 4 14:39:30 2012
    -------------------------------------------------------------------------------
    2012/04/04 14:39:30 B77286C0 s >> OSCam << cardserver started, version 1.10rc-svn, build #6089 (i686-pc-linux)
    2012/04/04 14:39:30 B77286C0 s version=1.10rc-svn, build #6089, system=i686-pc-linux, nice=-1
    2012/04/04 14:39:30 B77286C0 s client max. idle=120 sec, debug level=0
    2012/04/04 14:39:30 B77286C0 s max. logsize=256 Kb, loghistorysize=4096 bytes
    2012/04/04 14:39:30 B77286C0 s client timeout=10100 ms, fallback timeout=10100 ms, cache delay=0 ms
    2012/04/04 14:39:30 B77286C0 s WARNING: fallbacktimeout adjusted to 10000 ms (must be smaller than clienttimeout (10100 ms))
    2012/04/04 14:39:30 B77286C0 s services reloaded: 0 services freed, 0 services loaded, rejected 0
    2012/04/04 14:39:30 B77286C0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/04/04 14:39:30 B77286C0 s signal handling initialized (type=sysv)
    2012/04/04 14:39:30 B77286C0 s 119 service-id's loaded in 1ms
    2012/04/04 14:39:30 B77286C0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    2012/04/04 14:39:30 B77286C0 s 13 provid's loaded
    2012/04/04 14:39:30 B77286C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) irdeto guessing not loaded
    2012/04/04 14:39:30 B77286C0 s monitor: initialized (fd=7, port=988)
    2012/04/04 14:39:30 B77286C0 s camd33: disabled
    2012/04/04 14:39:30 B77286C0 s camd35: disabled
    2012/04/04 14:39:30 B77286C0 s cs378x: disabled
    2012/04/04 14:39:30 B77286C0 s newcamd: initialized (fd=8, port=15000, crypted)
    2012/04/04 14:39:30 B77286C0 s CAID: 09C4
    2012/04/04 14:39:30 B77286C0 s provid #0: 000000
    2012/04/04 14:39:30 B77286C0 s radegast: disabled
    2012/04/04 14:39:30 B77286C0 s http thread started
    2012/04/04 14:39:30 B77286C0 s creating thread for device /dev/ttyUSB0
    2012/04/04 14:39:30 B77286C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/04/04 14:39:30 B77286C0 s waiting for local card init
    2012/04/04 14:39:30 B771BB70 r reader thread started (thread=B771BB70, label=v13, device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    2012/04/04 14:39:30 B7727B70 h HTTP Server listening on port 8888
    2012/04/04 14:39:33 B771BB70 r v13 card detected
    2012/04/04 14:39:38 B771BB70 r ATR: 3F FF 11 25 03 10 80 41 B0 07 69 FF 4A 50 70 00 00 50 31 01 00 11
    2012/04/04 14:39:39 B771BB70 r Maximum frequency for this card is formally 5 Mhz, clocking it to 3.57 Mhz
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] parental lock setting: FF FF FF FF
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] type: VideoGuard Sky Germany, caid: 09C4
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] serial: 0024392D, BoxID: ********, baseyear: 1997
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] ready for requests
    2012/04/04 14:39:41 B771BB70 r found cardsystem videoguard2
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] v13 card detected
    2012/04/04 14:39:41 B771BB70 r [videoguard2-reader] type: VideoGuard Sky Germany
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 007b, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 007d, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 008e, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 00c0, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 00c7, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 00c8, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 00c9, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:47 B771BB70 r [videoguard2-reader] tier: 00ca, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:48 B771BB70 r [videoguard2-reader] tier: 00cb, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:48 B771BB70 r [videoguard2-reader] tier: 00f3, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:48 B771BB70 r [videoguard2-reader] tier: 00fa, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:48 B771BB70 r [videoguard2-reader] tier: 00ff, expiry date: 2005/07/27-00:01:00
    2012/04/04 14:39:57 B77286C0 s init for all local cards done
    2012/04/04 14:39:57 B77286C0 s anti cascading disabled
    2012/04/04 14:40:30 B6F0EB70 c client connected to 15000 port
    2012/04/04 14:40:30 B6F0EB70 c encrypted newcamd:15000-client 127.0.0.1 granted (Sky13, au=auto (1 reader))
    2012/04/04 14:40:30 B6F0EB70 c user Sky13 authenticated successfully (Tvheadend)
    2012/04/04 14:40:30 B6F0EB70 c AU enabled for user Sky13 on reader v13

    Wie man sieht, wird die Karte nach dem Neustart erkannt. Warum ist das so und was kann ich da machen???

    Fragen über Fragen!!!! :emoticon-0183-swear
     
    #1
  2. phantom

    Nervigen User Advertisement

  3. Matze1403
    Offline

    Matze1403 Ist gelegentlich hier

    Registriert:
    7. Februar 2011
    Beiträge:
    63
    Zustimmungen:
    13
    Punkte für Erfolge:
    0
    Ort:
    Leeeipzsch
    Vergib doch mal in der oscam.server die serial number vom Reader
    Müsste dann so aussehen
    Device=003:003

    PS: in der Konsole Lsusb eintippen
     
    #2
  4. Nobby54
    Offline

    Nobby54 Newbie

    Registriert:
    7. Dezember 2010
    Beiträge:
    20
    Zustimmungen:
    18
    Punkte für Erfolge:
    3
    wie startetst du Oscam nach dem Booten - aus einem Script in /etc/init.d ?
    Wenn ja, bau da einmal als erstes ein
    sleep 10
    ein.
    Schaut fast so aus, als ob noch nicht die ganze Peripherie bereit wäre beim Start von Oscam.
     
    #3

Diese Seite empfehlen