Outils pour utilisateurs

Outils du site


maison2:configuration_open_wrt:wzr-hp-g300nh

Ceci est une ancienne révision du document !


:-hi 100 WL500GP : nouveau transfo 2.5A 5V au moins

INSTALL

  • ce qui manque a LUCI : explorateur de fichier (file editor)
  • a installer :
    • panel maison
    • backdoor terminal
    • webcam

notes

Web CAM Logitech QCCommunicate STX

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 connexion webcam Oct 31 19:35:09 (none) user.warn kernel: usb.c: USB device 7 (vend/prod 0x46d/0x8ad) is not claimed by any active driver. connexion webcam gspca_zc3xx 046d:08ad Logitech QCCommunicate STX

  • opkg install : kmod-usb2 , kmod-video-gspca-zc3xx , mjpg-streamer
  • dans /etc/init.d/ changer input_uvc.so par input_gspcav1.so ajouter -w /www/webcam_www à output_http.so
  • on va donc tenter fswebcam avec libv4l (a installer)
    • export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
    • fswebcam -v -r 640×480 -F 2 -S 1 /tmp/out.jpg
fswebcam -v -r 640x480 -F 2 -S 1 /tmp/out.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,83: /dev/video0 information:
src_v4l2_get_capability,84: cap.driver: "zc3xx"
src_v4l2_get_capability,85: cap.card: "USB Camera (046d:08ad)"
src_v4l2_get_capability,86: cap.bus_info: "usb-ar71xx-ehci-1"
src_v4l2_get_capability,87: cap.capabilities=0x05000001
src_v4l2_get_capability,88: - VIDEO_CAPTURE
src_v4l2_get_capability,97: - READWRITE
src_v4l2_get_capability,99: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,177: /dev/video0: Input 0 information:
src_v4l2_set_input,178: name = "zc3xx"
src_v4l2_set_input,179: type = 00000002
src_v4l2_set_input,181: - CAMERA
src_v4l2_set_input,182: audioset = 00000000
src_v4l2_set_input,183: tuner = 00000000
src_v4l2_set_input,184: status = 00000000
src_v4l2_set_pix_format,537: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,550: 0: [0x4745504A] 'JPEG' (JPEG)
src_v4l2_set_pix_format,550: 1: [0x33424752] 'RGB3' (RGB3)
src_v4l2_set_pix_format,550: 2: [0x33524742] 'BGR3' (BGR3)
src_v4l2_set_pix_format,550: 3: [0x32315559] 'YU12' (YU12)
src_v4l2_set_pix_format,550: 4: [0x32315659] 'YV12' (YV12)
Using palette JPEG
src_v4l2_set_mmap,689: mmap information:
src_v4l2_set_mmap,690: frames=4
src_v4l2_set_mmap,737: 0 length=118784
src_v4l2_set_mmap,737: 1 length=118784
src_v4l2_set_mmap,737: 2 length=118784
src_v4l2_set_mmap,737: 3 length=118784
--- Capturing 2 frames...
Skipping frame...
Capturing 2 frames...
Captured 3 frames in 0.26 seconds. (11 fps)
--- Processing captured image...
Unable to load font 'luxisr': libgd was not built with FreeType font support

Disabling the the banner.
Writing JPEG image to '/tmp/out.jpg'.

lien de support :

Web CAM Papa

hub.c: new USB device 01:03.0-2, assigned address 3 usb.c: USB device 3 (vend/prod 0x46d/0x8f6) is not claimed by any active driver. http://simaten.free.fr/wiki/tiki-view_blog_post.php?postId=123

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 -v -r 640×480 -F 2 -S 1 /tmp/out.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,83: /dev/video0 information:
src_v4l2_get_capability,84: cap.driver: "STV06xx"
src_v4l2_get_capability,85: cap.card: "Camera"
src_v4l2_get_capability,86: cap.bus_info: "usb-ar71xx-ehci-1"
src_v4l2_get_capability,87: cap.capabilities=0x05000001
src_v4l2_get_capability,88: - VIDEO_CAPTURE
src_v4l2_get_capability,97: - READWRITE
src_v4l2_get_capability,99: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,177: /dev/video0: Input 0 information:
src_v4l2_set_input,178: name = "STV06xx"
src_v4l2_set_input,179: type = 00000002
src_v4l2_set_input,181: - CAMERA
src_v4l2_set_input,182: audioset = 00000000
src_v4l2_set_input,183: tuner = 00000000
src_v4l2_set_input,184: status = 00000000
src_v4l2_set_pix_format,537: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,550: 0: [0x47425247] 'GRBG' (GRBG)
Using palette SGRBG8
Adjusting resolution from 640x-1 to 324x240.
src_v4l2_set_mmap,689: mmap information:
src_v4l2_set_mmap,690: frames=4
src_v4l2_set_mmap,737: 0 length=81920
src_v4l2_set_mmap,737: 1 length=81920
src_v4l2_set_mmap,737: 2 length=81920
src_v4l2_set_mmap,737: 3 length=81920
--- Capturing 2 frames...
Skipping frame...
Capturing 2 frames...
Captured 3 frames in 0.22 seconds. (13 fps)
--- Processing captured image...
Unable to load font 'luxisr': libgd was not built with FreeType font support

Disabling the the banner.
Writing JPEG image to '/tmp/out.jpg'.

ping: sendto: Network is unreachable

je comprend pas pourquoi mais en configurant l'IP statique j'ai cette erreur .

si on configure le routeur en client DHCP , le routeur arrive a se connecter a l'internet

IPv4 WAN Status
br-lan			Type: dhcp
Address: 192.168.0.11
Netmask: 255.255.255.0
Gateway: 192.168.0.254
DNS 1: 192.168.0.254
Expires: 23h 46m 51s
Connected: 0h 13m 9s

c’était les mêmes paramètre en static …

le patch accept_ra 1 ne semble pas fonctionner : config interface lan

  option accept_ra 1
maison2/configuration_open_wrt/wzr-hp-g300nh.1326400481.txt.gz · Dernière modification : 01/2012 de fred