Fedora

Install lxde desktop in Fedora 19/20

Posted by on Thursday, 16 January, 2014

sudo yum install @lxde-desktop

ShareThis

How to install and access the CM15A X10 controller in Fedora 15

Posted by on Thursday, 6 October, 2011

Following the previous post about how install and access the CM15A X10 controller in Ubuntu, I’m now publishing similar instructions for Fedora 15.
I use the mochad, Multiple Online Controllers for Home Automation Daemon.
“mochad” is a Linux TCP gateway daemon for the X10 CM15A RF (radio frequency) and PL (power line) controller and the CM19A RF controller.

To get it up and running on Fedora follow these steps.

1 ) Install libusb1 and libusb1-devel (if not already installed):
sudo yum install libusb1 libusb1-devel

2 ) Download mochad:
Visit the mochad homepage and download the latest version OR get this version that is probably not the latest but it works on Fedora 15 at the time my writing this.

3 ) Untar, compile and install mochad:
tar -zxvf mochad-0.1.12.tar.gz
cd mochad-0.1.12
./configure
make
sudo make install

Replace the mochad-0.1.12 with whatever version you download.

4 ) Plug in the CM15A device via the USB port to the box

5 ) Check that the system can see it:
lsusb
Should return a line like this:
Bus 002 Device 065: ID 0bc7:0001 X10 Wireless Technology, Inc.

The Bus and Device might be different in your case.
6 ) Launch the mochad daemon:
sudo /usr/local/bin/mochad

It should return to the prompt with no errors.

8 ) Use it!
To use the mochad daemon you can talk to it on port 1099 (by default) on the localhost using netcat (nc) like this example:
To turn on module A1
nc -c "echo pl a1 on" localhost 1099
To turn off module A1
nc -c "echo pl a1 off" localhost 1099

And that’s it. Check out the mochad homepage for further details.

ShareThis

How to install the Java plugin on Fedora 15 64 bits

Posted by on Tuesday, 4 October, 2011

I’ve found these instructions here:

1. Download the Linux 64 bit rpm from java.com. Ignore the instructions to download the 32-bit version.

2. Follow the instructions on java.com for how to install JRE

3. Exit firefox

4. Make a link to the plugin:
cd /usr/lib64/mozilla/plugins
ln -s /usr/java/jre1.6.0_25/lib/amd64/libnpjp2.so

5. Restart firefox and return to java.com to test

ShareThis