Startup script that sets static arp for NAS (Synology DS-213)
Have a problem which I really hope you guys can help me out with, first I want to make sure that I have the right fix and then how to implement the fix:
1) (Will this fix it)
I have 4x Foscam FI8905W wireless cameras that drop their connection regularly.
I tried upgrading the router, upgrading the cameras WiFi antennas, set static IP and dynamic IP, reserve IP by MAC-address but they all lose connection at least once every 24h.
Rebooting them by removing/inserting their AC-adapter gets them going again.
When they are "disconnected" I can still see their IP, MAC-address and sometimes log into their webinterface and there it works perfectly but not in "Security Center". Sometimes they are totally dead even though I can see their IP and MAC as "connected" via my router.
This problem SEEMS to be because of that the cameras stop responding to ARP-requests, see more detail here:
Will making a startup script that sets static arp for my DS-213 (DSM 4.1) fix this problem and make them work over time with "Security Center"? (meaning the official Synology camera mangement tool)
2 (Is this the right way to write the script)
SSH as root into /etc/rc.local
Open vi and write:
Make the script executable with chmod +x static_arp.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
and so on and save as static_arp.sh
Thats it? Reboot and see for how long it works? Can I see if the script is running anyhow?
Extremely grateful for replies and help - TheSwede86