manually forcing a IP renewal

Derek Broughton news at
Mon Nov 26 21:06:00 UTC 2007

Brian McKee wrote:

> On 24-Nov-07, at 11:56 AM, Wade Smart wrote:
>> He tried:
>> sudo /etc/init.d/networking restart  with returned command not found.
>> sudo dhclient  returned: DHCPDISCOVER and then after about three
>> minute
>> wait DHCPOFFERS receivd no working leases in persistened database -
>> sleeping.

There's steps missing - if you don't get this full sequence it implies you
aren't actually communicating with the DHCP server:

Nov 26 16:01:35 bella dhclient: DHCPDISCOVER on wlan0 to
port 67 interval 7
Nov 26 16:01:35 bella dhclient: DHCPOFFER from
Nov 26 16:01:35 bella dhclient: DHCPREQUEST on wlan0 to port
Nov 26 16:01:35 bella dhclient: DHCPACK from

>> When he removes this ubuntu computer and connect his Windows computer,
>> the windows computers gets a ip right away.
> I believe Windows does not release IP addresses  by default.
> Try ipconfig /release on the Windows box before you shut it down,
> then start up the Linux box and see if it gets issued something.

It's worth a try, but I don't believe it can make a difference.  As far as
the DHCP server is concerned, your computer has no OS.  All it sees is a
MAC address.  Since that is the same when you're running in Ubuntu or
Windows, you should (and I always do) get the same IP address from the

More information about the ubuntu-users mailing list