You are here
Submitted by recode on Thu, 2009/05/21 - 02:39
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
Forum:
Configure DHCP in the conf console?
Yes eth0 is using DHCP but
Where are you getting a new IP from?
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:
Try to remove udhcpc and install another dhcp client instead: If that doesn't work, you might also want to try dhcpcd.Add new comment