Jumaat, 19 September 2008

netsh for Vista

Make sure the UAC is disable.

--- set DHCP to wireless interface named “Wireless Network Connection” ---
netsh interface ipv4 set address name="Wireless Network Connection" dhcp
netsh interface ipv4 set dnsserver "Wireless Network Connection" dhcp

--- set DHCP to wired interface named “Local Area Connection” ---
netsh interface ipv4 set address name="Local Area Connection" dhcp
netsh interface ipv4 set dnsserver "Local Area Connection" dhcp

--- set IP, DNS & WINS to wireless interface named “Wireless Network Connection” ---
netsh interface ipv4 set address name="Wireless Network Connection" static 172.16.100.122 255.255.255.0 172.16.100.1
netsh interface ipv4 set dnsserver "Wireless Network Connection" static 172.16.10.2
netsh interface ipv4 add dnsserver "Wireless Network Connection" 172.16.10.4 index=2
netsh interface ipv4 set winsserver "Wireless Network Connection" static 172.16.10.2
netsh interface ipv4 add winsserver "Wireless Network Connection" 172.16.10.4 index=2

komen bacteria: to many parameters compare to XP

Tiada ulasan: