total descendants:: total children::0 |
nie tak celkom pravda... toto som zbuchal aby som si zjednodusil pracu daj tomu priponu .bat a ako parameter mu zadaj pozadovany profil ...a ze vraj vo wine sa neda skriptovat ... rem @echo off if "%1" == "xanthix" goto xanthix if "%1" == "dhcp" goto dhcp if "%1" == "shitface" goto shitface if "%1" == "lolo" goto lolo if "%1" == "tralaland" goto tralaland rem ----------------------------------------------------------------------------------------------------------- :xanthix netsh interface ip set address "Wireless Network Connection" source=static addr=123.213.231.198 mask=255.0.0.0 netsh interface ip set address "Wireless Network Connection" gateway=123.213.231.132 gwmetric=1 netsh interface ip set dns "Wireless Network Connection" source=static addr=192.168.1.1 goto end rem ----------------------------------------------------------------------------------------------------------- :dhcp netsh interface ip set address "Wireless Network Connection" source=dhcp netsh interface ip set dns "Wireless Network Connection" source=dhcp goto end rem ----------------------------------------------------------------------------------------------------------- :shitface netsh interface ip set address "Wireless Network Connection" source=static addr=192.168.1.6 mask=255.255.255.0 netsh interface ip set address "Wireless Network Connection" gateway=192.168.1.1 gwmetric=1 netsh interface ip set dns "Wireless Network Connection" source=static addr=192.168.1.1 goto end rem ----------------------------------------------------------------------------------------------------------- :lolo netsh interface ip set address "Wireless Network Connection" source=static addr=192.168.7.6 mask=255.255.255.0 netsh interface ip set address "Wireless Network Connection" gateway=192.168.3.1 gwmetric=1 netsh interface ip set dns "Wireless Network Connection" source=static addr=192.168.3.1 goto end rem ----------------------------------------------------------------------------------------------------------- :tralaland netsh interface ip set address "Wireless Network Connection" source=static addr=123.123.123.111 mask=255.255.255.0 netsh interface ip set address "Wireless Network Connection" gateway=123.123.123.1 gwmetric=1 netsh interface ip set dns "Wireless Network Connection" source=static addr=123.123.123.1 goto end :end |
| |||||||||||||||||||||||