Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
maison2:configuration_open_wrt:wzr-hp-g300nh [01/2012] – [motion] fred | maison2:configuration_open_wrt:wzr-hp-g300nh [04/2012] (Version actuelle) – fred | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
* http:// | * http:// | ||
+ | ====== INSTALL ====== | ||
+ | backfire 10.03.1 | ||
- | :-hi 100 WL500GP : nouveau transfo 2.5A 5V au moins | ||
- | |||
- | ====== INSTALL ====== | ||
* __ce qui manque a LUCI :__ explorateur de fichier (file editor) | * __ce qui manque a LUCI :__ explorateur de fichier (file editor) | ||
Ligne 12: | Ligne 11: | ||
* backdoor terminal | * backdoor terminal | ||
* webcam | * webcam | ||
+ | ===== ping: sendto: Network is unreachable ===== | ||
+ | je comprend pas pourquoi mais en configurant l'IP statique j'ai cette erreur . | ||
- | __notes__ | + | si on configure le routeur en client DHCP , le routeur arrive a se connecter a l'internet |
- | * http:// | + | |
- | + | ||
- | + | ||
- | | + | |
- | + | ||
- | __recuperé dans kernel log WL500Gp__ : | + | |
- | Oct 31 19:35:09 (none) user.info kernel: hub.c: new USB device 01:03.0-2, assigned address 7 | + | |
- | Oct 31 19:35:09 (none) user.warn kernel: usb.c: USB device 7 (vend/prod 0x46d/ | + | |
- | gspca_zc3xx 046d:08ad Logitech QCCommunicate STX | + | |
- | + | ||
- | * opkg install : kmod-usb2 , kmod-video-gspca-zc3xx , mjpg-streamer | + | |
- | * dans / | + | |
- | * could't set video palette Abort : https:// | + | |
- | * on va donc tenter fswebcam avec libv4l (a installer) | + | |
- | * export LD_PRELOAD=/ | + | |
- | * fswebcam -v -r 640x480 -F 2 -S 1 / | + | |
< | < | ||
- | fswebcam -v -r 640x480 -F 2 -S 1 / | + | IPv4 WAN Status |
- | --- Opening / | + | br-lan Type: dhcp |
- | Trying source module v4l2... | + | Address: 192.168.0.11 |
- | /dev/video0 opened. | + | Netmask: 255.255.255.0 |
- | src_v4l2_get_capability, | + | Gateway: 192.168.0.254 |
- | src_v4l2_get_capability, | + | DNS 1: 192.168.0.254 |
- | src_v4l2_get_capability, | + | Expires: 23h 46m 51s |
- | src_v4l2_get_capability, | + | Connected: 0h 13m 9s |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | No input was specified, using the first. | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | Using palette JPEG | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | --- Capturing 2 frames... | + | |
- | Skipping frame... | + | |
- | Capturing 2 frames... | + | |
- | Captured 3 frames in 0.26 seconds. (11 fps) | + | |
- | --- Processing captured image... | + | |
- | Unable to load font ' | + | |
- | + | ||
- | Disabling the the banner. | + | |
- | Writing JPEG image to '/ | + | |
</ | </ | ||
- | * opkg install : motion | + | c’était les mêmes paramètre en static |
- | + | ||
- | + | ||
- | __lien de support :__ | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * https:// | + | |
- | * http:// | + | |
- | + | ||
- | ===== Web CAM Papa ===== | + | |
- | hub.c: new USB device 01:03.0-2, assigned address 3 | + | |
- | usb.c: USB device 3 (vend/prod 0x46d/ | + | |
- | http:// | + | |
- | + | ||
- | gspca_zc3xx 046d:08da Logitech QuickCam Messenger | + | |
- | gspca_stv06xx 046d:0840 QuickCam Express | + | |
- | + | ||
- | __le Buffalo ne dit rien sur l'id de la webcam:__ | + | |
- | Dec 28 19:15:08 Buffalo user.info kernel: usb 1-1: new full speed USB device using ar71xx-ehci and address 3 | + | |
- | Dec 28 19:15:08 Buffalo user.info kernel: usb 1-1: configuration #1 chosen from 1 choice | + | |
- | Dec 28 19:18:12 Buffalo user.info kernel: usb 1-1: USB disconnect, address 3 | + | |
- | + | ||
- | ==== test fswebcam ==== | + | |
- | < | + | |
- | fswebcam -v -r 640×480 -F 2 -S 1 / | + | |
- | --- Opening / | + | |
- | Trying source module v4l2... | + | |
- | /dev/video0 opened. | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | src_v4l2_get_capability, | + | |
- | No input was specified, using the first. | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_input, | + | |
- | src_v4l2_set_pix_format, | + | |
- | src_v4l2_set_pix_format, | + | |
- | Using palette SGRBG8 | + | |
- | Adjusting resolution from 640x-1 to 324x240. | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | src_v4l2_set_mmap, | + | |
- | --- Capturing 2 frames... | + | |
- | Skipping frame... | + | |
- | Capturing 2 frames... | + | |
- | Captured 3 frames in 0.22 seconds. (13 fps) | + | |
- | --- Processing captured image... | + | |
- | Unable to load font ' | + | |
- | + | ||
- | Disabling the the banner. | + | |
- | Writing JPEG image to '/ | + | |
- | </ | + | |
- | + | ||
- | ==== motion ==== | + | |
- | + | ||
- | Jan 12 21:45:30 Buffalo user.err syslog: [1] Unable to find a compatible palette format. | + | |
- | Jan 12 21:45:30 Buffalo user.debug syslog: [1] Using VIDEO_PALETTE_YUV420P palette | + | |
- | Jan 12 21:45:31 Buffalo user.err syslog: [1] sync error in proc 1619: Invalid argument | + | |
- | Jan 12 21:45:32 Buffalo user.err syslog: [1] mcapture error in proc 1619: Invalid argument | + | |
- | Jan 12 21:45:32 Buffalo user.err syslog: [1] Video device fatal error - Closing video device | + | |
- | + | ||
- | === http:// | + | |
- | + | ||
- | LD_PRELOAD=/ | + | |
- | [0] Processing thread 0 - config file / | + | |
- | [0] Motion 3.2.11.1 Started | + | |
- | [0] Thread 1 is from / | + | |
- | [1] Thread 1 started | + | |
- | [1] cap.driver: " | + | |
- | [1] cap.card: " | + | |
- | [1] cap.bus_info: | + | |
- | [1] cap.capabilities=0x05000001 | + | |
- | [1] - VIDEO_CAPTURE | + | |
- | [0] motion-httpd/ | + | |
- | [0] motion-httpd: | + | |
- | [1] - READWRITE | + | |
- | [1] - STREAMING | + | |
- | [1] Supported palettes: | + | |
- | [1] 0: RGB3 (RGB3) | + | |
- | [1] 1: BGR3 (BGR3) | + | |
- | [1] 2: YU12 (YU12) | + | |
- | [1] Selected palette YU12 | + | |
- | [1] index_format 8 Test palette YU12 (320x240) | + | |
- | [1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000008 | + | |
- | [1] found control 0x00980900, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980901, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980910, "Gamma (software)", | + | |
- | [1] " | + | |
- | [1] found control 0x00980911, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980912, "Auto Gain (software)", | + | |
- | [1] " | + | |
- | [1] found control 0x00980913, " | + | |
- | [1] " | + | |
- | [1] mmap information: | + | |
- | [1] frames=4 | + | |
- | libv4l2: error allocating conversion buffer | + | |
- | [1] Error mapping buffer 0 mmap: Cannot allocate memory | + | |
- | libv4l1: error allocating v4l1 buffer: Cannot allocate memory | + | |
- | [1] ioctl(VIDIOCGMBUF) - Error device does not support memory map | + | |
- | [1] V4L capturing using read is deprecated! | + | |
- | [1] Motion only supports mmap. | + | |
- | [1] Could not fetch initial image from camera | + | |
- | [1] Motion continues using width and height from config file(s) | + | |
- | [1] Resizing pre_capture buffer to 1 items | + | |
- | [1] Started stream webcam server in port 8081 | + | |
- | [1] Retrying until successful connection with camera | + | |
- | + | ||
- | + | ||
- | LD_PRELOAD=/ | + | |
- | [0] Processing thread 0 - config file / | + | |
- | [0] Motion 3.2.11.1 Started | + | |
- | [0] Thread 1 is from / | + | |
- | [1] Thread 1 started | + | |
- | [1] cap.driver: " | + | |
- | [1] cap.card: " | + | |
- | [1] cap.bus_info: | + | |
- | [1] cap.capabilities=0x05000001 | + | |
- | [1] - VIDEO_CAPTURE | + | |
- | [1] - READWRITE | + | |
- | [1] - STREAMING | + | |
- | [1] Supported palettes: | + | |
- | [0] motion-httpd/ | + | |
- | [0] motion-httpd: | + | |
- | [1] 0: RGB3 (RGB3) | + | |
- | [1] 1: BGR3 (BGR3) | + | |
- | [1] 2: YU12 (YU12) | + | |
- | [1] Selected palette YU12 | + | |
- | [1] index_format 8 Test palette YU12 (320x240) | + | |
- | [1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000008 | + | |
- | [1] found control 0x00980900, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980901, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980910, "Gamma (software)", | + | |
- | [1] " | + | |
- | [1] found control 0x00980911, " | + | |
- | [1] " | + | |
- | [1] found control 0x00980912, "Auto Gain (software)", | + | |
- | [1] " | + | |
- | [1] found control 0x00980913, " | + | |
- | [1] " | + | |
- | [1] mmap information: | + | |
- | [1] frames=4 | + | |
- | libv4l2: error allocating conversion buffer | + | |
- | [1] Error mapping buffer 0 mmap: Cannot allocate memory | + | |
- | [1] Using VIDEO_PALETTE_YUV420P palette | + | |
- | [1] Using V4L1 | + | |
- | [1] Resizing pre_capture buffer to 1 items | + | |
- | [1] Started stream webcam server in port 8081 | + | |
- | [1] sync error in proc 22284: Invalid argument | + | |
- | [1] mcapture error in proc 22284: Invalid argument | + | |
- | [1] Video device fatal error - Closing video device | + | |
- | [1] Closing video device / | + | |
- | [1] Retrying until successful connection with camera | + | |
- | === next === | + | |
- | * http:// | + | |
- | * http:// | + | |
- | __patch :__ mais tester la [[http:// | + | |
- | * http:// | + | |
- | * compile de la version actuel | + | |
- | * a partir du la racine du SDK : svn export svn://svn.openwrt.org/ | + | |
+ | le patch accept_ra 1 ne semble pas fonctionner : | ||
+ | config interface lan | ||
+ | option accept_ra 1 | ||