Posts by thatfellow

    Glad to hear its at least on the mend m8, Its a very strange1 but it would not be the first time things just went wrong for no apparent reason, that's what makes this such a hands on hobby... As soon as you get all ur channels updated, make a backup of your box as a starting point for the next disaster. I have a 200GB Portable hard drive half full with dated backups of Box's, Server images & Config settings to restore when i need them. Good luck m8..

    Yeah, its a strange one m8.. 1 last thing you could do to troubleshoot the problem is set up the Dreambox with the card in it and see if the channels are clearing normally.. I suppose that should rule out the box itself as the problem. At least then you can concentrate on the network & Server settings.. Also have you comed through your cccam.cfg for duplicate lines, typo's etc?

    well m8 if everything on your server is 100% id be starting to think about re-flashing the box.. It might be some corrupted software in the box itself

    Just a thought m8, Is there any chance that the old N:Line in your dreambox from when you were using the dreambox as a server is still in use even though u are using your omnikey reader now with N:Line in your server? That might be causing some sort of conflict.

    The openbox's came with same mac address's.. I was using both myself and had to ditch 1 cos they kept blocking each other... I know its not a Mac Address issue with your Dreambox but it could be that you reserved an IP address in router for Dreambox mac address and you have a different static address set up in the dreambox... It deffo sounds like something along those lines..

    m8, I had the exact same problem yesterday with 2 openbox's.. After reading up it was caused by both box's having same Mac address.. I had to get one off my network.

    Oscam/Cccam commands
    Update cccam.cfg file?
    ftp updated cccam.cfg file to /var/config then run command below:

    Code
    /var/script/configupdate.sh


    Stop CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.

    Code
    sudo killall -9 CCcam.x86_64


    Start CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.

    Code
    sudo CCcam.x86_64 -b


    Stop oscam:

    Code
    sudo killall -9 oscam


    Start oscam:

    Code
    sudo oscam -b


    Log file:

    Code
    tail -f /var/log/oscam.log


    Edit oscam.server:

    Code
    sudo pico /usr/local/etc/oscam.server


    Edit oscam.user:

    Code
    sudo pico /usr/local/etc/oscam.user


    Edit oscam.conf:

    Code
    sudo pico /usr/local/etc/oscam.conf


    Update CCcam Channel Info

    Code
    wget -O /var/etc/CCcam.channelinfo http://tinyurl.com/csmcu44


    Update CCcam Providers

    Code
    wget -O /var/etc/CCcam.providers http://tinyurl.com/cgo8ogc


    Clean oscam/cccam Log Files

    Code
    /var/script/LogCleanup.sh



    Ubuntu System Commands


    Power Commands
    Shutdown computer

    Code
    sudo poweroff


    of

    Code
    sudo shutdown -h now


    reboot computer

    Code
    sudo reboot


    or

    Code
    sudo shutdown -r 0


    Network Configuration
    Open network configuration file

    Code
    sudo nano /etc/network/interfaces


    Restart the network:

    Code
    sudo /etc/init.d/networking restart


    Change Timezone
    The easiest way to do this is to reconfigure the tzdata package

    Code
    sudo dpkg-reconfigure tzdata


    Updates
    Get update software list, enter:

    Code
    sudo apt-get update


    Update software(s) i.e. apply updates:

    Code
    sudo apt-get upgrade


    Apply kernel upgrade:

    Code
    sudo apt-get dist-upgrade


    Upgrade individual software packages command:

    Code
    sudo apt-get install name-of-package


    Ping

    Code
    ping -c3 www.google.ie


    Speedtest
    To simply test your internet Speed, enter:

    Code
    wget -O/dev/null speedtest.pixelwolf.ch


    Clean
    To clear the cache you can use either the clean or the auto-clean op for a command-line program called apt-get. The clean command will remove every single cached item, while the auto-clean command only removes cached items that can no longer be downloaded (these items are often unnecessary).

    Code
    sudo apt-get clean


    To remove packages that were automatically installed to satisfy dependencies for other package and that are no longer needed.

    Code
    sudo apt-get autoremove


    After installing anything with apt-get install, localepurge will remove all translation files and translated man pages in languages you cannot read.

    Code
    sudo apt-get install localepurge



    If you want to configure localepurge you need to edit

    Code
    sudo pico /etc/locale.nopurge




    List Devices attached:

    Code
    sudo lsusb


    Checking open ports on Ubuntu

    Code
    netstat -anltp | grep "LISTEN"


    Enable root account

    Code
    sudo passwd root


    Chmod for a folder and all of its subfolders and files

    Code
    sudo chmod 755 -R /whatever/your/directory/is


    Dynamic DNS updater (ddclient)
    To install ddclient:

    Code
    sudo apt-get install ddclient


    To reconfigure ddclient installation:

    Code
    dpkg-reconfigure ddclient


    View Log Files
    General log messages

    Code
    more /var/log/messages


    System boot log

    Code
    more /var/log/boot


    Debugging log messages

    Code
    more /var/log/debug


    User login and authentication logs

    Code
    more /var/log/auth.log


    Running services such as squid, ntpd and others log message to this file

    Code
    more /var/log/daemon.log


    Linux kernel ring buffer log

    Code
    more /var/log/dmesg


    All binary package log includes package installation and other information

    Code
    more /var/log/dpkg.log


    User failed login log file

    Code
    more /var/log/faillog


    Kernel log file

    Code
    more /var/log/kern.log


    MySQL server log file

    Code
    more /var/log/mysql.*


    All userlevel logs

    Code
    more /var/log/user.log


    Apache web server log files directory

    Code
    more /var/log/apache2/*


    fsck command log

    Code
    more /var/log/fsck/*


    Application crash report / log file

    Code
    more /var/log/apport.log

    I use 2x vonets wifi bridge in my mother’s house & find that they can freeze and they are a bit glitchy. I have looked into homeplugs also but I am now thinking of just wiring the house with 2 Ethernet ports to avoid all kinds of bridges.


    I know this is a bit of work but it will just make life so much easier in the long run. I have been driven mad running internet connectivity monitors and what not to try and identify the problems and I have come to the conclusion that the only weak link in the setup is the vonets wifi bridge. They are a great piece of kit but they are just not 100% rock solid & that is what we are all after to make our lives a little easier.


    I have tested Wired DM500 & vonets wifi bridge DM500 side by side for days and the results are clear to see. I would love to think the home plug would save me all the hassle of running wires through the attic but from what I have read the signal loss is huge and the best of them make massive exaggerations on their speeds & quality. I would be very interested to know what make n model of homeplug you use shamonemf..

    M8, if you survived the first attack by your wife for spending that on the dish, I’m sure the second onslaught after she saw it installed would be worse... I'm still having trouble trying to get that 1.2m dish past the missis...

    To be honest m8, Difference between sata2 & sata3 is just theoretical speed in the interface , most sata2 & sata3 hard drives still have mechanical limits that are pretty similar in speed..

    OK m8, as pointed out above you have some conflicting info but you could start with these points.
    1).. Set your box IP address to static within Router
    2).. If you have locked your cccam.cfg F:line to the old IP address (when the box was in your own house), it will be refused connection to your cccam server from the new location (in your sisters house), You will have to remove the old IP address from the end of the F:Line in cccam.cfg.
    3).. Confirm that your box is connected to the network correctly, most box's have network tests within the networking settings in the menu.


    Good luck

    Im not 100% sure that I understand your question, but if you want to


    (a)remotely access the server terminal from your PC
    &
    (b) remotely copy files to and from your server via your PC


    you could use


    (a) putty
    (b) WinSCP


    I use these programs from my windows PC to do both.


    You will firstly have to install OpenSSH on Ubuntu with the following command


    Code
    sudo apt-get install ssh

    From time to time you might want to make big changes to your server, changes that might involve risking server stability. You might also want try another Operating System (Switch from Debian to Ubuntu or vice versa) or upgrade from 32Bit OS to 64 Bit OS. Most of these tasks involve the risk of big downtime. I am going to outline a few simple steps to keep downtime to an absolute minimum no matter how big the Upgrade or problem. This Tutorial might seem a bit long winded but it is aimed at the complete novice.



    Tools you will Need:


    a)… hbcd-15.1-Restored-V1.0-dvd-proteus
    Make sure it is the restored edition, this edition includes all the commercial software that you don’t get with the official Hiren’s Boot DVD.


    b)… Blank DVD


    c)… USB Key or portable Hard Drive to store the Backup’s on. (I use 8GB USB Key)



    Step 1 (Burning the DVD)


    Within the folder you will find the “hbcd-15.1-Restored-V1.0-dvd-proteus.iso”. Insert your Blank DVD & burn this iso to a blank DVD with your favourite DVD burning software. (I use windows Disk burner included in Win7, Just right click on the file & click burn disk image) You now have your Hirens Boot DVD.



    Step 2 (Creating the backup)


    For this step you will need a keyboard, mouse & monitor connected to your Server.



    a)… Put the DVD into your server & click CTR+ALT+DEL to restart Server


    b)… Press F12 at boot logo Screen to select Boot Device (Might be different on different Systems)


    c)… From Boot Device Menu Select CD\DVD Drive & hit enter (This will boot your server from the DVD)



    d)… From the first screen, select Windows (Mini-XP, Mini7, MRI)



    e).. From the next screen select Windows XP



    f)… When the Mini XP OS loads, click on the Start button and HBCD



    g)… From the HBCD select programs / Backup / Acronis / True image Home



    h).. When Acronis True image Home loads, click Backup My Disks



    i).. From the next screen, Select your Ubuntu / Debian hard drive



    j).. From the new (Browse for location) window select where you want to store the backup, then in the File name box type a name for the Backup image. I usually use todays date followed by a description of the backup.
    e.g.(2012-07-05 Ubuntu 10.04 Oscam Cccam)



    k).. Select Create new backup archive and click Next



    That’s it, your Backup has started, it should take no more than 1-2 minutes.



    Restoring the Backup (If or when the time comes)



    Step 3 (Wiping the existing Linux Disk)


    Follow Steps (a) through (f) from Step 2 above to start Hirens Boot CD then follow steps below


    i).. From the HBCD select programs / Partition Boot MBR / Par4tition Wizard



    ii).. From the Partition Wizard Window, right click on your Linux Disk and Select Delete all Partitions



    iii).. Next click Apply up the top left and Close down Partition Wizard





    Step 4 (Restoring Backup to Wiped Disk)


    i).. From the HBCD select programs / Backup / Acronis / True image Home



    ii).. When Acronis True image Home loads, click Recover My Disks



    iii) Browse to the backup you want to restore and click OK



    iv).. Click Next on this screen



    v).. Select Recover whole disks and partitions and click Next



    vi).. Select Disk 1 and make sure to select all partitions below it and click Next



    vii).. I could not get a screenshot for the (Destination of Disk 1) step because I did not need to Restore my backup, but all you have to do is point out the drive that you wish to restore the backup to i.e. Your Linux Hard Drive.



    That is the restore process started, again it should take no longer than 2 minutes.


    Step 5 Reboot into restored Disk


    1).. Remove the DVD
    2).. Unplug the USB Backup drive/Key
    3).. Click Start / Reboot


    That’s it, your Linux System has been restored to the backed up image.


    This procedure might seem pretty daunting the first time but It’s a 5 minute start to finish when you get the hang of it & it has saved my ass many times..


    If you would prefer to print, here is a pdf version of this tutorial
    How to backup Linux Server in 5 Easy Steps Revised.pdf




    Another Step you might add to this tutorial is creating a Boot Usb Stick from the DVD (The instructions are in the pdf file in the original torrent). Using a USB Stick rather than the Boot DVD means you have all the tools required & all the backups you need on the one device. I use an 8GB stick which allows me to store about 15 Server Backups along side the HBCD Software.

    Quote

    Just a quick comment on the problems, i am running 14.6 image on an original Eagle box & it has been flawless since day 1, perhaps you have network problems. I wouldnt like to see these comments put anyone off trying it, maybe you should start a support thread.


    Point taken Ten, I was not trying to knock the 14.6 image, I was just saying that for me it did not work as well as the 14.5 and I gave it a good run and tested it quite a bit. To be honest, all the problems I found with it were negligible & I could sort them out with a bit of work apart from not being able to flash it by DCC telnet, this was a big issue for me because I have 4 DM500's and I like to perfect my image for my needs then backup & Flash other 3 box's with the same settings but this was not possible over the network, I had to use Null modem to repair after each flash. But I give all the guys that put time into making these images huge credit & I hope they keep up the good work..