From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 25 19:21:01 2007 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D99CC16A418 for ; Sun, 25 Nov 2007 19:21:01 +0000 (UTC) (envelope-from stsp@stsp.name) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 68FEF13C455 for ; Sun, 25 Nov 2007 19:21:01 +0000 (UTC) (envelope-from stsp@stsp.name) X-Envelope-From: stsp@stsp.name Received: from stsp.lan (stsp.in-vpn.de [217.197.85.96]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id lAPJKvHL024256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 25 Nov 2007 20:20:59 +0100 Received: from ted.stsp.lan (localhost [127.0.0.1]) by stsp.lan (8.13.8/8.13.8) with ESMTP id lAPJKuSX031716; Sun, 25 Nov 2007 20:20:56 +0100 (CET) (envelope-from stsp@ted.stsp.lan) Received: (from stsp@localhost) by ted.stsp.lan (8.13.8/8.13.8/Submit) id lAPJKthw031715; Sun, 25 Nov 2007 20:20:55 +0100 (CET) (envelope-from stsp) Date: Sun, 25 Nov 2007 20:20:55 +0100 From: Stefan Sperling To: M E Message-ID: <20071125192054.GX1463@ted.stsp.lan> References: <7c78e14d0711021916u1b07aad6lebb16afadc3faac@mail.gmail.com> <20071103154705.GA5370@ted.stsp.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="88pBQ1/6ie/nQzMF" Content-Disposition: inline In-Reply-To: <20071103154705.GA5370@ted.stsp.lan> User-Agent: Mutt/1.5.16 (2007-06-09) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: hackers@freebsd.org, Olivier Cochard-Labbe Subject: Re: WOL not working with 3Com NIC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 19:21:01 -0000 --88pBQ1/6ie/nQzMF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2007 at 04:47:05PM +0100, Stefan Sperling wrote: > On Fri, Nov 02, 2007 at 09:16:59PM -0500, M E wrote: > > I am able to get "will wake on: magic", when typing "ifconfig" in > > FreeNAS (built on FreeBSD); however, I am still unable to wake up the > > box. >=20 > I know that xl does not work yet. Hi again, I finally got my development box running again with the help of two guys at uni (got a disk controller and a hard drive), many thanks :) I've just woken up a FreeBSD-7 box with a 3com card successfully. Having hardware to test with really helps. The rxfilter not being configured correctly was what prevented WOL =66rom working with if_xl altogether. Also, I've added support for wake on link status change. This is currently used by if_xl only, but it's easy to add it to the other drivers, too. Test wake on link by unplugging the network cable before the box shuts down, and plug the cable back in - the box should now wake up. Quite a useless feature, but fun anyway :) New patches for RELENG_6_2 and RELENG_7 can be found here: http://www.stsp.name/wol/FreeBSD-6.2-wol-2007-11-25.diff http://www.stsp.name/wol/FreeBSD-7-wol-2007-11-25.diff Instructions here: http://www.stsp.name/wol/README.txt If you need other branches, please just try to apply one of the above and sort out the rejects - I have no time to maintain more than those two. There's still lots left to be done, especially additional device support. I'm also planning on getting rid of the "secureOn" password stuff in ifconfig because few chips support it and clear text passwords aren't really that secure at all. This will also trim the ioctl argument size down from a struct to a simple int. --=20 stefan http://stsp.name PGP Key: 0xF59D25F0 --88pBQ1/6ie/nQzMF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHScsW5dMCc/WdJfARAqdNAKCmj0vGXbo6y4sUM9feevz3Xdo57wCdGVJX smLZAGT9otww93hIqQ/vb/g= =PsIt -----END PGP SIGNATURE----- --88pBQ1/6ie/nQzMF--