Index: nutchez-0.2/src/test/install
===================================================================
--- nutchez-0.2/src/test/install	(revision 149)
+++ nutchez-0.2/src/test/install	(revision 150)
@@ -6,4 +6,7 @@
 source ./client_install_func.sh
 ### real code #####
+
+# 前置作業
+# *.sh及nutchez-0.2-0531.tar.gz均在同一目錄下
 
 # 執行環境檢查
Index: nutchez-0.2/src/test/install_func.sh
===================================================================
--- nutchez-0.2/src/test/install_func.sh	(revision 149)
+++ nutchez-0.2/src/test/install_func.sh	(revision 150)
@@ -26,5 +26,7 @@
   set_nutchuser_passwd
   read -p "Please enter Administrator's e-mail address: " Admin_email
-  read -p "Please enter the Master DNS:  " MasterDNS
+  select_eth
+  MasterIP_Address=$net_address
+  # read -p "Please enter the Master DNS:  " MasterDNS
 }
 
@@ -37,7 +39,43 @@
 }
 
+
+function select_eth () {
+  net_interfaces=$(ifconfig | grep ^eth | cut -d " " -f1)
+  net_nu=$(echo $net_interfaces | wc -w)
+
+  # 若只有一個 eth　時
+  if [ "$net_nu" == "1" ]; then
+    ifconfig $net_interfaces | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1
+    net_address=$(ifconfig $net_interfaces | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1)
+  #  echo "net_address is $net_address"
+
+  # 若有多個 eth 時
+  else
+    declare -i i=1
+    echo -e "\nSystem have multiple network device, which network use for this machine: "
+
+    for net in $net_interfaces
+      do
+        echo "($i)  $net  $(ifconfig $net | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1)"
+        i=i+1
+      done
+
+      read -p "Plz choice(1/2/3...): " net_choice
+    if [ -z $net_choice ]; then
+      net_choice=1
+    fi
+
+    echo "Your choice is $net_choice"
+    net_interface=$(echo $net_interfaces | cut -d " " -f $net_choice)
+    ifconfig $net_interface | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1
+    net_address=$(ifconfig $net_interface | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1)
+    echo "net_address is $net_address"
+  fi
+}
+
+
 function show_info () {
   echo "Administrator's e-mail address is $Admin_email."
-  echo "The master DNS is: $MasterDNS"
+  echo "The Master IP Address is: $MasterDNS"
 }
 
@@ -132,10 +170,10 @@
 }
 
+# client簡易步驟
 function client_install_command () {
-  WhereAmI=pwd
   echo "Client Install Command as Follows:"
   echo "cd ~"
   echo "mkdir NutchezClientInstall"
-  echo "scp $WhereAmI/* ~/NutchezClientInstall"
+  echo "scp 安裝的shell檔所在路徑/PATH/ ~/NutchezClientInstall"
   echo "./client_install"
 }
