Setting up Debian with Oscam Help Needed

There are 14 replies in this Thread which was already clicked 1,065 times. The last Post () by Chris2005.

  • Hi All


    I've decided to try and learn abit about linux by using my dell C521 which I have installed 32 bit debian.


    Debian is up and running but Im having problems getting oscam installed.


    When I type this apt-update I get E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    root@debian:/home/chris

  • You are logged in as root as your text says? thats the only thing that could do that, else i never heard about that error before, looks wierd :/
    Else ill try to reinstall the box with the newest wheezy dist.

  • normally you'll be logged in as whatever user you created for yourself, so you'll need either to su to root, or run sudo apt-get update to update your package list, and then sudo apt-get upgrade to upgrade packages. I dont know if there is a repository for oscam (I'm normally compiling myself), but if you have that repository installed (entry in /etc/apt/sources.list.d, something like oscam.list), you can run apt-cache search oscam to get the package name, and then sudo apt-get install oscamXXX or whatver the particular package that you want....

  • I rebooted the system and then the apt-upgrade worked ok and I get 7.3 when I type cat /etc/debian_version


    But when I go to the next stage and type apt-get install build-essential


    I get


    Need to get 0 B/33.0 MB of archives.
    After this operation, 86.8 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Failed to fetch cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/pool/main/e/eglibc/libc-dev-bin_2.13-38_i386.deb Hash Sum mismatch
    Failed to fetch cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/pool/main/e/eglibc/libc6-dev_2.13-38_i386.deb Hash Sum mismatch
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

  • your apt-get isnt using a Repositorie it trys to install from your install disk.Check your /etc/apt/sources.list.
    Should look something like this (this is for debian wheezy)
    deb http://http.debian.net/debian wheezy main
    deb-src http://http.debian.net/debian wheezy main


    deb http://http.debian.net/debian wheezy-updates main
    deb-src http://http.debian.net/debian wheezy-updates main


    deb http://security.debian.org/ wheezy/updates main
    deb-src http://security.debian.org/ wheezy/updates main


    any lines with deb cdrom: should look like this #deb cdrom:
    The # disables whats after.

  • root@debian:/home/chris2005# /etc/apt/sources.list
    bash: /etc/apt/sources.list: Permission denied
    root@debian:/home/chris2005#


    If I type this I get the list but cant edit



    sudo vi /etc/apt/sources.list


    # deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main


    deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main


    deb http://ftp.uk.debian.org/debian/ wheezy main
    deb-src http://ftp.uk.debian.org/debian/ wheezy main


    deb http://security.debian.org/ wheezy/updates main contrib
    deb-src http://security.debian.org/ wheezy/updates main contrib


    # wheezy-updates, previously known as 'volatile'
    deb http://ftp.uk.debian.org/debian/ wheezy-updates main contrib
    deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main contrib
    ~

  • Do you have an editor installed ? ge edit - for example !
    have you tried to FTP the file and edit it ? permissions might need changing.

    78cm dish on tm2300 metal gear motor + 1m Orb with tm2300 + 1.8m Channel Master on H-H floor mount + 80cm ISS with TM2300 AND Inverto Black LNB,inverto Unicable QUDL 42 LNB,- Global invacom Dscc LNB,- Triax KA LNB, - Yuri LNBF C Band YLF-CDP16C

  • Getting there slowly


    Trying to install oscam but getting this message


    root@debian:/usr/src# cd /usr/src
    root@debian:/usr/src# svn co http://streamboard.gmc.to/svn/oscam/trunk oscam
    cd oscam
    cmake -DWEBIF=1 -DPCSC=1
    make



    svn: OPTIONS of 'http://streamboard.gmc.to/svn/oscam/trunk': could not connect to server (http://streamboard.gmc.to)
    root@debian:/usr/src# cd oscam
    bash: cd: oscam: No such file or directory
    root@debian:/usr/src# cmake -DWEBIF=1 -DPCSC=1
    CMake Error: The source directory "/usr/src" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    root@debian:/usr/src# make
    make: *** No targets specified and no makefile found. Stop.

  • Try simplebuild script m8. It is (as the name suggests) simple & It will install all required packages..
    http://linuxsat-support.com/showthread.php?t=30959


    NOTE: This will just compile oscam, why dont you use an auto install script to setup oscam with check scripts etc??


    TF




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

    Edited 2 times, last by thatfellow ().

  • Hi Thatfellow


    The tutorial is absolutely great.


    I have got down to sectiom 3 now and am a bit unsure what to do next .


    Do I skip that part and move onto webif?


    When I got to section 3 everything was as shown but I went away for ten minutes and had to log back into debian, but when I logged in everything was froze and had to reboot.


    How do I get back to where I was previously with the streamboard screen showing?

  • Ok can open simple build by typing cd /opt/simplebuild
    ./simplebuild menu


    I have extracted the url to desktop for webif but dont no how to FTP the file to simple build root

  • If you was sucessful building oscam it will be in /opt/simplebuild/archive.It will be named something like "oscam-svn9437......"
    Use winscp to renamne it to oscam and move it to /usr/local/bin.Just as shown in part 3 of the simplebuild tutorial.
    The webif is used to connect to oscam from a pc via webbrowser.If your Debian server has ip 192.168.1.100 you just write 192.168.1.100:8080 in your webbrowser. when oscam is upp and running.Dont understand what url you have extracted to desktop.

    Edited once, last by samot4 ().

  • The file is now transfered through winscp


    Checking to see if things are ok with oscam now with the file in place I've typed root@debian:/home/chris# /usr/local/bin/oscam –b


    and get this message


    Warning: duplicate account

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!