netsh interface ip set address "本地连接" static 192.168.166.230 255.255.255.0 192.168.166.1
netsh interface ip set dnsservers "本地连接" static 202.96.134.133 primary(首选DNS)
netsh interface ip add dns name="本地连接" addr=8.8.8.8 index=2(备用DNS)
netsh interface ip set dnsservers "本地连接" static 202.96.134.133 primary(首选DNS)
netsh interface ip add dns name="本地连接" addr=8.8.8.8 index=2(备用DNS)
netsh wlan set hostednetwork mode=allow
netsh wlan set hostednetwork key=12345607 ssid=qinqin
netsh wlan start hostednetwork
netsh wlan set hostednetwork key=12345607 ssid=qinqin
netsh wlan start hostednetwork
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26003028/viewspace-1406709/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26003028/viewspace-1406709/