Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
The Army needs leaders the way a foot needs a big toe.
-- Bill Murray
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the department...
Remote IP address Configuration
Communications systems and equipment. topic
Posted by Jeff Thurman on 16 June, 2002 - 10:08 am
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


Posted by Lynn Linse on 17 June, 2002 - 3:51 pm
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
lynn.linse@lantronix.com 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


Posted by Ken Irving on 19 June, 2002 - 5:37 pm
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

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2009 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Control Engineering magazine subscription
Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!