Category: Linux

Link and video: Add Voice Control to Your Home with LightwaveRF and a Raspberry Pi

Voice control of our home electronics was promised long ago, but it’s still one of those things that most of us don’t have. If you want to add little voice control to your home on the cheap, blogger Chipos81 shows off how to do it with a Raspberry Pi.

Read more here:
Add Voice Control to Your Home with LightwaveRF and a Raspberry Pi (Lifehacker)

Link: Remotely control your Raspberry Pi

Take control of your Raspberry Pi from your smartphone, tablet or PC, from anywhere in the world

People are starting to do all kinds of things with their Raspberry Pi, like having it open and close a garage door, automate lighting and heating in the home, and so on. Even if you don’t yet have a project like this, this tutorial will still serve as a useful introduction to writing web applications with Python.

Full article here:
Remotely control your Raspberry Pi (Linux User & Developer)

Link: Change the sudo Password Timeout in Ubuntu

In Ubuntu (and any other Ubuntu-based distro), when you use a “sudo” command, the system will prompt you for your password. After the first “sudo” command, the system will remember your password for the next 15 minutes so you don’t have to enter any more password for subsequent “sudo” command. If, however, you feel that the 15 minutes is a bit too long/short, here is how you can change it.

Full article here:
Change the sudo Password Timeout in Ubuntu (Make Tech Easier)

Link: Raspberry Pi – Driving a Relay using GPIO

There’s something exciting about crossing the boundary between the abstract world of software and the physical ‘real world’, and a relay driven from a GPIO pin seemed like a good example of this. Although a simple project, I still learned some new things about the Raspberry Pi while doing it.

Full article here:
Link: Raspberry Pi – Driving a Relay using GPIO (SusaNET)

Related artcle:
Tutorial: How to use your Raspberry Pi like an Arduino (Limina.Log)

Link: How To Use Bash History to Improve Your Command-Line Productivity

Whether you’re new to the Linux command-line or you’re a seasoned veteran, these tricks will help turn your text-based meanderings into full-blown marathons. Save time, speed up your productivity, and enhance your Linux-Fu, all at once!

How To Use Bash History to Improve Your Command-Line Productivity (How-To Geek)

Link: How to Emulate Google Chromecast on Windows, Mac and Linux Desktop

Google’s latest hardware offering, Chromecast was an instant hit as it promised a better way of beaming/ controlling  multimedia content from your mobile phone on to a TV than the current choices we have right now. Now when a popular company like Google is trying to solve an age old problem that haunted Android, with a less expensive ($35) hardware, we should expect it to run out of stock. That is what exactly happened to Chromecast as it ran out of stock on all popular online stores including Google’s own Play store. Now if you have already pre-ordered a Chromecast or is in queue, here is something for you impatient folks, ready to play with few command lines.

Github user (dz0ny) has developed a Python package called Leapcast that can emulate the Chromecast hardware in Chromium environment running on your Mac, Windows and Linux. In order to achieve this hack on your computer all you have to do is carefully follow the steps below.

Full article here:
How to Emulate Google Chromecast on Windows, Mac and Linux Desktop (Compixels)

Link: Linux How-To: Use ANY IR Remote In The House to Control XBMC

Use Any IR Remote In The House

This tutorial will show you how to use ANY IR remote in your house to control XBMC.
I have used this method with COMPLETE success on many remotes. I have yet to find one that wont work.

To demonstrate this technique I will download and install the latest XBMCbuntu Live CD (Frodo 12.2) to verify it works “out of the box”
If you deviate from the Live CD XBMCbuntu install you are on your own installing and configuring LIRC.

Full post from the XBMC forum:
Linux How-To: Use ANY IR Remote In The House to Control XBMC

Link: Automatically restart SSH sessions and tunnels Using Autossh

autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic.

Automatically restart SSH sessions and tunnels Using Autossh (Ubuntu Geek)

Links: How To Set Up A Wireless Hotspot (Access Point Mode) That Supports Android In Ubuntu

A wireless hotspot enables a computer to serve as a router over Wi-Fi. Ubuntu lets you easily create a wireless hotspot by using the Network Manager, but it uses an ad hoc network and most Android and Windows Phone devices can’t connect to such networks.
For this reason, I’ve created (in collaboration with Satya) a script called AP-Hotspot that automatically creates an infrastructure (Access Point mode) wireless hotspot in Ubuntu that should work with Android and Windows Phone devices. The script uses hostapd and dnsmasq and it requires Access Point mode support for your wireless card – AP-Hotspot checks for this automatically and won’t run if your wireless card doesn’t support it.

Full article:
How To Set Up A Wireless Hotspot (Access Point Mode) That Supports Android In Ubuntu (Linux A.I)
Alternate location of above article (WebUpd8)

If you don’t feel comfortable running a script, the script is based on these instructions, so if you want you can do it manually:

[GUIDE] Making infrastructure wifi hotspot on ubuntu 12.04/12.10 (xda developers)

Link: Chromecast: Exploiting the Newest Device By Google

Chromecast-stockOn Wednesday, July 24th Google launched the Chromecast. As soon as the source code hit we began our audit. Within a short period of time we had multiple items to look at for when our devices arrived. Then we received our Chromecasts the following day and were able to confirm that one of the bugs existed in the build Chromecast shipped with. From that point on we began building what you are now seeing as our public release package.

Exploit Package:
Our Chromecast exploit package will modify the system to spawn a root shell on port 23. This will allow researchers to better investigate the environment as well as give developers a chance to build and test software on their Chromecasts. For the normal user this release will probably be of no use, for the rest of the community this is just the first step in opening up what has just been a mysterious stick up to this point. We hope that following this release the community will have the tools they need to improve on the shortfalls of this device and make better use of the hardware.

Full story here:
Chromecast: Exploiting the Newest Device By Google. (GTVHacker)

Additional comment: These devices might be a lot more useful to some of us if someone could figure out how to 1) Add a wired network connection, 2) Add an optical audio output for those of us with older receivers (that don’t have HDMI connections) and TVs (that don’t pass audio from a HDMI port back to the receiver). They’re obviously selling these to the low-income crowd, so why would they not assume that you might want to connect this to perfectly good but slightly dated equipment that requires optical audio, or maybe even to a large screen computer monitor that doesn’t have any audio capabilities?

Additional additional comment: If the XBMC developers could create an add-on that would emulate the Chromecast device and in effect turn XBMC into a Chromecast receiver WITHOUT the need for the Chromecast dongle, that would make us VERY happy!

 

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez