How To Use Linksys Compact Wireless-G Internet Video Camera WVC54GC From Linux

By Angsuman Chakraborty, Gaea News Network
Sunday, June 22, 2008

The Linksys Compact Wireless-G Internet Video Camera WVC54GC is a Linux based wireless webcam with its own streaming web server built in. Windows users can view the video stream through their browser without the need to install any extra software other than allowing the supplied Active-X control to run. Unfortunately there isn’t much in the documentation about using this camera with Linux.

How To Setup Linksys Compact Wireless-G Internet Video Camera WVC54GC on Linux

1. Connect the camera, has built-in ethernet card, to a hub and connect your Linux computer to the same hub.

2. Change the IP address of your computer or add a new IP address -
Note: If your computers IP address is 192.168.1.x (where x is between 0 to 255) then you can skip this step.
Fedora Core / Fedora
a. Select (in menu) System->Administration->Network (Network Configuration utility).
b. Click on New and click Forward.
c. Choose the existing ethernet card (most likely eth0).
d. Statically set your IP address to be and your subnet mask as
e. Move Forward and Apply to setup the connection.
f. Activate the connection.

Generic Linux
a. Open a console and su as root
b. Go to /etc/sysconfig/network-scripts
c. Make a copy of ifcfg-eth0 and rename it as ifcfg-eth0:1
d. Open the file and change IPADDR value to, change NETMASK value to

My ifcfg-eth0:1 looks like this:


3. Change the IP address of your camera
Note: You may skip this step if your computer’s original IP address is like 192.168.1.x and you have only one camera.

a. Find your computers IP address (IPADDR), Netmask & Gateway (if available) by opening /etc/sysconfig/network-scripts/ifcfg-eth0. Note the values as you will need them soon.

b. Open your browser and go to

c. Click on Setup (login using admin as user name and password admin).

d. Change the IP address to a value that is available and accessible from your network. For example we use 172.16.0.x range of IP addresses (Netmask is obviously and so I chose an IP which is available from my network like

e. Fill in (Sub) Netmask and Gateway or DNS information from previous step and click on Apply.

Note: You may need to consult your sysadmin for steps d & e to get the required information.

4. You may optionally (recommended) change the default password of your camera.

5. Change your computers IP address back to normal or delete the extra IP address.

6. Unplug the webcam, remove the ethernet cable from it and then plug it back again. This will restart it in wireless mode.

7. Using your browser check if you can browse to https://cam.era.ip.address
where cam.era.ip.address is the webcam IP address you had changed to earlier.
If you face any problems, check the IP address you typed carefully.

You are done. Now go on to view the video from your camera in the next topic.

How To View Video From Linksys Compact Wireless-G Internet Video Camera WVC54GC from Linux

Run VLC media player and give it the following url https://cam.era.ip.address/img/video.asf
How to:
Click Ctrl-N and choose HTTP from Network tab and fill in your URL and click OK. That’s it.

Alternatively you can invoke it from command line as follows:
wxvlc https://cam.era.ip.address/img/video.asf

Note: Replace cam.era.ip.address with the actual IP address of your camera that you setup previously or the default IP address

You can also use xine and mplayer. Personally I use only vlc.

How To Take Snapshots from Linksys Compact Wireless-G Internet Video Camera WVC54GC on Linux

From console type:
mplayer https://cam.era.ip.address/img/video.asf -frames 1 -vo jpeg
1. You need to have mplayer installed for this. You can easily get it in your Linux distribution.
2. Change jpeg to png to save the image in png format.
3. You can change frames count to any positive integer to save that many images successively

How To Create Animated GIF Video From Linksys Compact Wireless-G Internet Video Camera WVC54GC on Linux

mplayer -frames 100 -fps 20 -vo gif89a
1. Replace fps value with your desired frame rate (not more than 30) and frames with the number of distinct frames you want to capture.
2. frames / fps gives you the number of seconds of video that you are capturing
3. The animated gif loops around. You can manipulate the images from any Animated Gif editor.

Animated gif is poor mans video player. Here is how you can save video using a better format (mpeg) using VLC media player.

March 18, 2010: 12:13 am

I found your blog on google and read a few of your other posts. I just added you to my Google News Reader. Keep up the awesome work Look forward to reading more from you in the future.

will not be displayed