Intermittent loss of network connection problem with Lucid
NoOp
glgxg at sbcglobal.net
Mon May 10 18:30:49 UTC 2010
On 05/10/2010 02:50 AM, Tom H wrote:
> On Sat, May 8, 2010 at 5:11 PM, NoOp <glgxg at sbcglobal.net> wrote:
>>
>> $ sudo dhclient -r
>
> This will only work if dhclient was called without arguments.
>
> If dhclient was run with "-pf" or -lf" arguments, you have to include
> them in the "dhclient -r" invocation.
>
Ah. Wasn't aware of that as:
http://manpages.ubuntu.com/manpages/lucid/en/man8/dhclient.8.html
<quote>
The client normally doesn’t release the current lease as it is not
required by the DHCP protocol. Some cable ISPs require their clients
to notify the server if they wish to release an assigned IP address.
The -r flag explicitly releases the current lease, and once the lease
has been released, the client exits.
If the client is killed by a signal (for example at shutdown or reboot)
it won’t execute the dhclient-script (8) at exit. However if you shut
the client down gracefully with -r or -x it will execute dhclient-
script (8) at shutdown with the specific reason for calling the script
set.
</quote>
doesn't seem to indicate otherwise. Note: not arguing the point, just
trying to understand :-)
More information about the ubuntu-users
mailing list