
4.4 Ulteriori informazioni sulla consolle
4.4.1 Prompt
Quando il WebGate è pronto per un comando utente visualizza una
riga che inizia con il segno “>”.
4.4.2 Login
Per default, l’accesso alla consolle avviene con il livello di
autorizzazione dell’utente “anonymous”.
Perciò, se si utilizzano le procedure di user management (vedi
Gestione Utente
) alcune funzioni potrebbero non essere disponibili.
Per un accesso completo alle funzioni della consolle, utilizzare il
comando “Login” (vedi
Funzioni Script del WebGate
).
Alla consegna del WebGate, l’utente anonymous ha diritti da
“administrator”. Perciò per la prima configurazione non è necessario
usare il comando Login.
4.4.3 Limitazioni nell’uso di espressioni
Quando si esegue una funzione dal terminale, va ricordato che le
espressioni che seguono il segno “=” non devono contenere spazi:
set(test) = test+ 1
←
Errato
set(test) = 3 + 1
←
Errato
set(test) = test+1
←
OK
4.4.4 Ritardi successivi all’esecuzione delle funzioni
In seguito all’esecuzione di alcune funzioni (ad esempio “IPAddress”)
può verificarsi un evidente rallentamento del terminale e alcuni caratteri
della tastiera potrebbero venire ignorati.Si tratta di un comportamento
normale ed inevitabile, che si verifica quando viene modificato un file di
configurazione interna. Durante questa fase il LED status si accende
giallo ad indicare lo stato di occupato.
5. File system
Il WebGate si basa su un file system integrato accessibile all’utente.
Il file system viene utilizzato per memorizzare pagine HTML e qualsiasi
altro file che possa risultare utile all’utente.
L’utente può memorizzare fino a 100 file in 400 KByte di spazio
riservati a questo scopo.
Inoltre, il WebGate viene fornito con alcuni file pre-caricati (pagine di
configurazione, immagini, ecc.), ridondanti e non sovrascrivibili, per
garantire maggiore affidabilità.
5.1 File
I file utente hanno le seguenti caratteristiche:
• La lunghezza massima del nome del file è di 127 caratteri ASCII.
• Sono consentiti i seguenti simboli:
, , e
Non sono consentiti né caratteri con codice ASCII minore di “33” o
maggiore di 127, né i caratteri elencati qui sotto:
Ad esempio, non sono permessi “spazi” all’interno di un nome.
• Le lettere maiuscole e minuscole vengono preservate, ma vengono
ignorate nelle ricerche (come in MS Windows TM).
• I file sono memorizzati con un “header” di circa 150 byte in settori di
1KByte ciascuno. Di conseguenza, ciascun file utilizzerà un’area di
memoria un po’ più grande delle dimensioni del file stesso.
4.4 Additional notes about the console
4.4.1 Prompt
When WebGate is ready for a user command, it displays a line
beginnig with a “>” sign.
4.4.2 Login
By default, console access is restricted to the same rights of the
“anonymous” user.
Since of this, if you are using the user management capabilities (see
User Management
) some functions may be restricted to you. To gain
full access to console functions, please use the “Login” command (see
WebGate Script Functions
).
When WebGate is shipped from factory, the anonymous user have
“administrator” rights. Since of this, for the first configuration you don’t
need to use the Login command.
4.4.3 Limitations using expressions
When using a function with the terminal, please remember that
expressions following the assignment operator “=” must not contain
spacing characters:
set(test) = test+ 1
←
Wrong
set(test) = 3 + 1
←
Wrong
set(test) = test+1
←
OK
4.4.4 Delays after function execution
After the execution of some functions (e.g. “IPAddress”) a noticeable
terminal slow-down may occur and some keyboards characters could
be ignored.
This is a normal and unavoidable behaviour that occurs when the
internal configuration file is modified. During this time the status LED
will light on yellow to indicate a busy status.
5. File system
WebGate is based on an embedded file system accessible to the user.
File system is used to store HTML pages and any other file that may
be useful to the user.
The user can store up to 100 user files in the 400 KBytes storage
space reserved to this purpose.
In addition, WebGate comes with some factory files (configuration
pages, images, etc.) that are redundant and write protected for
increased reliability.
5.1 Files
User files have the following characteristics:
• Maximum file name length is 127 ASCII characters.
• The following symbols are allowed:
, , and
Neither characters with ASCII code less of “33” or greater than 127,
or characters listed below are not allowed:
For instance, please note that “space” characters inside a name are
not allowed.
• Capital and non-capital letters are preserved, but file search is not
case sensitive (in a similar way to MS Windows TM).
• Files are stored with a “header” of about 150 bytes in sectors of
1KByte each. Consequently, every file will use a memory area a little
17
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003