Setting Up MythTV in Debian 8 (or Armbian Jessie)

  • Boot Debian 8 Network Install CD (or Armbian Jessie image. If running Armbian with a USB harddrive, now would be a good time to run ‘nand-sata-install’ to boot off the HDD.)
  • Select “Install”.
  • Create “myth” user.
  • Choose separate “home” partition.
  • When prompted for software packages to install, unselect everything except “SSH Server” and “Standard System Utilities”.
  • Log in as “root” and run “apt-get install sudo”.  Then add “myth    ALL=(ALL:ALL) ALL” to /etc/sudoers & log out.
  • Log in as “myth” and add the following to /etc/apt/sources.list:
    • #deb-multimedia
    • deb http://deb-multimedia.org/ jessie main non-free
  • Add the following to /etc/apt/sources.list.d/webmin.list:
    • deb http://download.webmin.com/download/repository sarge contrib
  • Create the following directories:
    • mkdir /home/myth/recordings
    • chmod -R 777 /home/myth/recordings
    • mkdir /home/myth/recordings/banners
    • mkdir /home/myth/recordings/fanart
    • mkdir /home/myth/recordings/coverart
  • Run the following commands:
    • wget http://www.webmin.com/jcameron-key.asc
    • sudo apt-key add jcameron-key.asc
    • sudo apt-get update
    • sudo apt-get install deb-multimedia-keyring
    • sudo apt-get update
    • sudo apt-get upgrade
    • sudo apt-get install xauth webmin

      (Set Time Zone in Webmin. Time server is pool.ntp.org.)
    • sudo apt-get install mythtv mythweb
    • sudo service ntp start
    • wget https://github.com/MythTV/mythtv/raw/master/mythtv/programs/scripts/database/mythconverg_restore.pl
    • chmod a+x mythconverg_restore.pl
      (Use Webmin to copy MythTV database backup to root folder)
    • ./mythconverg_restore.pl –drop_database –create_database –directory /home/myth –filename mythconverg-1317-20170223222314.sql.gz
  • Edit /etc/php5/apache2/php.ini to fix a bug in mythweb:
    • max_input_vars = 100000
  • Add the IP address of the computer to /etc/mysql/my.cnf:
    • bind-address = 10.0.1.10
  • Restart Apache and MySQL. Also, start Myth Backend and run mythtv-setup from a remote computer:
    • sudo service apache2 restart
    • sudo service mysql restart
    • sudo service mythtv-backend start
    • (from remote computer) ssh myth@10.0.1.10 -X
    • (from remote computer) sudo nano /etc/mythtv/config.xml (copy database password)
    • (from remote computer) mythtv-setup (change the IP address to the IP address running MythTV and paste the database password).  You should now be able to finish setting up MythTV.
    • mythmetadatalookup –refresh-all-rules
    • mythmetadatalookup –refresh-all
    • mythmetadatalookup –refresh-all-artwork

Asterisk 10 (1.10) SMS (messaging or SIP Messaging) in action

[UPDATE: WORKS FLAWLESSLY WITH ASTERISK 11 TOO…On Asterisk 11, you can choose XMPP as well as the protocol, right now its just SIP:, imagine the possibilities. Also fixed the issue when failed message]

[ANOTHER UPDATE FOR Offline message – We all know when devices are offline, messages cannot be sent and it will be discarded by Asterisk. I’ve written another dialplan/solution to that here]

With Asterisk 10 comes a channel independent dialplan for handling SIP MESSAGING (and jabber if that’s configured) method. In other words, phones that support SIP Continue reading

Debian Squeeze on a SheevaPlug

Setup

The process is fairly straight forward, but there are some requirements:

  • A TFTP server with some specific files. These should all be in the root of the TFTP directory.
  • The latest version of the SheevaPlug U-Boot binary.
  • The latest version of the Debian installer image (uImage and uInitrd).
  • The latest version of the Linux kernel (optimized for SheevaPlug; uImage and Modules).
  • A 2+ GB USB thumb drive.
  • Terminal emulation software (GNU screen, PuTTY, minicom, HyperTerm) [Note: Mac OS X’s version of screen seems to have issues with the debian installer, so I used PuTTY in a VM.]

Continue reading

How to Install Oracle Java JRE on Ubuntu Linux

How to Install Oracle Java JRE on Ubuntu Linux

This tutorial will cover the installation of 32-bit and 64-bit Oracle Java 7 (currently version number 1.8.0_5) JRE on 32-bit and 64-bit Ubuntu operating systems. These instructions will also work on Debian and Linux Mint. This article is intended for those who only want to install Oracle Java JRE on their Debian based Linux systems, such as Debian, Ubuntu and Linux Mint. Using this method you will only be able to run and execute Java programs and not be able to develop and program in Java. This article was created due to so many requests from other users who wanted to know how to only install Oracle Java JRE on their Ubuntu systems. I included a section on how to enable Oracle Java JRE in your web Continue reading

Voip.ms FreePBX Settings

PEER Details

canreinvite=nonat
nat=yes
context=from-trunk
host=losangeles.voip.ms
secret=******
type=peer
username=100000 (Your Voip.ms Account Number)
disallow=all
allow=ulaw&g729
fromuser=100000 (Your Voip.ms Account Number)
trustrpid=yes
sendrpid=yes
insecure=port,invite
qualify=yes
Register String

100000:******@losangeles.voip.ms:5060 (or port 5080)

Configure postfix with Gmail via Webmin

Configure postfix with Gmail via Webmin

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the lines :

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

You should also fetch and install a GPG key with which the repository is signed, with the commands : Continue reading

Howto install Oracle (Sun) Java JRE for Linux Mint

Howto install Oracle (Sun) Java JRE for Linux Mint


In this tutorial you can read how to configure java and the java browser plugin.


1. Open up the Terminal (Applications > Accessories > Terminal).

2. Copy/Paste or type the following line of code into Terminal and then press enter:

3. First remove every openjdk package including icedtea-plugin:

sudo apt-get update && apt-get remove openjdk-6-jre

Continue reading