On Sun, Aug 19, 2007 at 03:04:34PM -0400, ISHWAR RATTAN wrote: > On Sun, 19 Aug 2007, Ken Irving wrote: >> On Sun, Aug 19, 2007 at 02:25:14PM -0400, ISHWAR RATTAN wrote: >>> >>> Running a liveCD system. >>> >>> At the first boot ip-address is obtained via DHCP >>> The ip-address is changed to a static ip-address >>> (does work) >>> >>> After sometime, the system renews the DHCP lease, >>> is there a way to stop this renewal? >> >> You can do what you want, but I think most DHCP servers expect the clients >> to comply with periodically re-upping the lease. I'm not sure, but I >> think >> the lease period is probably specified by the server when the ip is >> granted. >> Read the manpages for client and servers to find out more. >> >> You could, for instance, simply change your network to use a static >> address >> with the ip you receive from the dhcp server -- but of course this would > > I did that but the client still goes for renewal. Temporary solution I have > is to kill the DHCP client (not allow it to run). I am sure that there is > a sane solution avaiilable in this group.
You are expected to comply and renew the lease; why not just do that? What I (hesitantly) suggested is to change the network config to static, not dynamic, at which point you'd have fixed (and stolen?) the IP you were provided. I'm not familiar with a Debian LiveCD system (I have used Knoppix and Ubuntu, both based on debian), so not sure of the details, but presumably /etc/network/interfaces would exist in a RAM filesystem and could be edited as needed. Alternatively, you could probably come up with ifconfig commands to do this more directly. Ken -- Ken Irving, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

