From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QAJGa-0007m6-N3 for garchives@archives.gentoo.org; Thu, 14 Apr 2011 09:55:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FB261C041; Thu, 14 Apr 2011 09:53:38 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id DFF391C041 for ; Thu, 14 Apr 2011 09:53:37 +0000 (UTC) Received: by iyb26 with SMTP id 26so1804981iyb.40 for ; Thu, 14 Apr 2011 02:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=m2kpYLlID3DYAxY1dKknMDPvf47SoVlVSOCIiWhDpTA=; b=ALZTdCgpVzVfQkW+dy2z+8CjCzSW4YweA9Hg9vgw+nWxXzhgNC0xRPGFFt/4FsDdTp F5M0H89rKOsr1VjEELTVsRmW2eXg1J4WiEAjfIYG67lUUYscS5G3MuxpN+wFM4Ka77tv nWTKhkIsUEGHrtVtPABDLeBD6Ob+B663F+6do= 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 :content-type:content-transfer-encoding; b=aQe3GTLx/LNExju8NK8JeahQWq+96WWzXbt1bOeSWOSAv7mXSsAXdPI2EvkzVS6PR2 UIYu2ASuA0z3hkFxRFYqKAFxTymc2xmKXKzOvIxKV/2Z3Gy/Xlb9sw1PA3JFWQbPZzer 48fmxHeggNlPQuZDXTNJVeNRRmDjPVdA/9gio= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.43.47.67 with SMTP id ur3mr781563icb.391.1302774817350; Thu, 14 Apr 2011 02:53:37 -0700 (PDT) Received: by 10.42.240.198 with HTTP; Thu, 14 Apr 2011 02:53:37 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Apr 2011 10:53:37 +0100 Message-ID: Subject: Re: [gentoo-user] Re: configure wlan0 route metric From: Mick To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ef83bd5fd7bf6b8dd7aadc290669023d On 14 April 2011 09:13, deadeyes wrote: > deadeyes gmail.com> writes: > > code that can be added in /etc/conf.d/net: > postup() { > =A0 local metric=3D0 > > =A0 case "${IFACE}" in > =A0 =A0 =A0eth0) metric=3D0 ;; > =A0 =A0 =A0eth1) metric=3D1 ;; > =A0 esac > =A0 ifmetric "${IFACE}" "${metric}" > > =A0 return 0 > } > > Seems like this works for me as well! :) It does? I assume that eth1 above is wlan0 in your case. If you restart both eth0 and wlan0 so as to zero the packet counters, then start a download/upload from your a machine in your LAN, what packet counts do you get in ifconfig for each NIC? --=20 Regards, Mick