At the bash shell prompt, you can assign a static IP just as you would on any linux machine. For this example, I will use eth0:3 aliased interface so we don’t lose our current static IP we are using for SSH. I will also assume my new static IP to be assigned is 192.168.77.3 and the default route gateway is 192.168.77.1 and the DNS name server is 192.168.77.2
To persist these changes after a power loss or reboot of the pogoplug, issue the following commands at the bash prompt.
-bash-3.2# mount / -o remount,rw,noatime
-bash-3.2# echo ‘ifconfig eth0:3 192.168.77.3 netmask 255.255.255.0′ >> /etc/init.d/rcS
-bash-3.2# echo ‘route add default gw 192.168.77.1′ >> /etc/init.d/rcS
-bash-3.2# echo ‘echo “nameserver 192.168.77.2″ > /etc/resolv.conf’ >> /etc/init.d/rcS
-bash-3.2# mount / -o remount,ro
-bash-3.2#
When done properly, your Pogoplug should continue to function when attached to a DHCP network.