Linksys WVC54GC Linux How-To

Submitted by erick on Sat, 08/19/2017 - 19:36

Linksys WVC54GC Linux How-To

Do the following to use the Linksys WVC54GC in Linux:

 

  • Plug the camera to Ethernet interface of your computer (temporarily disabling any other Internet use, if you were using your Ethernet). Set the IP address of your computer on this interface to 192.168.1.1. The camera should be either at 192.168.1.115 or 192.168.103.

  • Point your browser to the camera's IP address. Enter "admin" and "admin", and go to administrator interface.

  • Configure the network, wireless, and image settings, and change your password. You will most likely need a static IP for your camera.

  • Download Linux VLC software, e.g., in Ubuntu do this as root: apt-get install vlc.

  • As explained in the linksys forum, open your camera URL in the File->Open Network menu, and type camera1/img/video.asf in the HTTP/HTTPS/FTP/MMS box where "camera1" is the IP address of your camera assigned in the third item above.

  • Passwords for individual users can be set via the "Users" menu in the admin web interface of the camera. If you add a user "joe" with password "pass", then the URL for VLC looks like this:
    • $ vlc http://joe:pass@camera1/img/video.asf
  • If your network has a NAT or a firewall, and you wish to be able to connect to the camera from the outside, there are several ways to arrange this. One is to tweak the NAT policies so that a particular port is redirected to port 80 on the camera. In my case I wanted to have an additional layer of security, so I used SSH tunneling. First, I did this in the server:
    • ssh -o KeepAlive=yes -N -f -L 5000:camera1:80 user@router
    Where "5000" is a randomly picked port number, "camera1" is the IP address of the camera in the internal network, "user" is the SSH user name at the NAT/router box "router". And then I invoked VLC using a command like this:
    • vlc http://joe:pass@localhost:5000/img/video.asf
    Where "joe" and "pass" are again the username and password for the camera.

  • File storage can be arranged via vlc as well. Give the --sout option as shown here:
    • $ vlc http://camera1/img/video.asf --sout file/ps:test.mpg
google_ad_client = "ca-pub-2529029336357825"; google_ad_slot = "7419598997"; google_ad_width = 728; google_ad_height = 90; //--> --

'; //now outputting this to HTML echo $googleadsensecode; ?>

Frequently Asked Questions:

  • My VLC complains about being unable to handle MP4S. What should I do? 

    Answer: I am using a regular Ubuntu system, and I did not compile VLC myself. Here are the packages that I have installed with the string "vlc" in them, hope this helps:

    % dpkg --list|grep vlc ii mozilla-plugin-vlc 0.8.4.debian-1ubuntu6 multimedia plugin for Mozilla based on VLC ii vlc 0.8.4.debian-1ubuntu6 multimedia player for all audio and video fo ii vlc-plugin-alsa 0.8.4.debian-1ubuntu6 ALSA audio output plugin for VLC ii vlc-plugin-arts 0.8.4.debian-1ubuntu6 aRts audio output plugin for VLC ii vlc-plugin-esd 0.8.4.debian-1ubuntu6 Esound audio output plugin for VLC ii vlc-plugin-ggi 0.8.4.debian-1ubuntu6 GGI video output plugin for VLC ii vlc-plugin-glide 0.8.4.debian-1ubuntu6 Glide video output plugin for VLC ii vlc-plugin-sdl 0.8.4.debian-1ubuntu6 SDL video and audio output plugin for VLC ii vlc-plugin-svgalib 0.8.4.debian-1ubuntu6 SVGAlib video output plugin for VLC ii wxvlc 0.8.4.debian-1ubuntu6 wxWidgets frontend for VLC

  • Can I avoid using VLC and just have something to point my browser to?

    Answer by Nick Shaver: Here's what I did, using debian:

     

    • 1. install apache2 and php5 with: apt-get install libapache2-mod-php5
    • 2. install mplayer with: apt-get install mplayer
    • 3. create the webpage "/var/www/apache2-default/webcam.php" with the following (replace webcamIP and port with your camera settings):
      • 4. go to http://webcamIP/apache2-default/webcam.php and see a snapshot. I wrapped it all up in something that auto-refreshes via javascript or a meta refresh. PHP can archive the files as needed to wherever is desired.