Remote IP address Configuration

J

Thread Starter

Jeff Thurman

Looking for information on how to configure a RS485 to Ethernet converter over ethernet connection with linux.

The Unit in question is one of the ISeries ethernet converters from Newport. I would like to change the default IP address of the module over a network connection with a linux box. I managed to configure the unit using Windows 2000 and a dos program called setip.exe.

I originally thought arp would work, but unfortunately does not.

arp -s ip_address mac_address new_ip_address

Any help would be appreciated.

jeff
 
L
With an Ethernet sniffer you can see what setip sends (or ask the vendor - that's usually the easiest *IF* they have an answer). Likely it either sends a proprietary UDP packet or does an invalid ICMP or TCP SYN request with specific conditions the units notices as a request to import a new IP.

While BOOTP/DHCP etc are standard - they rely on central servers running.

The idea of how to force a device with a fixed IP to change to a new IP by network is not standard from vendor to vendor.

Best Regards

Lynn August Linse, Senior IA Application Engineer
15353 Barranca Parkway, Lantronix Inc, Irvine CA 92618
[email protected] www.lantronix.com
Tel: (949)279-3969 Fax: (949)453-7152

Get Plugged-In to the Lantronix quarterly solutions magazine - subscribe today at www.lantronix.com/plugged-in
 
K
Assuming you know the commands or protocol required by the device to do what you want (I'd suggest asking the manufacturer), the Perl
Net::Telnet module (included in the standard distribution) might be a good approach. I'm sure there's an equivalent toolset in Python,
or you could just script some telnet commands and run them in a shell script, or use whatever language you're comfortable with. Perhaps
someone's already done it; if so a thorough search on the web and usenet might unearth something.

Ken
 
Top