By gill, 17 December, 2014

The Arduino package contains an IDE that can be used to develop and upload code to the micro-controller.

  • Install from the repositories:

    sudo yum -y install arduino

    Run the Arduino IDE and set your preferences, etc. and test that it works. Your user may need to be added to some groups (dialout and lock in Fedora 20) to have permissions to write to the serial interface on your computer.

    Optionally, install the alternatives graphical user interface. You can use this interface to switch between your options rather than using the command.

  • By gill, 10 December, 2014

    service clamd start
    Starting Clam AntiVirus Daemon: ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
    ERROR: Can't initialize the internal logger
    [FAILED]

    # grep clam /etc/selinux/targeted/contexts/files/file_contexts

    /var/log/clamav.* system_u:object_r:antivirus_log_t:s0

    # semanage fcontext -a -t antivirus_log_t "/var/log/clamav(/.*)?"
    # restorecon -R /var/log/clamav
    # chown clam:clam /var/log/clamav *log

    By gill, 21 September, 2014

    Download java:
    http://java.com/en/download/linux_manual.jsp?locale=en
    Install with rpm:
    rpm -Uvh jre-7u67-linux-x64.rpm
    Set alternatives:
    update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1 \
    --slave "/usr/bin/keytool" "keytool" "/usr/java/latest/jre/bin/keytool" \
    --slave "/usr/bin/unpack200" "unpack200" "/usr/java/latest/bin/unpack200" \
    --slave "/usr/bin/pack200" "pack200" "/usr/java/latest/bin/pack200" \
    --slave "/usr/bin/rmid" "rmid" "/usr/java/latest/bin/rmid" \

    By gill, 31 July, 2014

    Ran some tests and found these DNS entries for my router are faster:

  • 24.93.41.125
  • 209.18.47.62
  • However, they are managed by TimeWarner, and are not very reliable.
    So, maybe I go back to OpenDNS

  • 208.67.222.222
  • 208.67.220.220
  • or
    Google DNS

  • 8.8.8.8
  • 8.8.4.4
  • By gill, 18 July, 2014

    Setup the BeagleBone Black with Motorola Atrix Lapdock
    Make a backup first; edit /boot/uboot/uEnv.txt
    Comment out optargs, then add a line:

    ## Graphics for Altrix
    optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI video=HDMI-A-1:1360x768M@60

    Edit /etc/X11/xorg.conf (make a backup first)

    Section "Module"
    Load "extmod"
    Load "dbe"
    Load "glx"
    Load "freetype"
    Load "type1"
    Load "record"
    Load "dri"

    By gill, 18 July, 2014

    Run lsusb and make sure the dongle is registered.

    Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    Create /etc/wpa_supplicant/wpa_supplicant.conf

    ctrl_interface=/var/run/wpa_supplicant
    # WPA network
    network={
    ssid="fishred"
    psk="thepassphrase"
    priority=1
    }
    # WPA network
    network={
    ssid="fishblue"
    psk="thepassphrase"
    priority=1
    }

    Edit /etc/network/interfaces

    By gill, 5 June, 2014

    Zoneminder was running, and it does the job fine. But the server kept crashing. So I'm installing something simpler, after replacing the OS.
    CentOS 6.5
    Get epel, rpmforge repos
    Install Apache, php
    yum install ffmpeg
    Run ffserver