Lantronix EDS1100 Linux SDK - User Guide - Page 55

s2e Serial to Ethernet, Tunnel Setup, Submit

Page 55 highlights

10 Sample Applications s2e (Serial to Ethernet) The s2e program demonstrates serial to Ethernet tunneling and a configuration web interface. Note that the boa web server must be enabled with 'make menuconfig' in order to take advantage of the web interface. To access the s2e settings when the s2e and boa processes are running, use your web browser to connect to: http:/// Figure 10-2. Serial-To-Ethernet Converter Screen To setup a serial to Ethernet tunnel, click Tunnel Setup under the desired serial port and configure the tunnel settings. When finished, click Submit. Figure 10-3. Serial-To-Ethernet Tunnel Setup Screen If the tunnel is configured for server mode, you can now telnet to the target's IP address at the configured TCP port number to access the serial port. telnet Linux Software Developers Kit (SDK) User Guide 55

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76

10 Sample Applications
Linux Software Developers Kit (SDK) User Guide
55
s2e (Serial to Ethernet)
The s2e program demonstrates serial to Ethernet tunneling and a configuration web interface.
Note that the boa web server must be enabled with ‘make menuconfig’ in order to take advantage
of the web interface.
To access the s2e settings when the s2e and boa processes are running, use your web browser
to connect to: http://<target_ip>/
Figure 10-2. Serial-To-Ethernet Converter Screen
To setup a serial to Ethernet tunnel, click
Tunnel Setup
under the desired serial port and
configure the tunnel settings. When finished, click
Submit
.
Figure 10-3. Serial-To-Ethernet Tunnel Setup Screen
If the tunnel is configured for server mode, you can now telnet to the target’s IP address at the
configured TCP port number to access the serial port.
telnet <target_ip> <tcp_port_for_tunnel>