Skip navigation

Category Archives: Tutorial

I found this great little useful feature hidden away in VLC preferences the other day. It allows you to control VLC from a web interface from another computer on the network. Here is a quick two step tutorial on how to get it working.
Step One

To access it go to VLC preferences window then open interface, then finally under main interfaces you will find a checkbox showing “HTTP remote control interface” check it.

VLC prefrences HTTP

Push save then restart VLC.

Step Two

Connect to the VLC interface from the other computer hooked up to the same network by typing 192.168.X.XXX:8080 (replace the X’s with the local static IP of the computer running VLC). You should now see a interface something like this. Enjoy!

VLC HTTP Interface

VLC is available for most operating systems. Download it here. Special thanks to the VLC team keep up the awesome work!

Have you ever wanted to spy see on what is going on in your home while you are away? is a piece of open source software that acts as a motion detector. It enables you to set-up a webcam server that you can have all your cameras connected too, so you can view them remotely and also upload them to a remote server. Motion should run on most linux distributions but for this exercise I’m using the desktop version of linux.


  • Extra computer that we’ll use as the server.
  • Distro of linux installed on the server. (Recommended, )
  • USB webcam with a linux driver
  • Static IP set for the server
  • General knowledge of Linux like OS’s.
  • A bit of free time

Step One

Okay lets start off by downloading the linux driver for your webcam. This great man wrote a single driver that is compatible with 244 different webcams! You can download it here onto the desktop of your server. If this does network for your camera please search for the right driver for yours.

Step Two

Once you’ve downloaded the driver we can start compiling it, but first make sure you have the package build-essential installed you can do so by typing in sudo apt-get install build-essential into the terminal, information on this package can be located here.


We are ready to start compiling the source code for the driver. Once we extract the .tar.gz file by right-clicking on it, then select Extract Here. This should take a few seconds to complete, then open up terminal again and type in cd ~/Desktop/gspcav1-20070508/ push enter on your keyboard and then type ./configure push enter this should take a minute or two (don’t worry if this does not work just precede to compiling). After that start compiling it by typing in make. After it’s been compiled you can install it by typing in sudo make install this will install the package and you should have a webcam that is recognized by linux now!

cd unix

Step Three

Installing , the software your are going to use to monitor your webcam for motion. Type in sudo apt-get install motion into terminal, then press enter.

sudo apt-get install motion

Step Four

It’s now time to setup Motion’s configuration files. You can download my config files that I’ve already filled in; here (read through the entire motion.conf file and change the settings to fit your needs). Put the files in the Motion file in your /etc/motion/ folder on your server by first extracting the files onto the desktop, then typing sudo mv ~/Desktop/Motion Config.zip_FILES /etc/motion/ into the terminal.

sudo mv motion config

Please note this if you only have more than a single webcam you will need one more thread.conf for each extra cam (example; thread0.conf, thread1.conf, thread2.conf) You will also need to add the links to these files at end of the motion.conf file.

Step Five (optional)

Install wput a command line FTP client that you can use to upload the photos, to an remote FTP server, that have been taken by Motion. Install this by typing sudo apt-get install wput into the terminal. You can configure Motion to use wput to upload photos that have been taken by adding

# Command to be executed when a picture (.ppm|.jpg) is saved (default: none)# The filename of the picture is appended as an argument for the command.on_picture_save wput ftp://USERNAME:PASSWORD@REMOTE SERVER %f

to you motion.conf file (if your using the motion.conf I provided this is already in there, just replace the server info in the ftp:// section)Step SixTo add Motion to startup automatically start with the server, just open “System” from the menu bar on the top of the screen, then “Preferences,” then “Sessions.” Create a new startup program type in a name for it and then type motion in the command section. Click“OK.” Then restart the server.

Motion Autostart

Step Seven

You should now be able to open a web interface for Motion now by typing in localhost:8000 from the server itself or XXX.XXX.X.XXX:8000 from another computers web browser. To view a live stream of your webcam type localhost:8001 from the server itself or XXX.XXX.X.XXX:8001 from another computers web browser. You can change settings from this interface here too, you can even make Motion generate it’s own config files to fit your setup exactly!


Enjoy the web interface for viewing you webcam as-well as you new home-brew security system! All thanks to , , , and all the other great open source developers. Keep up the great work! If you need more information about getting Motion running visit; here. There is also a ton of configuration options. From taking movies instead of photos, to launching a script when motion is detected; here.

Edit: You can have as many webcams hooked up to the server as it can handle, USB 1 inputs will only handle one camera per. USB 2 inputs will allow many more than that. For more information on setting up multiple cameras with Motion visit; here and also read step 4 again.

SlimServer is a great piece of open source software, designed for streaming music over a network. Using my Mac and a old Pentium III box running Ubuntu Linux, I have achieved pretty much all of the functionality of the Airport Express’ “AirTunes” feature. I have made this quick tutorial so you can set this up as-well. We will call the computer that you want to send music from “computer” and the server we have connected to our stereo “server.” Please note, I’m using Mac OS X as the “computer” operating system and Ubuntu Linux as the “server” operating system. This guide can be applied to other operating systems as-well though.


  • Two machines, a computer, and a server running either Windows, Mac OS X, Linux (or other *nix OS)
  • Some basic networking experience
  • Static IP’s set for these two computers
  • A 3.5mm Headphone jack to RCA Jack Converter for connecting to a stereo – like this
  • The “server” hooked up to the stereo system

Step One:

Download the SlimServer software for your computer’s appropriate operating system, you can install this on your server if you have you music library on it. Please note if you are running Ubuntu Linux on your computer you can type “sudo apt-get install slimserver” into the terminal (without the parenthesis) to automatically download and install this.

Download SlimServer

Step Two:

Download VLC to your for your server’s appropriate operating system that you have connected to your stereo system via the 3.5mm Headphone jack to RCA Jack Converter. Remember install this on your server connected to you stereo. Please note if you are running Ubuntu Linux on your server you can type “sudo apt-get install vlc” into the terminal.

VLC Install by Terminal

Step Three:

Install the SlimServer software (install this on your computer with your Music library). Please note if you did Step One via “sudo apt-get install slimserver” on your Ubuntu server this is already installed!


Step Four:

Enable (turn on) SlimServer on your computer.

System Pref

SlimServer System Pref

Click on “Automatically start:” and select “When I log in.”

Step Five:

Type “http://localhost:9000/” into your favorite web browser to see if you have installed SlimServer correctly on your computer.

Slim Server Web Interface

Step Six:

Test your connection from your server running VLC to your new SlimServer installation on your computer by clicking “File” then “Open Network..”. Select the “HTTP/HTTPS/FTP/MMS” radio button and type in the following URL “your.computers.static.ip:9000/stream.mp3” replace your.computers.static.ip with the real static IP of you computer.

Test your Connection

If all goes well you should see a VLC window with the following text “Welcome to SlimServer.” you can try to play a song from the web interface if you want now.

Step Seven:

Auto start VLC on the server so you can always send songs over to it. If your server is running Ubuntu Linux or similar you can just open “System” from the menu bar on the top of the screen, then “Preferences,” then “Sessions.” Create a new startup program type in a name for it and then type “vlc -vvv http://your.computers.static.ip:9000/stream.mp3” in the command section. Click “OK.”

Auto Start VLC

Step Eight:

Enjoy your new poor man’s web interface for iTunes as well as AirTunes like streaming! Thank you Slim Devices, Inc for creating a wonderful piece of open source software!