From owner-freebsd-net@FreeBSD.ORG Thu Jul 12 21:08:25 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45FFF1065673 for ; Thu, 12 Jul 2012 21:08:25 +0000 (UTC) (envelope-from chris.benesch@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF9548FC0A for ; Thu, 12 Jul 2012 21:08:24 +0000 (UTC) Received: by ggnm2 with SMTP id m2so3373202ggn.13 for ; Thu, 12 Jul 2012 14:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RHudipzh/hW9e/+6CV0b9u8LS2yHDrfQHNtMNu20Vb4=; b=tye46rGrJzMZZyzRbZREOnIMI9Mu7QmW4uGXdL6iZ1AWTlg5Z8uFzhuLmeBQnxrd// xGbApjDTfb+XWEiKBAFTSLNWkaKPWxjg9t5HLQesdqfMqPxhqVgktKQT9mpe5x/PO4UX IoPTUi1rYl/lOtR0Sl0adXBmcd/J6K0hR9vR4WV6lGs11xQSUMJ9c2B+Pr7GIc+aLCg5 eASVNaKqHo4HB/kgVhlkcYP/YiEsXViDqZ0Bb1RGjUaGrAUhX/DkbiTn0B8nlwitc7wW fWq5Jx1lOvKeGWXlDbY6luDXedDTQMWx97d4FGD+Uz4P1m8NbBNh/cMX5tOmJ4o/u71L z0Ow== MIME-Version: 1.0 Received: by 10.50.169.73 with SMTP id ac9mr18925922igc.29.1342127304032; Thu, 12 Jul 2012 14:08:24 -0700 (PDT) Received: by 10.231.26.150 with HTTP; Thu, 12 Jul 2012 14:08:23 -0700 (PDT) In-Reply-To: References: <4FFF3683.7020107@rawbw.com> Date: Thu, 12 Jul 2012 14:08:23 -0700 Message-ID: From: Chris Benesch To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Yuri , freebsd-net@freebsd.org Subject: Re: System doesn't detect unplugged network cable and doesn't set interface up properly with DHCP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 21:08:25 -0000 I work with an old version of AIX all day, there are no shortcuts :( On Thu, Jul 12, 2012 at 2:01 PM, Freddie Cash wrote: > On Thu, Jul 12, 2012 at 1:52 PM, Chris Benesch > wrote: > > Thats pretty standard for BSD and most Unixes. DHCP hands out leases > for a > > specified period of time, so unless there is a reason to reset it, it > > wont. Windows does that, but it is designed more as a client / user > facing > > OS whereas BSD is designed to run in the background silently serving you > > content and directing traffic. > > > > I can save you some steps though, > > > > ps -ax | grep dhclient > > > > You will get a list, on the one that is dhclient or /sbin/dhclient, take > > the number at the far left, thats the process ID > > > > kill > > dhclient re0 > > pkill dhclient > dhclient re0 > > Saves a few more steps. :) > > There's also: > > service netif restart re0 > > -- > Freddie Cash > fjwcash@gmail.com >