net/net_ic.sh
changeset 2 3473a6fcda66
equal deleted inserted replaced
-1:000000000000 0:1b81619390bb
       
     1 #!/bin/sh
       
     2 
       
     3 conn="ローカル エリア接続"
       
     4 if [ "X$1" = "Xwireless" ]; then
       
     5     conn="ワイヤレス ネットワーク接続"
       
     6 fi
       
     7 
       
     8 netsh interface ip set address "$conn" static 10.240.10.207 255.255.255.0 10.240.10.1 1
       
     9 netsh interface ip set dns "$conn" static 130.34.54.2
       
    10 netsh interface ip add dns "$conn" 130.34.232.25