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>