Configuring The Web Server And Web Client - Xilinx MicroBlaze Spartan-3E 1600E Edition Getting Started

Hide thumbs Also See for MicroBlaze Spartan-3E 1600E Edition:
Table of Contents

Advertisement

R

Configuring the Web Server and Web Client

The Web server demonstration requires manual entry of the IP settings. To configure both
the server and client to run the demonstration, follow these steps:
1.
2.
3.
4.
Getting Started with the MicroBlaze Development Kit - Spartan3E 1600E Edition
UG258 (v1.0) June 29, 2006
In the HyperTerminal window, fill in the IP settings for the Web server. An example is
to use an IP address of 1.2.3.4, a subnet mask of 255.255.255.0, and a gateway of
1.2.3.1. In HyperTerminal, these settings will appear as the following text:
This demonstration requires manual entry of your IP configuration
settings. Please fill in the following fields:
IP Address : 1.2.3.4
Is the address 1.2.3.4 correct? (y/n)
Subnet Mask: 255.255.255.0
Is the address 255.255.255.0 correct? (y/n)
Gateway
: 1.2.3.1
Is the address 1.2.3.1 correct? (y/n)
Note:
For the IP address, subnet mask, and gateway, a period is used to seperate the fields.
Input a period to move to the next field. After each setting is input, the Web server application will
ask the user to accept the setting. Type "y" to accept the setting.
After the IP configuration settings have been input, the Web server demonstration will
output text to the HyperTerminal stating that Web server is accepting connections.
This text will appear similar to the following:
##################################################################
# Xilinx lwIP TCP/IP Demo Application (Web Server)
#
# Web Server is now configured and accepting connections.
#
##################################################################
MAC Address: 01-02-03-04-05-06
IP Address : 1.2.3.4
Subnet Mask: 255.255.255.0
Gateway
: 1.2.3.1
Server initialization complete.
HTTP server is now accepting new connections on port 80
Modify the IP address of the host PC so that it is on the same subnet as the Web Server.
To work with the example in step 1, the host PC can be set to have an IP address of
1.2.3.9, a subnet mask of 255.255.255.0, and a gateway of 1.2.3.1.
Note:
When changing the IP settings on the PC, note the original property settings, so that the
original properties can be reset after the web server demonstration is run.
On the host PC, open an HTML browser and point to the http://x.x.x.x URL, where
x.x.x.x is the IP address specified for the Web Server. For the example used in step 1,
use http://1.2.3.4 for the URL.
The Web server demo Web page should appear in the browser. The Web page is shown
in
Figure
3-10. Follow the instructions on the Web page to read the values of the DIP
switches and write to the LEDs on the board.
www.xilinx.com
Executing the Web Server Reference System
#
#
#
#
31

Advertisement

Table of Contents
loading

Table of Contents