[diskless]~/drbl>./drblcli_desktop.pl -i
------------------------------------------------------
The interactive mode let you supply the information of your DRBL environment.
------------------------------------------------------
DOMAIN is unset, please enter DOMAIN now:
drbl.org
Found eth0 IP (140.110.20.69) in your system, but it's not private IP, not well configured, or not up now!!!
We will skip eth0!
Found private IP "192.168.100.254" in eth0:1 on your system!
Found private IP "192.168.101.254" in eth1 on your system!
Found private IP "192.168.102.254" in eth2 on your system!
Found private IP "192.168.103.254" in eth3 on your system!
Configured ethernet card(s) found in your system: eth0:1 eth1 eth2 eth3
------------------------------------------------------
******************************************************
Do you want to fix the IP address of client connected to eth0:1 by giving MAC address ?
[y/N] n
******************************************************
Ok! Let's continue, we will set the IP address of clients by "first boot gets IP first"!
How many DRBL clients (PC for students) connected to eth0:1 ?
Please enter the number (Example: 12):10
******************************************************
The value you set is "10".
We will set the IP address for the clients connected to eth0:1 as: 192.168.100.1 - 192.168.100.10
Do you want to continue ? Say "yes" or "y" to accept this value, or any other letter to enter the number again.
[y/N] y
******************************************************
Ok! Let's continue!
Do you want to fix the IP address of client connected to eth1 by giving MAC address ?
[y/N] n
******************************************************
Ok! Let's continue, we will set the IP address of clients by "first boot gets IP first"!
How many DRBL clients (PC for students) connected to eth1 ?
Please enter the number (Example: 12):10
******************************************************
The value you set is "10".
We will set the IP address for the clients connected to eth1 as: 192.168.101.1 - 192.168.101.10
Do you want to continue ? Say "yes" or "y" to accept this value, or any other letter to enter the number again.
[y/N] y
******************************************************
Ok! Let's continue!
Do you want to fix the IP address of client connected to eth2 by giving MAC address ?
[y/N] n
******************************************************
Ok! Let's continue, we will set the IP address of clients by "first boot gets IP first"!
How many DRBL clients (PC for students) connected to eth2 ?
Please enter the number (Example: 12):10
******************************************************
The value you set is "10".
We will set the IP address for the clients connected to eth2 as: 192.168.102.1 - 192.168.102.10
Do you want to continue ? Say "yes" or "y" to accept this value, or any other letter to enter the number again.
[y/N] y
******************************************************
Ok! Let's continue!
Do you want to fix the IP address of client connected to eth3 by giving MAC address ?
[y/N] n
******************************************************
Ok! Let's continue, we will set the IP address of clients by "first boot gets IP first"!
How many DRBL clients (PC for students) connected to eth3 ?
Please enter the number (Example: 12):10
******************************************************
The value you set is "10".
We will set the IP address for the clients connected to eth3 as: 192.168.103.1 - 192.168.103.10
Do you want to continue ? Say "yes" or "y" to accept this value, or any other letter to enter the number again.
[y/N] y
******************************************************
Ok! Let's continue!
******************************************************
The Layout for your DRBL environment:
******************************************************
NIC    NIC IP                    Clients
+-----------------------------+
|         DRBL SERVER         |
|                             |
|    +-- [eth0] 140.110.20.69 +- to WAN
|                             |
|    +-- [eth0:1] 192.168.100.254 +- to clients group 0:1 [ 10 clients, their IP
|                             |            from 192.168.100.1 - 192.168.100.10]
|    +-- [eth1] 192.168.101.254 +- to clients group 1 [ 10 clients, their IP
|                             |            from 192.168.101.1 - 192.168.101.10]
|    +-- [eth2] 192.168.102.254 +- to clients group 2 [ 10 clients, their IP
|                             |            from 192.168.102.1 - 192.168.102.10]
|    +-- [eth3] 192.168.103.254 +- to clients group 3 [ 10 clients, their IP
|                             |            from 192.168.103.1 - 192.168.103.10]
+-----------------------------+
******************************************************
------------------------------------------------------------
If there is a local harddrive in your client machine,
do you want to create swap file in it so that client has more memory to use ?
Say "yes" or "y" to set them, or any other letter to continue!
[y/N] y
******************************************************
Ok! We will try to create the swap file if you have local HD in your hard drive for you !
------------------------------------------------------
------------------------------------------------------------
What's the maximun size (Megabytes) for the swap file ?
We will try to allocate the size for you, but it's not enough, 60% of the free space will be used.
[128] 256
------------------------------------------------------
Which mode do you want the clients to use after they boot (G/t) ?
"g" or "G" for Graphic mode (X window system), this is default,
"t" or "T" for Text mode.
[G/t] g
The clients will use text mode when they boot.
******************************************************
------------------------------------------------------
By using alias interface, every client can have 2 IPs,
one of them is private IP for clients connected to DRBL server, and the other is public IP for clients connected to WAN!
Do you want to setup public IP for clients ? Say "yes" or "y" to set them, or any other letter to continue!
[y/N] n
******************************************************
Searching the installed packages for DRBL server...
Finished searching the installed packages for DRBL server.
******************************************************
******************************************************
We are now ready to deploy the files to system!
Do you want to continue ? Say "yes" or "y" to continue, or any other letter to quit!
[y/N] y
******************************************************
Ok! Let's do it!
You are not root,
please enter root's password to deploy them...
Password:

******************************************************
******************************************************
The version number for your Redhat Linux: 9
Cleaning old common root files if they exist...  done !
Creating common root files... This might take several minutes...cannot determine current run level
done!
Creating diskless client: diskless-0-1-001 192.168.100.1 ... done !!!
Creating diskless client: diskless-0-1-002 192.168.100.2 ... done !!!
Creating diskless client: diskless-0-1-003 192.168.100.3 ... done !!!
Creating diskless client: diskless-0-1-004 192.168.100.4 ... done !!!
Creating diskless client: diskless-0-1-005 192.168.100.5 ... done !!!
Creating diskless client: diskless-0-1-006 192.168.100.6 ... done !!!
Creating diskless client: diskless-0-1-007 192.168.100.7 ... done !!!
Creating diskless client: diskless-0-1-008 192.168.100.8 ... done !!!
Creating diskless client: diskless-0-1-009 192.168.100.9 ... done !!!
Creating diskless client: diskless-0-1-010 192.168.100.10 ... done !!!
Creating diskless client: diskless-1-001 192.168.101.1 ... done !!!
Creating diskless client: diskless-1-002 192.168.101.2 ... done !!!
Creating diskless client: diskless-1-003 192.168.101.3 ... done !!!
Creating diskless client: diskless-1-004 192.168.101.4 ... done !!!
Creating diskless client: diskless-1-005 192.168.101.5 ... done !!!
Creating diskless client: diskless-1-006 192.168.101.6 ... done !!!
Creating diskless client: diskless-1-007 192.168.101.7 ... done !!!
Creating diskless client: diskless-1-008 192.168.101.8 ... done !!!
Creating diskless client: diskless-1-009 192.168.101.9 ... done !!!
Creating diskless client: diskless-1-010 192.168.101.10 ... done !!!
Creating diskless client: diskless-2-001 192.168.102.1 ... done !!!
Creating diskless client: diskless-2-002 192.168.102.2 ... done !!!
Creating diskless client: diskless-2-003 192.168.102.3 ... done !!!
Creating diskless client: diskless-2-004 192.168.102.4 ... done !!!
Creating diskless client: diskless-2-005 192.168.102.5 ... done !!!
Creating diskless client: diskless-2-006 192.168.102.6 ... done !!!
Creating diskless client: diskless-2-007 192.168.102.7 ... done !!!
Creating diskless client: diskless-2-008 192.168.102.8 ... done !!!
Creating diskless client: diskless-2-009 192.168.102.9 ... done !!!
Creating diskless client: diskless-2-010 192.168.102.10 ... done !!!
Creating diskless client: diskless-3-001 192.168.103.1 ... done !!!
Creating diskless client: diskless-3-002 192.168.103.2 ... done !!!
Creating diskless client: diskless-3-003 192.168.103.3 ... done !!!
Creating diskless client: diskless-3-004 192.168.103.4 ... done !!!
Creating diskless client: diskless-3-005 192.168.103.5 ... done !!!
Creating diskless client: diskless-3-006 192.168.103.6 ... done !!!
Creating diskless client: diskless-3-007 192.168.103.7 ... done !!!
Creating diskless client: diskless-3-008 192.168.103.8 ... done !!!
Creating diskless client: diskless-3-009 192.168.103.9 ... done !!!
Creating diskless client: diskless-3-010 192.168.103.10 ... done !!!
Now set the services dhcp, xinetd, nis, nfs, iptables to be on when the machine start up.
Flushing all chains:                                       [  OK  ]
Removing user defined chains:                              [  OK  ]
Resetting built-in chains to the default ACCEPT policy:    [  OK  ]
Saving current rules to /etc/sysconfig/iptables:           [  OK  ]
Now start the service dhcp, xinetd, ypserv, nfs, iptables!
Starting dhcpd:                                            [  OK  ]
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Starting YP server services:                               [  OK  ]
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [  OK  ]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Stopping NFS statd:                                        [  OK  ]
Starting NFS statd:                                        [  OK  ]
Flushing all current rules and user defined chains:        [  OK  ]
Clearing all current rules and user defined chains:        [  OK  ]
Applying iptables firewall rules:                          [  OK  ]
Update YP...
Turn on ip_forward now.
Calibrating time now...

--------------NCHC OPENSOURCE TASKFORCE---------------
http://opensource.nchc.org.tw
Thank you for choosing DRBL Solution.
If you have question, please feel free to email to
ostf@opensource.nchc.org.tw, c00hkl00@nchc.org.tw
or steven@nchc.org.tw.
-------------------Thank You--------------------------

******************************************************
Now syncing - flush filesystem buffers...
******************************************************
If you like, you can reboot the DRBL server now to make sure everything is ready...(This is not necessary, just an option.)
