beautypg.com

Persistent zgate configuration changes – Zilog EZ80F91GA User Manual

Page 28

background image

The ZGATE Embedded Security Development Kit

UM024502-1012

16

ZGATE Embedded Security Development Kit
User Manual

Persistent ZGATE Configuration Changes

The ZGATE configuration changes made in the previous section only affect the run-time
behavior of ZGATE; these run-time changes are lost each time ZGATE is restarted. To val-
idate this scenario, reload the TCP Port configuration page in the web browser and again
disable TCP ports 20 and 21 (FTP), which will prevent the PC from establishing an FTP
connection with ZGATE. However, if you restart the ZGATE Demo (by entering the

reboot

command on the ZTP console program), you should discover that the PC will

again be able to establish an FTP connection to ZTP.

To modify the boot-time (i.e., persistent) configuration of ZGATE, it is necessary to save
the run-time changes to a configuration file named

zg_rules.usr

in the file system.

Observe the following procedure to create/update the

zg_rules.usr

file to save ZGATE

configuration settings across multiple reboots.

The following procedure will not work properly if the Zilog File System (ZFS) is not
enabled in the ZTP project.

1. Restart the ZGATE Demo program.

2. On the PC running the terminal emulation program, open a web browser such as Inter-

net Explorer or Firefox.

3. In the browser’s URL field, enter the IP address of the ZGATE Demo program’s

Ethernet interface.

4. When the ZGATE Demo program home page appears, click the TCP Port link on the

left side of the page.

5. Delete port numbers 20 and 21 from the list of TCP Ports, if present, then click the

Update

button.

6. In the list of navigation links on the left of the page, click the

Startup Settings

link.

7. In the first section of the output, the current boot time configuration settings are dis-

played in blue text, as shown in the Figure 6 example. A full listing of these settings
follows this figure.

Note: