Lantronix Xport: Difference between revisions

From Appelwiki
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== LanTronix XPort ===
== LanTronix XPort ==


== Why? ==
=== Why? ===
I manage to get a few of these and after some annoying searches on google I noticed there is not so much known about these little ethernet/serial/webservers.
I manage to get a few of these and after some annoying searches on google I noticed there is not so much known about these little ethernet/serial/webservers.


== What? ==
=== What? ===
It's a very small 3,3 brick with ethernet, 1 serial and 3 GPIO lines.
It's a very small 3,3Volt brick with ethernet, 1 serial and 3 GPIO lines. It is also capable of sending mail and creating serial tunnels.


=== Serial ===
using the serial tunnel is easy, just telnet to port 10001.
=== GPIO ===
=== GPIO ===
This made me happy. until I noticed all the cool stuff was hidden behind NDA's and the SDK. Lucky for me the manual and a japanese guy got me started on programming them with perl. See [[XPort GPIO from Perl]].
This made me happy. until I noticed all the cool stuff was hidden behind NDA's and the SDK. Lucky for me the manual and a japanese guy got me started on programming them with perl. See [[XPort GPIO from Perl]].
=== Firmware upgrade ===
The firmware upgrade procedure is very detailed in the manual. The upgrade rom is only needed for upgrading from old systems AFAIK.
tftp -i 192.168.1.16 put xpt03upg_v21a.rom X2
tftp -i 192.168.1.16 put xpt03_6602.rom X5
tftp -i 192.168.1.16 put gen_xpt_webm_1701.cob WEB1
There is a rom part and a web part. The web part is user-modifiable to create a web interface XPort.
=== Getting a used one back to life ===
When you're lucky the tftp-firmware bit is still true. If the device has a fixed IP, you need to find out which IP the XPort has. I found a simple procedure:
start something like wireshark
create a filter (eth.src contains 00:20:4a)
start capturing
start the lantronix deviceInstaller
Scan
Now you should see some package like "Who is IP X tell Y.Y.Y.Y"
The XPort has IP Y.Y.Y.Y
Give Your PC temporary IP X
telnet  Y.Y.Y.Y 9999
option 0
all 0
save and exit
The device will get a dhcp IP now and will be seen by the deviceInstaller
If this fails you can flash it's rom through the serial port with the deviceInstaller.


=== Links ===
=== Links ===
Line 14: Line 48:
* [http://ltxfaq.custhelp.com/cgi-bin/ltxfaq.cfg/php/enduser/std_adp.php?p_faqid=943&p_created=1075227796&p_sid=2e3pT6-i&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MjA4JnBfcHJvZHM9MTAmcF9jYXRzPSZwX3B2PTEuMTAmcF9jdj0mcF9zZWFyY2hfdHlwZT1hbnN3ZXJzLnNlYXJjaF9ubCZwX3BhZ2U9Mg Lantronix Forum about webcontent inside the XPort]
* [http://ltxfaq.custhelp.com/cgi-bin/ltxfaq.cfg/php/enduser/std_adp.php?p_faqid=943&p_created=1075227796&p_sid=2e3pT6-i&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MjA4JnBfcHJvZHM9MTAmcF9jYXRzPSZwX3B2PTEuMTAmcF9jdj0mcF9zZWFyY2hfdHlwZT1hbnN3ZXJzLnNlYXJjaF9ubCZwX3BhZ2U9Mg Lantronix Forum about webcontent inside the XPort]
* [http://cancoffee2.at.webry.info/200808/article_66.html a japanese article how to connect with perl]
* [http://cancoffee2.at.webry.info/200808/article_66.html a japanese article how to connect with perl]
* [http://www.wiring.org.co/learning/examples/lantronix_xport.html an abandonned example?]
* [http://www.innovativetechnology.nl/show.php?action=show&id=17 innovativetechnology]
* [http://www.circuitsonline.net/forum/view/41558/2/xport forum discussie over de server kant]

Latest revision as of 21:21, 24 October 2009

LanTronix XPort

Why?

I manage to get a few of these and after some annoying searches on google I noticed there is not so much known about these little ethernet/serial/webservers.

What?

It's a very small 3,3Volt brick with ethernet, 1 serial and 3 GPIO lines. It is also capable of sending mail and creating serial tunnels.

Serial

using the serial tunnel is easy, just telnet to port 10001.

GPIO

This made me happy. until I noticed all the cool stuff was hidden behind NDA's and the SDK. Lucky for me the manual and a japanese guy got me started on programming them with perl. See XPort GPIO from Perl.

Firmware upgrade

The firmware upgrade procedure is very detailed in the manual. The upgrade rom is only needed for upgrading from old systems AFAIK.

tftp -i 192.168.1.16 put xpt03upg_v21a.rom X2
tftp -i 192.168.1.16 put xpt03_6602.rom X5
tftp -i 192.168.1.16 put gen_xpt_webm_1701.cob WEB1

There is a rom part and a web part. The web part is user-modifiable to create a web interface XPort.

Getting a used one back to life

When you're lucky the tftp-firmware bit is still true. If the device has a fixed IP, you need to find out which IP the XPort has. I found a simple procedure:

start something like wireshark
create a filter (eth.src contains 00:20:4a) 
start capturing
start the lantronix deviceInstaller
Scan
Now you should see some package like "Who is IP X tell Y.Y.Y.Y"
The XPort has IP Y.Y.Y.Y
Give Your PC temporary IP X
telnet  Y.Y.Y.Y 9999
option 0
all 0
save and exit
The device will get a dhcp IP now and will be seen by the deviceInstaller

If this fails you can flash it's rom through the serial port with the deviceInstaller.

Links