37 lines
1.3 KiB
Batchfile
37 lines
1.3 KiB
Batchfile
@echo off
|
|
cls
|
|
echo Konfiguration UMTS
|
|
rem netsh interface set interface "Mobile Breitbandverbindung" admin=DISABLED
|
|
|
|
|
|
|
|
echo Konfiguration WLAN
|
|
netsh interface set interface Drahtlosnetzwerkverbindung admin=ENABLED
|
|
netsh interface ip set address Drahtlosnetzwerkverbindung dhcp
|
|
netsh interface ip delete dns Drahtlosnetzwerkverbindung 212.202.215.1
|
|
netsh interface ip delete dns Drahtlosnetzwerkverbindung 212.202.215.2
|
|
netsh interface ip delete dns Drahtlosnetzwerkverbindung 172.23.23.231
|
|
netsh interface ip delete dns Drahtlosnetzwerkverbindung 172.23.23.166
|
|
|
|
|
|
|
|
echo Konfiguration LAN
|
|
netsh interface set interface LAN-Verbindung admin=ENABLED
|
|
netsh interface ip set address LAN-Verbindung static 172.23.210.222 255.255.255.0 gateway=none
|
|
netsh interface ip delete dns LAN-Verbindung 212.202.215.1
|
|
netsh interface ip delete dns LAN-Verbindung 212.202.215.2
|
|
netsh interface ip delete dns LAN-Verbindung 172.23.23.231
|
|
netsh interface ip delete dns LAN-Verbindung 172.23.23.166
|
|
|
|
|
|
|
|
echo Konfiguration DNS
|
|
netsh interface ip add dns LAN-Verbindung 172.23.23.231
|
|
netsh interface ip add dns LAN-Verbindung 172.23.23.166
|
|
netsh interface ip add dns Drahtlosnetzwerkverbindung 212.202.215.1
|
|
netsh interface ip add dns Drahtlosnetzwerkverbindung 8.8.8.8
|
|
|
|
|
|
echo Konfiguration Routing
|
|
route add 172.23.0.0 mask 255.255.0.0 172.23.210.254
|