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

MGCamd connect Probleme mit Oscam auf Freetz und Smargo

Dieses Thema im Forum "Fritzbox Archiv" wurde erstellt von seschneider, 25. Dezember 2009.

  1. seschneider
    Offline

    seschneider Ist gelegentlich hier

    Registriert:
    29. Dezember 2007
    Beiträge:
    79
    Zustimmungen:
    10
    Punkte für Erfolge:
    0
    Ich hab eine Freetz-Box (W900v mit 7270er Image von Onestep und deren USB-Stick-Dateien)

    In der Freetz/Oscam sieht die Config so aus:

    oscam.conf:
    Code:
    [global]
    Nice            = -5
    ClientTimeout   = 7
    FallbackTimeout = 3
    ClientMaxIdle   = 120
    CacheDelay      = 0
    BindWait        = 20
    ResolveDelay    = 15
    LogFile         = /var/media/ftp/uStor01/logs/oscam.log
    PidFile         = /var/run/oscam.pid
    Sleep           = 0
    
    [monitor]
    Port        = 988
    NoCrypt        = 192.168.2.0-192.168.2.255
    AULow           = 30
    MonLevel        = 2
    
    
    [newcamd]
    Key = 0102030405060708091011121314
    Port = PORT@1801:000000;1830:003411
    die users.list:
    Code:
    [account]
    user = intern
    pwd = PASSWORT
    Group = 1
    CAID = 1801
    IDENT = 1801:000000
    AU = HDplus
    
    oscam.services:
    Code:
    [HDplus]
    caid=1830,1801
    srvid=EF10,EF11,1ACE,277E
    oscam.servers:
    Code:
    [reader]
    label = HDplus
    Protocol = mouse
    detect = CD
    device = /dev/ttyUSB0
    emmcache = 1,3,2
    n3_rsakey = BF...
    n3_boxkey = A7...
    CAID = 1801&FFFF:1830,1830
    IDENT = 1830:003411
    Log von der oscam:
    Code:
    >> OSCam <<  cardserver started at Thu Dec 24 22:42:55 2009
    -------------------------------------------------------------------------------
    2009/12/24 22:42:55    554 s   version=0.99.4svn, build #935, system=mips-dbox2-linux, nice=-5
    2009/12/24 22:42:55    554 s   max. clients=29, client max. idle=120 sec
    2009/12/24 22:42:55    554 s   max. logsize=unlimited
    2009/12/24 22:42:55    554 s   client timeout=7000 ms, fallback timeout=3000 ms, cache delay=0 ms
    2009/12/24 22:42:55    554 s   shared memory initialized (size=477612, fd=3)
    2009/12/24 22:42:55    554 s   auth size=4736
    2009/12/24 22:42:55    554 s   services reloaded: 0 services freed, 1 services loaded
    2009/12/24 22:42:55    554 s   userdb reloaded: 0 accounts freed, 2 accounts loaded
    2009/12/24 22:42:55    554 s   signal handling initialized (type=sysv)
    2009/12/24 22:42:55    554 s   2340 service-id's loaded
    2009/12/24 22:42:55    554 s   22 lengths for caid guessing loaded
    2009/12/24 22:42:55    554 s   monitor: initialized (fd=7, port=988)
    2009/12/24 22:42:55    554 s   camd 3.3x: disabled
    2009/12/24 22:42:55    554 s   camd 3.5x: disabled
    2009/12/24 22:42:55    554 s   cs378x: disabled
    2009/12/24 22:42:55    554 s   newcamd: initialized (fd=8, port=PORT, crypted)
    2009/12/24 22:42:55    554 s   CAID: 1801
    2009/12/24 22:42:55    554 s   provid #0: 000000
    2009/12/24 22:42:55    554 s   CAID: 1830
    2009/12/24 22:42:55    554 s   provid #0: 003411
    2009/12/24 22:42:55    554 s   radegast: disabled
    2009/12/24 22:42:55    554 s   resolver thread started
    2009/12/24 22:42:55    554 s   logger started (pid=557)
    2009/12/24 22:42:55    554 s   resolver started (pid=558, delay=15 sec)
    2009/12/24 22:42:55    554 s   reader started (pid=559, device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    2009/12/24 22:42:55    554 s   anti cascading disabled
    2009/12/24 22:42:58    559 r02 card detected
    2009/12/24 22:43:03    559 r02 ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 44 4E 41 53 50 31 34 32 20 52 65 76 47 43 34 63
    2009/12/24 22:43:05    559 r02 -----------------------------------------
    2009/12/24 22:43:05    559 r02 |id  |tier    |valid from  |valid to    |
    2009/12/24 22:43:05    559 r02 +----+--------+------------+------------+
    2009/12/24 22:43:05    559 r02 |8011|0064    |1992/01/01  |1993/01/01  |
    2009/12/24 22:43:06    559 r02 |8011|0065    |1992/01/01  |1993/01/01  |
    2009/12/24 22:43:06    559 r02 -----------------------------------------
    2009/12/24 22:43:07    559 r02 ROM:    D N A S P 1 4 2
    2009/12/24 22:43:07    559 r02 REV:    R e v G C 4
    2009/12/24 22:43:07    559 r02 SER:    BLABLABLA
    2009/12/24 22:43:07    559 r02 CAID:   1830
    2009/12/24 22:43:07    559 r02 Prv.ID: 00 00 34 11 (sysid)
    2009/12/24 22:43:07    559 r02 Prv.ID: 00 00 80 11
    2009/12/24 22:43:07    559 r02 ready for requests
    2009/12/24 22:44:14    554 s   client(1) connect from 192.168.IP.IP (pid=563, pipfd=15)
    2009/12/24 22:44:14    563 c01 encrypted newcamd:PORT-client 192.168.IP.IP granted (intern, au=hdplus)
    2009/12/24 22:44:14    563 c01 user intern authenticated successfully (using client 6D67)
    2009/12/24 22:44:14    563 c01 AU wont be used on this port -> disable AU 
    Es kommen aber keine Anfragen von der Octi mit mgcamd :§e

    Hier die mg_cfg von dem Octi:
    Code:
    # EMM messages
    #    00 don't show any EMMs (default)
    #    01 show only valid EMMs
    #    02 show valid and bad EMMs with complete data display
    M: { 02 }
    
    # ECM messages
    #    00 don't show anything about ecm
    #    01 normal mode, show pids processed, decoded ecm and cw
    #    02 verbose mode, show valid and bad ECMs with data
    C: { 01 }
    
    # AU
    #    00 disable, no emm pids processed
    #    01 enable, emm pids always processed for soft-au and shared cards
    #    02 auto, emm started only if channel cant be decoded
    #    03 process emm pids for network cards update only
    A: { 03 }
    
    # key update (sum 01 or 02 with 04)
    #    01 update only new keys, default setting
    #    02 update all keys (used for valid PMK checking)
    #    04 enable TPS au
    #    + tps au pid
    U: { 01 }
    
    # config files folder (softcam, autoroll, ignore/priority)
    #    00 files in /var/keys
    #    01 files in /tmp
    T: { 00 }
    
    # network mode, use summ for several clients
    #    00 no network (default)
    #    01 newcamd netclient
    #    02 radegast netclient
    #    04 camd3 netclient
    #    08 gbox netclient
    G: { 01 }
    
    # network retry, use summ for several options
    #    00 disable
    #    01 retry every new ecm
    #    02 try to connect to offline shares every Q: seconds
    #    04 try to detect and fast reconnect to lost (and not used atm) server
    #    + XX messages number and YY seconds to reconnect
    #    mg will reconnect to server, if no answer to last XX ecm/keepalive or
    #    if no answer for last ecm or keepalive sent for YY seconds
    #    set to 0 to disable
    N: { 07 } 5 30
    
    # network ecm timeout in seconds
    K: { 60 }
    
    # newcamd dead routes connect retry, sec
    Q: { 3 }
    
    # network shares priority
    # 00 gbox, newcamd, radegast, camd3 (default)
    # 01 camd3, radegast, newcamd, gbox
    # 02 newcamd, camd3, gbox, radegast
    P: { 02 }
    
    # on screen display type
    #    00 No OSD (default)
    #    01 neutrino
    #    02 enigma
    #    03 relook
    #    + user password for http auth
    O: { 01 } username password
    
    # on screen display Options, summ of:
    #    01 show emu ecm
    #    02 show network shares messages
    #    04 show decoding failed / fta
    #    08 show emm keys update
    #    + web port to use for osd
    S: { 01 } 8080
    
    # Log option, summ of:
    #    00 off
    #    01 network udp log
    #    02 log to console
    #    04 file, appended ! delete it by yourself, before it eat all your hdd
    #    + IP udp-port log-file-name
    L: { 02 } 127.0.0.1 28007 /tmp/mgcamd.log
    
    # keep ecm cache, seconds
    # every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
    # for openbox/elanvision users with remote shares make sense to set it higher than default value,
    # to not hammer cards while timeshifting or playing crypted recordings.
    E: { 30 }
    
    # cache option, summ of:
    #    00 Off (default)
    #    01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
    #    02 Ecm data cache, remember CW for (E:) time
    #    04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
    H: { 07 }
    
    # reread files, summ of:
    #    00 No (default)
    #    01 reread config file on channel change (including priority and ignore, but not replace/cache)
    #    02 reread SoftCam.Key on channel change
    #    04 reread SoftCam.Key if file changed
    R: { 00 }
    
    # debug, summ of
    # 00 off (default)
    # 01 debug ecm
    # 02 debug emm
    # 04 debug network ecm
    # 08 debug network emm
    # 16 debug network login
    # 32 show mem/cpu stats every 1 min
    # 64 add timestamp to log messages
    D: { 16 }
    
    # box type
    # 00 autodetect, change only if you think wrong type detected.
    # 01 dbox2
    # 02 dreambox
    # 03 triple-dragon
    # 04 relook
    # 05 openbox
    B: { 12 }
    
    # urls for aes keys update, any number or urls allowed,
    # url data must contain key in format 0500:007C00:0000000000:00:key1:keyl
    # W: { http://some.host.com/keys.php } 
    newcamd.list:
    Code:
    CWS_KEEPALIVE = 300
    CWS_INCOMING_PORT = 21000
    CWS = 192.168.IP.IP PORT intern PASSWORT 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
    replace.list:
    Code:
    X: {{ 1801 } { 1830 }}
    X: {{ 1830 } { 1801 }}
    
    und sie start.sh:
    Code:
    #! /bin/bash
    #
    # plugin
    #
    
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    DAEMON=/var/bin/mgcamd
    DESC="mgcamd"
    NAME=mgcamd
    USERID=root
    GROUPID=root
    
    test -x $DAEMON || exit 0
    
    case "$1" in
      start)
            echo -n "Starting $DESC: "
    
                    count=0
                    until [ `cat /tmp/resolv.conf | grep -c nameserver` -gt 0 ] || [ $count -gt 30 ]
                    do
                        echo -n "Waiting ["
                        sleep 1
                        let count=$count+1
                        echo -n $count
                        echo "]"
                    done
                   
                    if [ `cat /tmp/resolv.conf | grep -c nameserver` -gt 0 ]; then
                        start-stop-daemon -S -c $USERID:$GROUPID \
                        -x $DAEMON
                    fi
                   
            ;;
      stop)
            echo -n "Stopping $DESC: "
            start-stop-daemon -K -q -x $DAEMON
            echo "$NAME."
            ;;
    esac
    
    exit 0 
    So, eine ne Idee warum der mgcamd nichts sendet?? :)
     
    #1

Diese Seite empfehlen