13. Once the "versiera-agent-x.x.x.x.sh" is on the OpenWRT embedded device, set the execute permission on the file with the command "chmond 744 versiera-agent-x.x.x.x.sh"
Should read "chmod ...
How To Install Versiera Client on NETGEAR WNR3500L in OpenWRT
Categories: OpenWRT Development Partners
Versiera Agent Installation For Embedded Platform – OpenWRT
Prerequisite
- It is recommended the embedded network device should have a minimum of 8MB flash and 16MB DRAM memory.
- OpenWRT 8.09.1 (or newer) installed on the embedded device (Broadcom/Atheros).
- Embedded device should be able to connect to the Internet. Required to register the device with Versiera Management Console.
Procedure
1. Configure the IP address, subnet mask and gateway on the embedded device.
2. Configure DNS servers as the agent installation needs to be able to resolve “https://backend.versiera.com/”
- Example: 8.8.8.8 and 8.8.4.4 (Google DNS)
- Example: 208.67.222.222 and 208.67.220.220 (OpenDNS)
3. Configure the time zone and date/time on the embedded network device.
- Example: date -s 2010.04.30-10:41
4. Optionally configure the Network Time Protocol (NTP) to maintain the correct time.
5. From the OpenWRT console execute “opkg update”
6. From the OpenWRT console execute “opkg install libopenssl” to install required library.
7. From the OpenWRT console execute “opkg install libpthread” to install required library.
8. Use your browser to navigate to https://www.versiera.com/.
9. Sign-in using your Versiera ID and password.
10. Review the list of available host agents for download and select the one matching your embedded network device and firmware.
11. To download the agent, right-click on the “Download” link and use SAVE LINK AS option. Be sure to save the “versiera-agent-x.x.x.x.sh” to somewhere easy to find like your Desktop folder.
12. Copy Versiera agent “versiera-agent-x.x.x.x.sh” to the embedded device over the network using scp command.
13. Once the “versiera-agent-x.x.x.x.sh” is on the OpenWRT embedded device, set the execute permission on the file with the command “chmod 744 versiera-agent-x.x.x.x.sh”.
14. Run the Versiera agent installer with the command “./versiera-agent-x.x.x.x.sh”
15. During the installation, when prompted, enter the Versiera ID and password that you use to sign-in to the Versiera Management Console.
16. A firewall rule may need to be set to permit outbound communication from the embedded device to Versiera Management Console. Please review firewall rules using “iptables -L”.The following firewall rule can be added to the Versiera startup script “/etc/init.d/agentmond” by inserting a the following line at line 66.
- iptables –A OUTPUT –p tcp –dport 443 –j ACCEPT
Verification
- Versiera agent configuration settings are saved in /etc/versiera directory.
- Versiera agent startup script is /etc/init.d/agentmond and a startup link is /etc/rc.d/S99agentmond.
- Versiera agent is installed to /opt/vrsagent.
- Verify the agent is running by executing “ps –ef | grep vrsagent”
- Log into the Versiera website https://www.versiera.com/, after a couple of minutes the agent should start populating information for the embedded device.
- The agent may be executed manually for debugging purposes by first stopping the agent “/etc/init.d/agentmond stop” and running the agent manually “/opt/vrsagent/agent/1.3.2/vrsagent –C /etc/versiera/agent”.
Technical Support
Technical support is available via web based forums (http://forums.versiera.com/). To login, use your Versiera ID and password. In addition, technical support may be obtained by sending Email to support@versiera.com.

RSS

