2
I have an Ubuntu 10.04 and basically I would like to achieve this:
- When I am at home, switch the network to use static IP.
- When I am at the office, switch the network to use DHCP.
Is there a program to do this?
Or is this something that should go inside an init script where if it is weekend or weekday from 7 pm to 7 am, then consider it a home. If it is home, then use static IP.
Thanks for the advice.