From owner-freebsd-embedded@FreeBSD.ORG Tue Dec 16 18:22:57 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6A411065670 for ; Tue, 16 Dec 2008 18:22:57 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 42EC18FC28 for ; Tue, 16 Dec 2008 18:22:56 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= mime-version:content-transfer-encoding:message-id:content-type: to:from:subject:date; q=dns/txt; s=beta; bh=6aUAfvty/5yi8YQaEZWM RK3ZDXGGUmP9tGilGlZKqIY=; b=Jc0WmlndXWZicEPOS0NIBFX+I3NDN3pxw69g 4Lx1jkX9X1k8nNbIrHGMzNbM04EiJNb6MA8SZ9fJadHCBGAysEDz6eQQBl9zk8yL rNPdfRJvyRRbKKqTfR7YzENHaxOmOhYV1pJWuT7/as6FyPjBrTLWYS9d525a66mQ dMOqAmU= Received: (qmail 12330 invoked from network); 16 Dec 2008 19:22:54 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@82.212.11.84) by mail.ud03.udmedia.de with ESMTPA; 16 Dec 2008 19:22:54 +0100 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <5CED6A5A-C532-4042-B7F3-264BD0C9791B@jump-ing.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-embedded@FreeBSD.org From: Markus Hitter Date: Tue, 16 Dec 2008 19:22:39 +0100 X-Mailer: Apple Mail (2.753.1) Cc: Subject: Wake-on-lan packages don't get through X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 18:22:57 -0000 Hello all, glad to have found a binary[1] wake-on-lan program, I obvserve different behaviour of /usr/bin/wol on my full-size FreeBSD and my TinyBSD. From the full-size BSD (VirtualBox on Linux), i could capture this package after issueing wol: 18:50:30.019039 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 130) piccard.jump-ing.de.37597 > 255.255.255.255.40000: [bad udp cksum b716!] UDP, length 102 This package woke the targeted Macintosh. Doing the same on the embedded Flepo, I get: 01:38:35.500497 IP (tos 0x0, ttl 64, id 40022, offset 0, flags [none], proto UDP (17), length 130, bad cksum 0 (->d401)!) git.jump- ing.de.50582 > 255.255.255.255.40000: [bad udp cksum a1e4!] UDP, length 102 The later doesn't get through the switch, I can capture it on the sending host only. Accordingly, the Mac keeps sleeping. As both "wol" binaries are the very same (copied), I can rule out compilation errors. To be more funny, the Flepo serves web pages just fine. What does go wrong here? Thanks for any enlightenment, Markus [1] Using wakeonlan requires Perl, which in turn would more than double the size of the installation on the embedded box. - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/