Workload Scheduler users: You need rlwrap

If you use the Linux shell very much, you find its history functions very useful. You can recall previous commands very easily, just using the arrow keys.
If you use the Workload Scheduler command-line interfaces, conman and composer, you really miss the history. Sure there's the redo command, but its editing capability is limited to the last command you typed.

Backup and restore mySQL (MariaDB) database

Backup:
/usr/bin/mysqldump --user=dbuser --password=dbpass --host=localhost --add-drop-table dbname > backups/mydbdump.sql

Restore:
(if the db exist)
# mysql -u root -p[root_password] [database_name] < dumpfilename.sql

mysql -u root -ps3cre3t

mysql> create database dbname;
Query OK, 1 row affected (0.02 sec)

# mysql -u root -ps3cre3t db < /tmp/mydbdump.sql

Meet Lima

It appears the 'beacon' is their service:
strings on beacon got a lot... what makes me feel this is their 'stuff':
could not read eth0 IPv4...
beacon.api.meetlima.com
/home/denis/lima/git/lima-wanserr-firmware/openwrt/staging

A quick look it appears that

pin signal
9 TX
8 RX
7 gnd

This is the unpopulated set of through-hole pads on the daughter card near the RJ45 end of the card. With jtagulator connected

Using the Linux alternatives command to manage multiple Arduino IDE versions

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.

  • Firewall rules for HDHomeRun on Fedora 20

    $ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 5002 -j ACCEPT
    success
    $ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 5004 -j ACCEPT
    success
    $ sudo firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -m state --state NEW -m udp -p udp --sport 65001 -j ACCEPT
    success
    $ sudo firewall-cmd --reload