Hi!
Have quite an irritating problem with my Foscam FI8905W Wireless IP-Cameras.
The cameras are connected via WiFi to my router (tried Asus RT-N56U w. stock firmware as well) and now and trying to fix this irritating problem with my new router TP-Link TL-WR1043ND v.1.8 which if this works (see below) going to use Gargoyle.
The problem is that the cameras loose connection after a random amount of time, I can still log in to the cameras and watch live video via the web interface (192.168.1.2 for ex.) but when using my Synology DS-213 which has a package called "Security Center" that I use for monitor the cameras they all loose connection.
->The problem seems to be that the cameras stop responding to ARP-requests and I was wondering what the command would be to set static arp on my router running OpenWRT if there is such a command?
I tried to search for this but I only found information that was regarding WoL.
See more about the issue here:
http://blog.stead.id.au/2010/06/resolvi ... pouts.html
Thanks for any reply.
Set static arp on Gargoyle?
Moderator: Moderators
Re: Set static arp on Gargoyle?
Linux also has an 'ARP' command and you can use it to add static MAC addresses to the ARP table there. Type 'man arp' in google to see the options. Gargoyle is running on Linux.
However, unless the camera application is running on the router it will not help you. If the PC fix you described on your blog works then adding a router will not change anything. ARP requests pass from the originator of the connection (your PC) to the target (your camera). The router does not work into it as long as the PC and camera are on the same LAN.
However, unless the camera application is running on the router it will not help you. If the PC fix you described on your blog works then adding a router will not change anything. ARP requests pass from the originator of the connection (your PC) to the target (your camera). The router does not work into it as long as the PC and camera are on the same LAN.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
-
- Posts: 2
- Joined: Wed Nov 14, 2012 9:11 am
Re: Set static arp on Gargoyle?
Hi!pbix wrote:Linux also has an 'ARP' command and you can use it to add static MAC addresses to the ARP table there. Type 'man arp' in google to see the options. Gargoyle is running on Linux.
However, unless the camera application is running on the router it will not help you. If the PC fix you described on your blog works then adding a router will not change anything. ARP requests pass from the originator of the connection (your PC) to the target (your camera). The router does not work into it as long as the PC and camera are on the same LAN.
Thank you for the reply.
As my camera application is running on my Synology DS-213 and not my router it will not do any good

The NAS is built on Linux and has a Command Line Interface (CLI) via SSH and I guess a startup script that sets static arp as well as refreshes it (does it need to do this?) should do it but I have no idea how set that up and write it.
The command seems to be:
arp -s ipaddr macaddr
so for ex:
arp -s 192.168.0.1 11:22:33:44:55:66 (fake example)
So the script should be:
#!/bin/sh
arp -s 192.168.0.1 11:22:33:44:55:66
arp -s 192.168.0.2 22:33:44:55:66:77
Saved as static_arp.sh and then:
"On a general note.
If you want services or scripts started at boot you can use
-cron (use the @reboot instead of a specified time)
-add it to /etc/rc.local
-add a startup script to /opt/etc/init.d/S##bla"
I simply save it in "/etc/rc.local" as "static_arp.sh" and do "chmod +x" ?