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