Shingo@2: #!/bin/sh Shingo@2: Shingo@2: conn="ローカル エリア接続" Shingo@2: if [ "X$1" = "Xwireless" ]; then Shingo@2: conn="ワイヤレス ネットワーク接続" Shingo@2: fi Shingo@2: Shingo@2: netsh interface ip set address "$conn" static 10.240.10.207 255.255.255.0 10.240.10.1 1 Shingo@2: netsh interface ip set dns "$conn" static 130.34.54.2 Shingo@2: netsh interface ip add dns "$conn" 130.34.232.25