Ethernet IP Address

Hi,

I have a server application that sends rci request to a ConnectPort X4. Is there a way to determine the ethernet ip address in python so that the ConnectPort can register itself with the server? So far I only set the ip by hand in the code.

Thanks

The safest/offical method is use of RCI commands (and the rci module):
http://www.digi.com/wiki/developer/index.php/Module:rci
http://www.digi.com/wiki/developer/index.php/Simple_RCI_by_HTTP
http://www.digi.com/wiki/developer/index.php/RCI_Request

The ‘boot’ settings group will show you the current Ip address. The response is XML, but given its smal size you can just use string FIND() to locate your 1 desired value.