AirCam NS » Historial » Versió 2
Agustí Moll Garcia, 01-06-2012 14:02
| 1 | 1 | Agustí Moll Garcia | h1. AirCam in a NSM5 with qMp |
|---|---|---|---|
| 2 | |||
| 3 | * Connectar al AirCam al Port "Secondary" de la NSM5 |
||
| 4 | |||
| 5 | * Posar IP WAN0 per que parli amb la camara: |
||
| 6 | Pagina: http://172.30.22.1/cgi-bin/luci/admin/network/network/wan0/ |
||
| 7 | @"Static address" |
||
| 8 | ipv4 address: 192.168.1.1 |
||
| 9 | ipv4 netmask: 255.255.255.0 |
||
| 10 | ipv4 broadcast: 192.168.1.255@ |
||
| 11 | |||
| 12 | * Passar el port 554 (tcp) al node per iptables: |
||
| 13 | Pàgina: http://172.30.22.1/cgi-bin/luci/admin/network/firewall/ |
||
| 14 | @(Custom Rules) |
||
| 15 | /usr/sbin/iptables -A PREROUTING -t nat -p tcp --dport 554 -j DNAT --to 192.168.1.20:554@ |
||
| 16 | |||
| 17 | |||
| 18 | * (Opcional) Passar el port 80 de la aircam, al port 8080 del node: |
||
| 19 | Pàgina: http://172.30.22.1/cgi-bin/luci/admin/network/firewall/ |
||
| 20 | @(Custom Rules) |
||
| 21 | /usr/sbin/iptables -A PREROUTING -t nat -p tcp --dport 8080 -j DNAT --to 192.168.1.20:80@ |
||
| 22 | |||
| 23 | * (Opcional i perillos) Posar el pass_thought, al arranc, al "Local Startup": |
||
| 24 | Pàgina: http://172.30.22.1/cgi-bin/luci/admin/system/startup/ |
||
| 25 | @/usr/bin/qmpcontrol enable_ns_ppt@ |
||
| 26 | |||
| 27 | * Reboot |
||
| 28 | Pàgina: http://172.30.22.1/cgi-bin/luci/admin/system/reboot/ |
||
| 29 | |||
| 30 | -- |
||
| 31 | |||
| 32 | Per veure-ho: |
||
| 33 | @vlc rtsp://<node>:554/live/ch00_0@ |