Link here

Browsing Into the Remote Device

How to configure your browser and connect to your EtherSmart or WiFi Wildcard using a browser

 

Browser notes

You’ll use a web browser running on your PC to interact with the Lantronix XPort or WiPort web server running on the EtherSmart/WiFi Wildcard. Popular browsers include Microsoft Internet Explorer, Netscape based browsers such as Firefox and Mozilla, Google's Chrome, and other high quality free browsers such as Opera. All of these browsers work with the web demonstration program that comes with the EtherSmart/WiFi Wildcard (see the demonstration program source code listings at the end of this document).

Additional considerations can limit the performance of some of these browsers if your web-enabled instrumentation application needs to serve out more complex web pages that require more than one Ethernet TCP/IP connection per web page. This can occur, for example, when mixed text and image data originating from the Wildcard are served out in a single web page.

The Lantronix hardware on the Wildcard supports only one active connection at a time. However, the HTTP/1.1 standard (and consequently all browsers in their default configuration) expect the webserver to be able to host two simultaneous connections. A default-configured browser will try to open a second connection when two or more content types (for example, HTML text and a JPEG image) are present in a single web page. The second connection will typically be refused by the Lantronix hardware, causing an incomplete page load. The solution is to configure the browser to expect only one connection from the webserver.

Appendix F explains how to reconfigure Internet Explorer to work with any web page that the EtherSmart/WiFi Wildcard can serve out. For the best solution, though, consider downloading the free Opera browser and using it for all your interactions with the EtherSmart and WiFi Wildcards.

 

To be able to browse mixed text and graphics pages from the EtherSmart/WiFi Wildcard without modifying your default browser, go to www.opera.com and download the latest version of the Opera browser for Windows desktop machines. It's free, the download file is compact, and the install takes only a few seconds.

Simply go to www.opera.com and select "Download Opera", then double-click on the resulting file to install the browser on your desktop. It is very easy to configure Opera for the EtherSmart/WiFi webserver. Once Opera is installed, simply go to its Tools menu, and select:

    Preferences→ Advanced→ Network→ Max Connections Per Server

and enter 1 in the box. Now you’re ready to use Opera with the EtherSmart/WiFi Wildcard dynamic webserver. The webserver is described in more detail in a later section.

 

Appendix F: browser configuration

You’ll use a web browser on your PC to interact with the web server running on the EtherSmart/WiFi Wildcard. Popular browsers include Microsoft Internet Explorer, Netscape based browsers such as Firefox and Mozilla, and other high quality free browsers such as Opera. All of these browsers work with the web demonstration program that comes with the EtherSmart Wildcard.

Additional considerations can limit the performance of some of these browsers if your application needs to serve out more complex web pages that require more than one TCP/IP connection per page. This can occur, for example, when mixed text and image data originating from the Wildcard are served out in a single web page.

The Lantronix hardware on the EtherSmart/WiFi Wildcard supports only one active connection at a time. However, the HTTP/1.1 standard (and consequently all browsers in their default configuration) expect the webserver to be able to host two simultaneous connections. A default-configured browser will try to open a second connection when two or more content types (for example, HTML text and a JPEG image) are present in a single web page. The second connection will typically be refused by the Lantronix hardware, causing an incomplete page load. The solution is to configure the browser to expect only one connection from the webserver.

This Appendix explains how to reconfigure Internet Explorer to work with any web page that the EtherSmart/WiFi Wildcard can serve out. For the best solution, though, consider downloading the free Opera browser and using it for all your interactions with the EtherSmart/WiFi Wildcard.

 

Using Opera is recommended

To be able to browse mixed text and graphics pages from the EtherSmart Wildcard without modifying your default browser, go to www.opera.com and download the latest version of the Opera browser for Windows desktop machines. It's free, the download file is compact, and the install takes only a few seconds.

Simply go to www.opera.com and select "Download Opera", then double-click on the resulting file to install the browser on your desktop. It is very easy to configure Opera for the EtherSmart/WiFi webserver. Once Opera is installed, simply go to its Tools menu, and select:

Preferences→ Advanced→ Network→ Max Connections Per Server

and enter 1 in the box. Now you’re ready to use Opera with the EtherSmart/WiFi Wildcard dynamic webserver described above.

 

Reconfiguring the Internet Explorer browser

The Lantronix hardware on the EtherSmart/WiFi Wildcard implements only one connection at a time. To serve mixed text and images or text and frames, or any mixed data types, HTTP/1.1 browsers expect the server to host up to two simultaneous connections. Internet explorer works well with the Lantronix device if you set the registry key MaxConnectionsPerServer to 1.

To perform this browser configuration on your PC running Windows XP, you can (after backing up your registry):

1. Click Start | Run.

2. Type regedit and click OK.

3. Expand the directories HKEY_CURRENT_USER, then Software, Microsoft, Windows, CurrentVersion.

4. Click on "Internet Settings" to view its contents.

5. Check the right-hand column of the regedit window for the following line (value):

MaxConnectionsPerServer

6. If present, right-click on the value (MaxConnectionsPerServer), select Modify from the drop-down menu, click Decimal, and set the Value data field to 1.

7. If the line (value) is not listed, right-click on the white region of Regedit's right-hand column, click New, and then click DWORD Value. Carefully type MaxConnectionsPerServer for the name of the new DWORD Value and press Enter. The new value should now appear in Regedit's right-hand column. Right-click the new value and click Modify. Click Decimal and set the Value Data field to 1, then click OK.

 

Firefox and Mozilla

Unfortunately, there is a low-level bug in the code base of the Netscape-based browsers such as Firefox and Mozilla that prevents reliable operation with mixed image type web pages (such as mixed text and images served from the Lantronix device). The Lantronix hardware does not increment its source port number with each exchanged TCP/IP packet, and Firefox and Mozilla rely on source port incrementing to properly order the received packets in time. The result is that some information is displayed in a skewed order by these browsers. This bug has been reported but has not been repaired. For simple single content type web pages such as those in the EtherSmart/WiFi demo program, any browser including Firefox and Mozilla works well. For more complex mixed data type web pages, Opera is recommended: download it for free from www.opera.com.



See also → Browsing into Remote Device

 
This page is about: Embedded Web Server, Web-enabled Instrumentation and Automation, Internet Remote Control – A free web browser such as Internet Explorer, Firefox, Chrome, or Opera running on your PC interacts with the Lantronix XPort or WiPort embedded web server running on the EtherSmart/WiFi Wildcard. All of these browsers work with the web demonstration program.
 
 
Navigation