On this test i'm install OpenWRT firmware via TP-Link web update.
firmware from
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
this test i don't break cover on rounter and so i connect rouner via Lan cable by "telnet 192.168.1.1"
and internet i connect via myhome wifi on web GUI like below figure
then on console i can connect to internet.
in tutorial in follow by
http://www.ediy.com.my/index.php/blog/item/80-tp-link-tl-mr3020-%20-openwrt-%20-webcam
http://www.ediy.com.my/index.php/blog/item/33-tp-link-tl-wr1043nd-router-%20-web-cam-=-ip-cam
http://forums.ninjablocks.com/index.php?p=/discussion/251/fixed-webcam-issue-mjpg-streamer-unable-to-set-format-1196444237-res-640x480/p1
and this my succeed command....
root@OpenWrt:/# mjpg_streamer -i "/usr/local/lib/input_uvc.so -y -d /dev/video0
-f 10 -r 320x240" -o "/usr/local/lib/output_http.so -p 8080 -w /www/webcam"
above i can stream at only 5frame per sec
i decrease quality of image and then i can stream at 10fream per sec
mjpg_streamer -i "/usr/local/lib/input_uvc.so -y -d /dev/video0 -q 50 -f 10 -r 320x240" -o "/usr/local/lib/output_http.so -p 8080 -w /www/webcam"
but the last perferman banwidth of webcam can only stream average at 7-8fps
if you want run on background mode. there are parameter like this
mjpg_streamer
-i | input "
[parameters]"
-o | output " [parameters]"
[-h | help ]........: display this help
[-v | version ].....: display version information
[-b | background]...: fork to the background, daemon mode
Note: If you start mjpg-streamer in the background use this to stop it:
kill -9 `pidof mjpg_streamer`
Next step
boot at start
https://forum.openwrt.org/viewtopic.php?id=28661
read on it.
http://sourceforge.net/p/mjpg-streamer/discussion/739917/thread/595fe908
http://wolfpaulus.com/jounal/embedded/raspberrypi_webcam
Guild
http://store.jpgottech.com/support/tp-link-mr3020-openwrt-flashing-guide/
Nextstep - usb2serial with usbport
https://forum.openwrt.org/viewtopic.php?id=18786
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=695737
http://smartcity.cs.columbia.edu/openwrt/openwrt_packages.php
http://www.kelvinsthunderstorm.com/omnimaopenwrt-and-xbee/
https://forum.openwrt.org/viewtopic.php?id=40841