From owner-freebsd-questions@FreeBSD.ORG Tue May 19 18:09:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E5FA106566C for ; Tue, 19 May 2009 18:09:27 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.121]) by mx1.freebsd.org (Postfix) with ESMTP id 62FC18FC13 for ; Tue, 19 May 2009 18:09:27 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.2.102] (really [76.182.207.163]) by cdptpa-omta02.mail.rr.com with ESMTP id <20090519180926292.XUQW15274@cdptpa-omta02.mail.rr.com>; Tue, 19 May 2009 18:09:26 +0000 Date: Tue, 19 May 2009 13:09:24 -0500 From: Paul Schmehl To: Peter Steele Message-ID: In-Reply-To: <6044475.2401242135180402.JavaMail.HALO$@halo> References: <6044475.2401242135180402.JavaMail.HALO$@halo> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Tim Judd , #freebsd-questions Subject: Re: Wake-on-LAN support in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 18:09:27 -0000 --On May 12, 2009 6:33:03 AM -0700 Peter Steele wrote: > > So, based on what I've read here and in my searches, for wake-on-LAN to > work on a given system, the NIC itself has to support this feature, and > in addition the OS has to be able to enable this feature (via the driver > for the NIC). It seems likely that when this appears that a new option > will be provided for the ifconfig command. > > Since we're stuck on 7.0, I guess the only option is to implement it > ourselves... > I'm on 7.2 STABLE. man (8) ifconfig mentions wol, so the capability at least exists in 7.2. In grepping through the device sources, it looks like the e1000 driver has wol capabilities enabled as do a couple of others. You may be able to use that code at least to get headway in creating drivers, if you can't use those existing drivers. If you're using the e1000 driver already (I believe you mentioned you're running Intel NICs), you may be able to use wol out of the box without making any changes. Seems worth testing at least. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying