How do I change the standard web browser pages?
The master copies of all the web pages served up by the embedded web server are securely stored in non-volatile flash memory and cannot be changed by the user.
An EEPROM, Electrically Eraseable Programmable Read Only Memory, or flash memory is provided to store additional custom designed web pages. These may be as simple as a company logo to head a page or as complex as fully animated interactive SCADA pages. The 32K x 8 (256Kbit) EEPROM can hold a substantial number of pages but there is a performance trade off between individually large pages and response times.
Web pages are written in standard html appropriate for the browsers that will be used. They are loaded into the web server using tftpi and this should only be carried out over a secure communications link.
How to load custom pages:
This instruction is written for Windows users. Although the process should work with Linux and other operating systems it has not yet been tested.
Check that you have the Microsoft tftp program loaded. Open a command prompt, DOS, window.
Type ping 192.168.2.1 replacing 192.168.2.1 with the IP address of the NC300.
You should see a reply from the NC300 similar to the one below. This confirms that communications can be established with the NC300Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time<1ms TTL=100
Reply from 192.168.2.1: bytes=32 time<1ms TTL=100
Reply from 192.168.2.1: bytes=32 time<1ms TTL=100
Reply from 192.168.2.1: bytes=32 time<1ms TTL=100
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
- Type tftp in the DOS window and you should see the following text: This confirms that tftp is correctly installed on the PC.
Microsoft Windows XP [Version 5.x.xxxx]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>tftp
Transfers files to and from a remote computer running the TFTP service.
TFTP [-i] host [GET | PUT] source [destination]
-i Specifies binary image transfer mode (also called
octet). In binary image mode the file is moved
literally, byte by byte. Use this mode when
transferring binary files.
host Specifies the local or remote host.
GET Transfers the file destination on the remote host to
the file source on the local host.
PUT Transfers the file source on the local host to
the file destination on the remote host.
source Specifies the file to transfer.
destination Specifies where to transfer the file
- Type in:
tftp -i 192.168.2.1 PUT filename.html
where 192.168.2.1 is replaced with the IP address of the NC300 and filename.html is replaced by the name of the file to be copied to the NC300.
You should see the following reply.Transfer successful: 2948 bytes in 14 seconds, 210 bytes/s
with the values corresponding to the file size transferred.
- The NC300 creates a simple directory listing in a file named dir.txt in the EEPROM on the NC300. This can be copied back to the PC by typing
tftp -i 192.168.2.1 GET dir.txt
at the command prompt. When the file has been successfully transferred back to the PC it can be viewed using a simple text editor. - tftp uses port 69 and the UDP protocol to communicate over the network. If a router is between the PC and the NC300 it is essential that this is allowed.