MegaSack DRAW - This year's winner is user - rgwb
We will be in touch
Hi,
Every time I go to the office, and I change my wifi to the office one, I have to assign (as in, type in) an IP address.
Is there a way I can do automatically, because I'm fed up of having to spend 1min everyday doing this.
On Windows 8.1
Yes, but I'd probably need a bit more in the way of details. I presume when you use your wifi at home your router gives you an IP address, and there is no DHCP server giving them out on your work wifi?
At home, it just connects, but when I'm at work, I need to manually input the IP, Default Gateway and DNS.
set up a couple of batch files ie
office network.bat
[i]netsh interface ip set address "Wireless Network Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "Wireless Network Connection" 192.168.23.54[/i]
dhcp network.bat
[i]netsh interface ip set address "Wireless Network Connection" dhcp
netsh interface ip set dns "Wireless Network Connection" dhcp
[/i]
put them on your desktop and run them as appropriate.
assuming your connection is called "wireless network connection" which if it is the only wireless interface and not been messed with it will be,
On a mac you can define different settings depending on the router it connects to. Surely you can do that in each network setup in windows?
Enter your Office ip address details in the Alternate Configuration. If your Computer can't grab one off a DHCP server it will switch to the Alternate.
It may also be worth speaking with your companies IT people and asking them to enable DHCP on the wireless router. Odds are it's meant to be on and there are a lot of people in a similar boat to you.
If no one tells them they won't know to fix it.
[quote=somouk ]It may also be worth speaking with your companies IT people and asking them to enable DHCP on the wireless router. Odds are it's meant to be on and there are a lot of people in a similar boat to you.
If no one tells them they won't know to fix it.
This
but in the meantime this...
[quote=rossendalelemming ]Enter your Office ip address details in the Alternate Configuration. If your Computer can't grab one off a DHCP server it will switch to the Alternate.
Where you have to enter an IP manually, there should be an "Alternate configuration" tab when you select "Obtain an IP address automatically" - enter the IP in there instead (On Win7, Control Panel, Network and Internet, Network Connections right click on your wireless adapter, properties, click "Internet Protocol Version 4", properties - probably similar on other OS, but I don't have one running here to check)
Thank you.\
I'll try that in the morning.
Have a good day!
