From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 20:59:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E98106566C for ; Wed, 15 Jul 2009 20:59:12 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8778FC1B for ; Wed, 15 Jul 2009 20:59:11 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by yxe1 with SMTP id 1so6456180yxe.7 for ; Wed, 15 Jul 2009 13:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=uOid7XGz6/szmw5u9UozA7j3mX5DwpVxgYC9/DCfoT8=; b=XHzOnGqWQPfJzDAlaMCm7YGDB/NE43g7lJT+SlC32QqZH5+RL0nBLuhHLsXtVVmSK1 XpAaDkERsS2f0F+n/L14jnSQW03oZoMRJYLVA0R2hfVB3WX92Fy1F+6hZyju2z7maxwM BVXoC47s1P2Uu9oJj0b33gxYQIcFCG0G1Q7y4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qCivZ1NI15EJJwm3is2OkCd0eYAyzAim/epSQNjc5daINiy8B4miffNBaB4zwwl0DC C43G1S9jx+CIHUaps3YQIkL8lqgk6Qcv4m5rY4Ez9ep2xLjPe7aufLkneGPzIE6aKIr6 nqXTTAAw99gM13Dxc7Zd/2eVG4Ij8aRzzlJm8= MIME-Version: 1.0 Received: by 10.100.252.15 with SMTP id z15mr5824712anh.190.1247691551391; Wed, 15 Jul 2009 13:59:11 -0700 (PDT) In-Reply-To: <4A5E336E.1020604@omnilan.de> References: <4A5E336E.1020604@omnilan.de> Date: Wed, 15 Jul 2009 13:59:11 -0700 Message-ID: <2a41acea0907151359p35052eb6qe1977bf745a95497@mail.gmail.com> From: Jack Vogel To: Harald Schmalzbauer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Current Subject: Re: WOL on em0 (enable wol_magic by default) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 20:59:12 -0000 The WOL code got put in before some of the later support and interest was added, at the time it was problematic, I have wanted to get back to it but have just been busy with new hardware support. The best I can do right now is to promise to increase its priority in my queue and try to get another look at it asap. Regards, Jack On Wed, Jul 15, 2009 at 12:52 PM, Harald Schmalzbauer < h.schmalzbauer@omnilan.de> wrote: > Hello, > > I recognized that the if_em FreeBSD driver doesn't enable wol_magic by > default. > Recently I found out that interrupting the boot process of a ESX machine > would lead to a non-ethernet-wakable server. Only after booting and shutting > down the ESX(i) the server woke up as expected. > Now I checked it with FreeSBD and after shutting down the server it doesn't > respond to wol magic packets. > One has to set `ifconfig em0 wol_magic` for example. Then it worked, > although the wol feature isn't reported by the interface: > em0: flags=8843 metric 0 mtu 1500 > options=9b > > Now comes the annoying part: It works only _sometimes_ > Haven't found any rule yet. > Maybe someone else can shade light on this mystic WOL behaviour (Jack?) > > Thanks in advance, > > -Harry > >