add dhcp and static ip action.

add 2-type shell.
1. make hostname from ip address on dhcp
2. set static ip with hostname