net/net_ic.sh
author Shingo W. Kagami
Sun, 19 Sep 2010 05:55:48 +0900
changeset 5 105778ace30a
permissions -rw-r--r--
Have ppt_printout_ps.vbs take the printer name as an argument.
Misc. changes in Makefile.sample.
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