From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: configure wlan0 route metric
Date: Thu, 14 Apr 2011 10:53:37 +0100 [thread overview]
Message-ID: <BANLkTi=U4zffAwDrqoGM70=uBmC2RCWs7A@mail.gmail.com> (raw)
In-Reply-To: <loom.20110414T101044-976@post.gmane.org>
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() {
> local metric=0
>
> case "${IFACE}" in
> eth0) metric=0 ;;
> eth1) metric=1 ;;
> esac
> ifmetric "${IFACE}" "${metric}"
>
> 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?
--
Regards,
Mick
next prev parent reply other threads:[~2011-04-14 9:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 21:14 [gentoo-user] configure wlan0 route metric deadeyes
2011-04-13 9:33 ` Kfir Lavi
2011-04-13 10:06 ` [gentoo-user] " deadeyes
2011-04-13 11:20 ` Mick
2011-04-13 11:40 ` deadeyes
2011-04-14 8:13 ` deadeyes
2011-04-14 9:53 ` Mick [this message]
2011-04-14 20:22 ` deadeyes
[not found] <gGTjR-4Xq-33@gated-at.bofh.it>
[not found] ` <gH4Ii-7li-33@gated-at.bofh.it>
[not found] ` <gH5kZ-8uC-5@gated-at.bofh.it>
[not found] ` <gH6qK-1Rf-19@gated-at.bofh.it>
[not found] ` <gH6K6-2j1-11@gated-at.bofh.it>
2011-04-13 15:35 ` Indi
2011-04-13 16:03 ` Mick
2011-04-13 19:52 ` deadeyes
2011-04-14 9:50 ` Mick
[not found] ` <gHpWp-7Ds-3@gated-at.bofh.it>
[not found] ` <gHrvc-1HW-15@gated-at.bofh.it>
2011-04-14 22:25 ` Indi
[not found] <gHakF-8vF-15@gated-at.bofh.it>
[not found] ` <gHakF-8vF-17@gated-at.bofh.it>
[not found] ` <gHakG-8vF-19@gated-at.bofh.it>
[not found] ` <gHakG-8vF-21@gated-at.bofh.it>
[not found] ` <gHakG-8vF-23@gated-at.bofh.it>
[not found] ` <gHakF-8vF-13@gated-at.bofh.it>
[not found] ` <gHaNL-12f-85@gated-at.bofh.it>
2011-04-13 17:07 ` Indi
2011-04-13 18:56 ` Mick
[not found] ` <gHDd0-5d8-25@gated-at.bofh.it>
[not found] ` <gHDd0-5d8-27@gated-at.bofh.it>
[not found] ` <gHDd0-5d8-23@gated-at.bofh.it>
2011-04-15 2:06 ` Indi
2011-04-15 5:08 ` Mick
[not found] <gHbTt-2Ui-33@gated-at.bofh.it>
[not found] ` <gHbTt-2Ui-45@gated-at.bofh.it>
[not found] ` <gHbTt-2Ui-31@gated-at.bofh.it>
[not found] ` <gHdBT-5Tb-3@gated-at.bofh.it>
2011-04-13 19:27 ` Indi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=U4zffAwDrqoGM70=uBmC2RCWs7A@mail.gmail.com' \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox