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 1Q9wzS-00040b-DB for garchives@archives.gentoo.org; Wed, 13 Apr 2011 10:08:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68C011C03A; Wed, 13 Apr 2011 10:06:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 319AE1C03A for ; Wed, 13 Apr 2011 10:06:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A14D01B4117 for ; Wed, 13 Apr 2011 10:06:37 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 required=5.5 tests=[BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rfmY51ZOgg3s for ; Wed, 13 Apr 2011 10:06:31 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 5527F1B4116 for ; Wed, 13 Apr 2011 10:06:29 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q9wxu-0003qE-Rd for gentoo-user@gentoo.org; Wed, 13 Apr 2011 12:06:26 +0200 Received: from d5152C92C.static.telenet.be ([81.82.201.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Apr 2011 12:06:26 +0200 Received: from gvm999 by d5152C92C.static.telenet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Apr 2011 12:06:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: deadeyes Subject: [gentoo-user] Re: configure wlan0 route metric Date: Wed, 13 Apr 2011 10:06:15 +0000 (UTC) Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 81.82.201.44 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.16) Gecko/20110330 Gentoo Firefox/3.6.16) X-Archives-Salt: X-Archives-Hash: a40c540b4b9eada7d5286a5e91d4ff96 Kfir Lavi gmail.com> writes: > Hi,you can use net-analyzer/ifmetric.I found this solution not satisfying, but > don't remember why. I guess some corner cases. I have bonded the interfaces on > my laptop. The bonding driver will prefer using the wired when > > it is connected. Here is my /etc/conf.d/net:# eth0config_eth0=( "null" )# > wlanmodules=( "wpa_supplicant" )wpa_supplicant_wlan0="-Dwext"config_wlan0=( > "null" ) > > modules_wlan0=( "!plug" )ifplugd_wlan0="--api-mode=wlan"# > bondslaves_bond0="eth0 wlan0"dhcpcd_bond0="--noipv4ll --nolink -t > 15"config_bond0=( "dhcp" )Regards,Kfir > Thanks for your response! Bonding doesn't seem a good solution for me. I can't find documentation on ifmetric. Do I need ifplugd to call ifmetric? or can I configure this in /etc/conf.d/net?