This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Switching between DHCP client and server

Part Number: AM5728

Tool/software: Linux

Hi,

OS is Arago. AM5728 is currently a dhcp client on eth0. I want it to also be able to be a dhcp server on eth0. I want to be able to toggle between being a client and server on a click of a button per say. Can you please tell me how i can go about doing that?

Hermon 

  • Hi,

    To be able to switch between client and server is most likely possible but it is beyond the scope of support from TI since this resides above the CPSW driver in the user space area that is manged by SystemD.  The current SDKs start a SystemD service that initializes a udhcpc on boot in an attempt to get an IP address for the interface.  This start up service would need to removed and a new SystemD service would need to be created that would manage the start of either a client or server based on user input. There maybe examples of how to do this in the SystemD community or found on the web. 

    Best Regards,

    Schuyler