net/net_ic.sh
author Shingo W. Kagami
Mon, 13 Sep 2010 03:54:21 +0900
changeset 4 8b90d57759c9
permissions -rw-r--r--
Add ppt2eps tool set.
Shingo@2
     1
#!/bin/sh
Shingo@2
     2
Shingo@2
     3
conn="ローカル エリア接続"
Shingo@2
     4
if [ "X$1" = "Xwireless" ]; then
Shingo@2
     5
    conn="ワイヤレス ネットワーク接続"
Shingo@2
     6
fi
Shingo@2
     7
Shingo@2
     8
netsh interface ip set address "$conn" static 10.240.10.207 255.255.255.0 10.240.10.1 1
Shingo@2
     9
netsh interface ip set dns "$conn" static 130.34.54.2
Shingo@2
    10
netsh interface ip add dns "$conn" 130.34.232.25