No announcement yet.

Re-configuring eth0 on-the-fly

  • Filter
  • Time
  • Show
Clear All
new posts

  • Re-configuring eth0 on-the-fly

    I am working on a project where I need to change the current IP address settings for the Mathcport AR "on-the-fly" but I havent found a way to do so.
    My current approach is to use the XML-configuration to change the settings but I havent found any way to re-initialize the eth0 network without having to reboot the device. Rebooting is not a feasible way for my application since the time the module takes to reboot is too long.

    My questions are:
    - Is there any API available to "re-initialize" the network without rebooting the device?
    - If the answer to the above question is NO - is there any way then to make the reboot of the device faster?

    Best regards,

  • #2
    No, sorry. Currently, changing the IP address requires a reboot. Dynamic network changes are currently on our todo list, but have not been scheduled for work.

    And, no, sorry, there is no way to speed up the reboot.
    Thomas Cook
    Evolution OS
    Lantronix, Inc.


    • #3

      Are you rebooting from within the software? How do you do this?

      - Bob


      • #4
        What product and version of the SDK are you using?
        Newer releases have EvolutionReboot() in evolution.h.



        • #5
          Hi Bob,

          I am using EvolutionReboot() from within my code.

          But my problem is that I cannot change the IP-address _without_ rebooting.



          • #6
            I'm using v5 Release 14. I saw EvolutionReboot in the manual but I wasn't sure if it caused the IP address to get applied, or if a hard reset was required.

            Thanks to both of you for the information. I'll use that and be able to apply changes to the IP settings that the XPort receives from its host processor. Fortunately for me the reboot time isn't a big deal.