Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27

Thread: [HOW-TO] webcam

  1. #16
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by velcrow View Post
    Thanks wpte & Edp -

    This is great, I spent some time trying the rcamd commands but with no luck...

    what does the -r setting do?

    Code:
    rcamd -p 7777 -s 4 -z MET-1METDST,M3.5.0/2,M10.5.0/3 -a 0 -t 0 -r 0 -f 640x480 -m 100 -c 100 &
    and why does it record 6 files - record0.jpg - record5.jpg?

    Really appreciate this, as there was no chance of me solving this in such an elegant way

    Velcrow
    what about using the -h parameter
    Code:
     rcamd -h
    Usage: rcamd [options]
           -d <debug level>
           -m <max difference threshold=0-255> (lower->more updates, default=30)
           -s <seconds between frames> (default==1)
           -f  <WidthxHeight obey supported size> define size of the output image (default:640x480)
           -p <port to listen for connections>
           -b <brightness=1-500> (default=400 available only cameratype=1)
           -g <gain=0-4> corresponding to a gain of 2^<gain> (default=0)
           -t <cameratype=0,1> corresponding to a camera driver (0:pwc or 1:ov511 default=0)
           -r <record interval=0-65535> (default=60 minutes)
           -a <alert=0,1> define if alert is on or off)
           -s <max count for difference threshold=0-999999> (default=100)
           -z <time zone string>
    for me it only records 3 shots

    but I don't understand completely... couldn't you get the bash script working?
    Last edited by wpte; 25-07-2009 at 20:48.

  2. #17
    -h lol

    No script is great - - just trying to see if rcamd has any "native" commands that could be used.

    One question where should the script be created / saved - /opt/sbin/?

    I plan to use cron to gzip the folder at night

    Thanks again for the help...
    Last edited by velcrow; 25-07-2009 at 21:28.

  3. #18
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by velcrow View Post
    -h lol

    No script is great - - just trying to see if rcamd has any "native" commands that could be used.

    One question where should the script be created / saved - /opt/sbin/?

    I plan to use cron to gzip the folder at night

    Thanks again for the help...
    you can place the script anywhere you want, even on the harddrive
    I tested in on a hdd, and it still spun-down good, so I guess it's a perfect script

    np mate, any time

  4. #19
    Join Date
    Dec 2008
    Location
    Netherlands
    Posts
    74
    Quote Originally Posted by velcrow View Post
    and why does it record 6 files - record0.jpg - record5.jpg?
    it always makes those record*.jpg files and uses them to compare, motion can only be detected by comparing images after all.

  5. #20
    Thanks Edp - Yes, makes sense.

    rcamd - our (my) misunderstood friend.

  6. #21
    Does anyone have a webcam running on WL-500gP v2? I have two different cameras which no go. I checked them with spca, pwc and ovc and they are not recognized. Spent to much time trying make it work. Give me please a webcam name which is working for sure under Oleg or dd-wrt firmware and I will buy it.

  7. #22
    Join Date
    Dec 2008
    Location
    Netherlands
    Posts
    74
    Check out the WL500g Reported Compatible Hardware > Webcams section.

  8. #23
    I've recently reinstalled everything. Rcamd worked fine (even 24 hours), until i've installed rtorrent and i've started to download files. Now rcamd crashes in some minutes.

    I think that CPU is to weak for that many tasks.

  9. #24
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by mandgeo View Post
    I've recently reinstalled everything. Rcamd worked fine (even 24 hours), until i've installed rtorrent and i've started to download files. Now rcamd crashes in some minutes.

    I think that CPU is to weak for that many tasks.
    try the beta firmware: http://code.google.com/p/wl500g/
    it's easier to slow down the framerate for the webcam... limiting the cpu usage again.

    I don't have any problems running them together.

  10. #25
    Thanks. I've upgraded the firmware. I'm gonna put some more torrents to transfer ...

    Can you recomend me the best firewall configuration? I need to open some ports for ftp, ssh, webadmin, web, torrents, torrents_dth and that's it. I saw to many sugestions and i still don't think i have the right configuration.

  11. #26
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by mandgeo View Post
    Thanks. I've upgraded the firmware. I'm gonna put some more torrents to transfer ...

    Can you recomend me the best firewall configuration? I need to open some ports for ftp, ssh, webadmin, web, torrents, torrents_dth and that's it. I saw to many sugestions and i still don't think i have the right configuration.
    Uhm... well just opening the ports in iptables should be good. in addition the beta firmware also has brute-force ftp and ssh blocking (check the firewall in the webinterface).

    for the webcam, I forgot to tell, you don't need to restart rcamd or something, you can just adjust the "Refresh Time in seconds" value in the web interface. It'll just start the rcamd process directly in the right mode and keeps running forever

  12. #27
    I saw this new and very usefull options.

    Did something changed in security detection? I know that in the past the system tried to send the email, but not thru the right email server.

    LE. Alert doesn't work. I've set the email where the message/picture should be send (yahoo mail), the email server (smtp.rdslink.ro...the isp server, the only one that let's me send mail) and asus still tries to sent mails to another server (98.137.54.237...yahoo server).

    "
    286 ? S 0:00 sendalarm /var/tmp/record5.jpg /var/tmp/record0.jpg /var/tmp/record1.jpg /var/tmp/record2.jpg /var/tmp/record3.jpg
    299 ? S 0:00 \_ sh -c cat /var/tmp/alarmmail | mini_sendmail -s98.137.54.237 xxxxxx@yahoo.com
    301 ? S 0:00 \_ mini_sendmail -s98.137.54.237 xxxxx@yahoo.com
    "

    Can i do something to make this work??
    Last edited by mandgeo; 22-08-2009 at 11:30.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 10
    Last Post: 21-12-2012, 08:55
  2. [How to] rtorrent & ntorrent
    By mancub in forum WL-500gP Tutorials
    Replies: 101
    Last Post: 18-12-2008, 07:21
  3. [How To] 2 zusätzliche interne USB Ports am WL500gP nutzbar machen
    By rj.2001 in forum German Discussion - Deutsch (DE)
    Replies: 6
    Last Post: 02-10-2008, 11:32
  4. [HOW TO] Bluetooth in wl500g
    By TIk in forum WL-500g/WL-500gx Tutorials
    Replies: 1
    Last Post: 17-09-2008, 21:38
  5. [HOW TO] Timeouts beim Laden von bestimmten Seiten beheben - MTU Problem
    By modnet25 in forum German Discussion - Deutsch (DE)
    Replies: 3
    Last Post: 03-09-2006, 10:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •