Posts by ste211270

    Hi Jim I would remove Webmin and reinstall mate


    to remove Webmin ( not my work also Haven't tried this myself )


    dpkg --get-selections > webmin-packages.txt
    apt-get --purge remove webmin
    apt-get update
    dpkg --set-selections < webmin-packages.txt
    apt-get dselect-upgrade

    Yes you just give the Ubuntu Server a line from the Zgemma 2S


    thanks for reply
    so when I have done that all I have to do to give a line to family member is enter details in Ubuntu Server in the Osacm user file correct ?

    is it possible to have Zgemmas 2s connected to ubuntu server as the reader and ubuntu server for inputting the share both have Oscam only installed

    Hi Guys have bought the fight for tonight but my card didn't update Entitlements any thoughts ?




    oscam.server


    [reader]
    label = SKYUK
    description = OmniKey AG CardMan 3121
    protocol = pcsc
    device = 1
    caid = 0963
    detect = cd
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    saveemm-u = 1


    oscam.conf
    [global]
    nice = -1
    logfile = /var/log/oscam.log
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 90
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1


    [newcamd]
    port = ####@0963:000000
    serverip = ####
    key = 0102030405060708091011121314
    keepalive = 1
    mgclient = 1


    [cccam]
    port = ####
    serverip = ########
    nodeid = BB26195B106513FE
    version = 2.0.11


    [csp]
    port = #####
    wait_time = 5


    [dvbapi]
    enabled =1
    boxtype = dreambox
    user = localuser
    au = 1



    [webif]
    httpport = 8888
    serverip = ###########
    httpuser = admin
    httppwd = admin
    httprefresh = 10
    httppollrefresh = 2
    httpshowuserinfo = 1
    httpshowcacheexinfo = 1
    httpshowecminfo = 1
    httpshowloadinfo = 1
    httpallowed = 192.168.0.0-255.255.255.255
    httpdyndns = #########


    oscam.user


    [account]
    user = localuser
    group = 1
    au = SKYUK

    Have you tried logging in with the username you would have created during the setup process rather than logging in as root??? does this work?


    Hi Master G
    yes I can log in but not as root user


    - - - Updated - - -


    Hi Master G
    yes I can log in but not as root user


    Ok found the answer BIG thanks to monkified who posted the details on the forum have put the details below for the benefit of another member



    so you can login as root on WinSCP
    :~# sudo passwd -u root
    :~# sudo passwd root
    :~# su
    :~# nano /etc/ssh/sshd_config
    edit line 28 from...
    PermitRootLogin without-password
    to
    PermitRootLogin yes
    Save changes and exit...Then restart SSH...
    :~# service ssh restart




    once you've done what you want to do, change the config back to original

    thanks master G


    - - - Updated - - -


    Hi master G
    have tried this on a fresh install on pc server reinstalled WinSCP still can't get it to work any suggestion ?

    Hi Master G



    tried that one I have been all over the file and webmin done everything I can think of . will do a fresh install try again


    - - - Updated - - -


    Hi Master G



    tried that one I have been all over the file and webmin done everything I can think of . will do a fresh install try again



    Master G do you know where the Home Directory is on your picture and it's got Directory /var/www did you put that in there ?

    Can you not copy the shortcut you created on your pc over to your laptop???


    Hi
    no mate can't do that I run everything from my main pc anyway but for the life of me I can't access laptop as root using WinSCP .I have been messing about that much with laptop that I can't even log into pc server using webmin now


    - - - Updated - - -


    apart from getting root access to ubuntu using putty how does everyone else get root access using WinSCP


    if someone anyone could direct me to a guide please :hmmm:

    If it works from PC but not laptop then I guess you have some problem with your laptop config... What is different???


    the problem is I don't remember what I did in webmin to get root access using WinSCP for Pc I saved a shortcut to my main pc
    so when I need to login as root to pc server I just click on that . but for the life of me I can't do it again on server laptop i'm not using the laptop this is more of a dummy for me to learn from so if I'm not happy with Pc server I can test thing out with laptop first if you know what I mean


    - - - Updated - - -


    anyone any advice please


    - - - Updated - - -


    so my question is how can I get ubuntu root access using WinSCP ? Anyone

    Hi Davvo
    thanks for links mate but I know the password to Webmin .
    I want to use Webmin in order to change password so I can log into server using WinSCP as root user



    it's ok now think I have sorted it

    Hi Guys


    can someone tell me how to change the root password to Ubuntu using Webmin so I can log in Ubuntu with WinSCP using root as name ?
    I know it can be done as I have done it myself just don't remember what:dumb:

    this is my LogCleanup.sh


    do I have to put any info in it also do I need any info in my config.file



    what does this mean
    Output from command /var/script/pcscd_check.sh ..
    No output generated



    OWNER=ste
    TARGETDIR_1=/tmp
    TARGETDIR_2=/var/Oscamlog
    FILE_1=warnings.txt
    FILE_2=Oscam.check
    FILE_3=Oscam.log
    FILE_4=configupdate.log


    echo && date


    if test -f $TARGETDIR_1/$FILE_1 ; then
    echo "warning text present!"
    chown $OWNER $TARGETDIR_1/$FILE_1
    rm $TARGETDIR_1/$FILE_1
    else
    echo "No warning text present?!?!Nothing to remove"
    fi


    if test -f $TARGETDIR_2/$FILE_2 ; then
    echo "Check File present!"
    chown $OWNER $TARGETDIR_2/$FILE_2
    rm $TARGETDIR_2/$FILE_2
    else
    echo "No Check File present?!?! Nothing to remove"
    fi

    if test -f $TARGETDIR_2/$FILE_3 ; then
    echo "Oscam Debug Log precent!"
    chown $OWNER $TARGETDIR_2/$FILE_3
    rm $TARGETDIR_2/$FILE_3
    else
    echo "No! Oscam Debug log present, Oscam did run perfect !!"
    fi


    if test -f $TARGETDIR_2/$FILE_4 ; then
    echo "Check File present!"
    chown $OWNER $TARGETDIR_2/$FILE_4
    rm $TARGETDIR_2/$FILE_4
    else
    echo "No Configupdate log present?!?! Nothing to remove"

    fi
    exit

    thanks devvo will give that a go



    can't get it to work mate.


    how can I CleanUp manually using Webmin ? I did manage to get the reboot at a set time working

    do you have ubuntu server
    or ubuntu desktop


    easier to use ubuntu desktop
    so you can see what your doing


    ubuntu server mate I can see what I'm doing just don't know what i'm doing :nocomment:


    think I should start from scratch what is the best way to do that do you think would I have to reinstall everything