Hey! i'm running LAMP,is their anyway i can get eth0 to congf when i get a new ip?So if i do get a new IP i don't have to go into the turnkey linux console.Thanks
Usually DHCP is used in a regular client-server model. The clients broadcasts a DHCP request packet and the server responds by checking it's records and then telling the client what IP it can reside in. In other words, the client asks and the server responds.
That's how it usually works. I think what you might be asking about is support for the DHCP reconfigure extension (RFC3203) where the server can dynamically ask the client to renew it's IP configuration. Is that correct? If so we've never tested if that works with the DHCP client we're using (udhcpc), but it would be interesting to learn more about this, with your help.
Note that behind the scenes the confconsole doesn't actually configure the network directly, it just edits the configuration files in /etc/network and then asks the system's network configuration scripts to reconfigure your interface like this:
apt-get remove udhcpc
apt-get install dhcp3-client
More information about formatting options