summaryrefslogtreecommitdiffstats
path: root/server_wizard/server.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'server_wizard/server.wiz')
-rw-r--r--server_wizard/server.wiz628
1 files changed, 1 insertions, 627 deletions
diff --git a/server_wizard/server.wiz b/server_wizard/server.wiz
index 4deb45f6..14fab983 100644
--- a/server_wizard/server.wiz
+++ b/server_wizard/server.wiz
@@ -6,14 +6,7 @@
libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="Server Wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/images/intranet.jpg"
- height="400"
- width="525"
- hasDb="true"
- dbPositions="5"
- dbFilename="/var/log/wizards/server.wdb"
- referenceLength="425"
- referenceHeight="13"
+ defaultImage="__WIZ_HOME__/server_wizard/images/intranet"
perlModule="__WIZ_HOME__/server_wizard/scripts/Serverconf.pm"
>
@@ -23,9 +16,6 @@
shellVariable="wiz_host_name"
defaultValue="host.domain.net"
valueIsTranslated="false"
- persistent="true"
- dbPosition="0"
- key="true"
>
</Variable>
@@ -35,9 +25,6 @@
shellVariable="wiz_domain_name"
defaultValue="domain"
valueIsTranslated="false"
- persistent="true"
- dbPosition="1"
- key="false"
>
</Variable>
@@ -47,9 +34,6 @@
shellVariable="wiz_ip_net"
defaultValue="192.168.0.0"
valueIsTranslated="false"
- persistent="true"
- dbPosition="2"
- key="false"
>
</Variable>
@@ -59,9 +43,6 @@
shellVariable="wiz_ip_server"
defaultValue="192.168.0.1"
valueIsTranslated="false"
- persistent="true"
- dbPosition="3"
- key="false"
>
</Variable>
@@ -71,9 +52,6 @@
shellVariable="wiz_device"
defaultValue="eth0"
valueIsTranslated="false"
- persistent="true"
- dbPosition="4"
- key="false"
>
</Variable>
@@ -81,9 +59,6 @@
name="wiz_extn_device"
shellVariable="wiz_extn_device"
valueIsTranslated="false"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
@@ -91,9 +66,6 @@
name="wiz_extn_gateway"
shellVariable="wiz_extn_gateway"
valueIsTranslated="false"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
@@ -120,46 +92,16 @@
</Target>
<Info
- name="welcome1"
- alignement="Center"
helpText="Basic Network Configuration Wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="filler"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info1"
- alignement="Center"
helpText="This wizard will help you configuring the basic networking services of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info53"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
</Page>
<Page
@@ -173,55 +115,19 @@
>
<Info
- name="welcome1"
- alignement="Center"
helpText="Warning"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="filler"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info44"
- alignement="Center"
helpText="This wizard will set the basic networking parameter of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info45"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info46"
- alignement="Center"
helpText="You should not run any other applications while running this wizard and at the end of the wizard you should exit your session and redo the login."
- guiType="label"
- fontName="Default"
- fontStyle="italic"
- fontSize="14"
>
</Info>
</Page>
@@ -237,56 +143,23 @@
>
<Info
- name="welcome1"
- alignement="Center"
helpText="Note about networking"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="filler"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info44"
- alignement="East"
helpText="As regards these wizards, your computer is seen as a server managing his own local network (C class network)."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info46"
- alignement="East"
helpText="So, it's very probable that domain name and IP adresses for this local network are DIFFERENT from the server \qexternal\q connection."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info48"
- alignement="East"
helpText="External connection is a network from which the computer is client (Internet or upstream network), connected using another network card or a modem."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -304,17 +177,8 @@
<Freetext
name="freetext"
variableName="hostname"
- alignement="Center"
fillScript="get_var wiz_host_name"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -342,84 +206,30 @@
</Target>
<Info
- name="hostnameLabel"
- alignement="Center"
helpText="Host Name"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info21"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info13"
- alignement="East"
helpText="The hostname is the name under which your server will be known from the other workstations in your network and maybe on the Internet (depending of your upstream configuration)."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="hostnameFiller"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="hostnameInput"
comment="Host name input field"
variableName="hostname"
- alignement="Fill"
fillScript="get_var wiz_host_name $wiz_host_name"
helpText="Host Name:"
- guiType="textfield"
- inputType="domain"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info22"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info19"
- alignement="East"
helpText="Host names must be in the form \qhost.domain.domaintype\q; if your server will be an Internet server, the domain name should be the name registered with your provider. If you will only have intranet any valid name is OK, like \qcompany.net\q."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -437,13 +247,7 @@
>
<Info
- name="info3"
- alignement="Center"
helpText="The host name is not correct"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -458,84 +262,32 @@
>
<Info
- name="deviceLabel"
- alignement="Center"
helpText="Network Device"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info11"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info37"
- alignement="East"
helpText="Choose the network device (usually a card) the server should use to connect to your network. It's the device for the local network, probably not the same device used for internet access."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info43"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Chooser
name="deviceChooser"
variableName="net_device"
- alignement="Fill"
fillScript="__WIZ_HOME__/server_wizard/scripts/liste_device.sh"
helpText="Device:"
helpFontName="Default"
helpFontStyle="plain"
helpFontSize="12"
editable="false"
- guiType="choice"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="true"
- ratio="30"
>
</Chooser>
- <Info
- name="info39"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info42"
- alignement="East"
helpText="Devices are presented with the Linux name and, if known, with the card description."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -550,48 +302,24 @@
>
<Info
- name="debug22"
- alignement="Fill"
helpText="This page compute the domainname; it should be invisible"
- guiType="label"
- fontName="Monospaced"
- fontStyle="italic"
- fontSize="14"
>
</Info>
<Freetext
name="net_deviceField"
variableName="net_device"
- alignement="Fill"
fillScript="get_var wiz_device"
helpText="net device"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="domainnameField"
variableName="domainname"
- alignement="Fill"
fillScript="__WIZ_HOME__/server_wizard/scripts/compute_domain.sh"
helpText="Computed domain Name"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -608,17 +336,8 @@
<Freetext
name="freetext1"
variableName="network_address"
- alignement="Center"
fillScript="get_val wiz_ip_net"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -646,83 +365,29 @@
</Target>
<Info
- name="networkAddressTitle"
- alignement="Center"
helpText="Network Address"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info23"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info24"
- alignement="East"
helpText="The network address is a number identifing your network; the proposed value is designed for a configuration not connected to Internet, or connected using IP masquerading; unless you know what you are doing, accept the default value."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info10"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="freetext2"
variableName="network_address"
- alignement="Fill"
fillScript="__WIZ_HOME__/server_wizard/scripts/compute_ipnet.sh"
helpText="IP net address:"
- guiType="textfield"
- inputType="ip"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info29"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info28"
- alignement="East"
helpText="Network addresses are a list of four numbers smaller than 256, separated by dots; the last number of the list must be zero."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -739,13 +404,7 @@
>
<Info
- name="info5"
- alignement="Center"
helpText="The network address is wrong"
- guiType="label"
- fontName="Default"
- fontStyle="italic"
- fontSize="14"
>
</Info>
</Page>
@@ -760,30 +419,15 @@
>
<Info
- name="debug4"
- alignement="Center"
helpText="This page compute the default server address; should be invisible."
- guiType="label"
- fontName="Monospaced"
- fontStyle="italic"
- fontSize="14"
>
</Info>
<Freetext
name="freetext3"
variableName="server_address"
- alignement="Fill"
fillScript="__WIZ_HOME__/server_wizard/scripts/compute_server_ip.sh"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -800,17 +444,8 @@
<Freetext
name="freetext4"
variableName="wiz_extn_device"
- alignement="Center"
fillScript="echo `get_var wiz_extn_device`"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -827,17 +462,8 @@
<Freetext
name="freetext5"
variableName="wiz_extn_gateway"
- alignement="Center"
fillScript="echo `get_var wiz_extn_gateway`"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -865,82 +491,28 @@
</Target>
<Info
- name="serverAddressTitle"
- alignement="Center"
helpText="Server Address"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info34"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info33"
- alignement="East"
helpText="The server IP address is a number identifing your server in your network; the proposed value designed for a private network , with no internet visibility, or connected using IP masquerading; unless you know what you are doing, accept the default value."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info9"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="serverAddressInput"
variableName="server_address"
- alignement="Fill"
helpText="Server IP address:"
- guiType="textfield"
- inputType="ip"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info36"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info35"
- alignement="East"
helpText="IP addresses are a dotted list of four numbers smaller than 256."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -957,13 +529,7 @@
>
<Info
- name="serverErrorMessage"
- alignement="Center"
helpText="The Server IP address is incorrect"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -979,100 +545,40 @@
>
<Info
- name="info51"
- alignement="Center"
helpText="External gateway"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info58"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info56"
- alignement="East"
helpText="Here is your current value for the external gateway (value specified during the initial installation). The device (network card or modem) should be different from the one used for the internal network."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info52"
- alignement="East"
helpText="Note: the gateway IP address should be non empty if you want an access to outside world."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info57"
- alignement="East"
helpText="(you can change here these values if you know exactly what you're doing)"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info59"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="get_gatewaydev"
variableName="wiz_extn_device"
- alignement="Fill"
helpText="Gateway device:"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="get_ipgateway"
variableName="wiz_extn_gateway"
- alignement="Fill"
helpText="Gateway IP:"
- guiType="textfield"
- inputType="any"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -1095,167 +601,68 @@
</Target>
<Info
- name="doitTitle"
- alignement="Center"
helpText="Configuring your network"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info14"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="explication1"
- alignement="East"
helpText="The wizard collected the following parameters needed to configure your network"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="serverNameConfirm"
variableName="hostname"
- alignement="Fill"
helpText="Server Name:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="networkIPConfirm"
variableName="network_address"
- alignement="Fill"
helpText="Network Address:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="serverIPConfirm"
variableName="server_address"
- alignement="Fill"
helpText="Server Address:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="deviceConfirm"
variableName="net_device"
- alignement="Fill"
helpText="Device:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="gatewayip_confirm"
variableName="wiz_extn_gateway"
- alignement="Fill"
helpText="Gateway IP:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="gatewaydev_confirm"
variableName="wiz_extn_device"
- alignement="Fill"
helpText="Gateway device:"
- guiType="textfield"
- inputType="any"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info12"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="doneLabel"
- alignement="East"
helpText="To accept these values, and configure your server, click on \qConfigure\q or use the Back button to correct them."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -1272,13 +679,7 @@
>
<Info
- name="catastrophe_text"
- alignement="Center"
helpText="Wizard Error."
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -1294,34 +695,13 @@
>
<Info
- name="info15"
- alignement="Center"
helpText="Congratulations"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info16"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="successLabel"
- alignement="Center"
helpText="The wizard successfully configured the basic networking services of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -1338,13 +718,7 @@
>
<Info
- name="root_error_message"
- alignement="Center"
helpText="This Wizard need to run as root"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>