0

Using RebootSystem and Applying Network Settings

Hello,

I am trying to set up a robust sleep / wake system for a networked Brightsign installation.  I have a master / slave network with Ethernet, and a remote control on the master.  I currently have it set so that every time the system is told to sleep, all of the slaves are sent a UDP command that tells them to execute the RebootSystem() command.  To wake up, the master reboots the slaves (again) and then reboots itself.

Every time the master and slaves boot, they assign their network settings using:

nc = CreateObject("roNetworkConfiguration", 0)
nc.SetIP4Address(ip)
nc.SetIP4Netmask("255.255.255.0")
nc.SetIP4Broadcast("192.168.1.255")
nc.SetIP4Gateway("192.168.1.1")
nc.AddDNSServer("192.168.1.1")
ok=nc.Apply()

The system is set to sleep every night, and to wake up every morning (via remote).

My questions are:

1. Is there any problem with issuing so many RebootSystem() commands over time?

2. Is there any problem with resetting the network settings every boot?

I'm settling the system in the next two days so a quick answer would really help.

Thanks very much!!

- Sven

1 comment

  • 0
    Avatar
    Lyndon

     

    1. No there are no problems with the reboots..

    2. No, there aren't any issues with redoing the network settings. 

Please sign in to leave a comment.