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 <gentoo-user+bounces-121641-garchives=archives.gentoo.org@lists.gentoo.org>) 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 <gentoo-user@lists.gentoo.org>; Thu, 14 Apr 2011 09:53:37 +0000 (UTC) Received: by iyb26 with SMTP id 26so1804981iyb.40 for <gentoo-user@lists.gentoo.org>; 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: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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: <loom.20110414T101044-976@post.gmane.org> References: <loom.20110412T231016-866@post.gmane.org> <BANLkTind3i72Hy42Uc47nh3BuY1n4QKjFA@mail.gmail.com> <loom.20110413T114352-349@post.gmane.org> <BANLkTikjPFZgWk+ny1TmNP8ShQt-aywL9A@mail.gmail.com> <loom.20110413T133641-893@post.gmane.org> <loom.20110414T101044-976@post.gmane.org> Date: Thu, 14 Apr 2011 10:53:37 +0100 Message-ID: <BANLkTi=U4zffAwDrqoGM70=uBmC2RCWs7A@mail.gmail.com> Subject: Re: [gentoo-user] Re: configure wlan0 route metric From: Mick <michaelkintzios@gmail.com> 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 <gvm999@gmail.com> wrote: > deadeyes <gvm999 <at> 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