public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Re: configure wlan0 route metric
       [not found]               ` <gHrvc-1HW-15@gated-at.bofh.it>
@ 2011-04-14 22:25 99%             ` Indi
  0 siblings, 0 replies; 1+ results
From: Indi @ 2011-04-14 22:25 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 14, 2011 at 12:00:02PM +0200, Mick wrote:
> 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.
>

On my thinkpad the wireless is eth0, wired is eth1.
Not sure why, but I've had a few machines that work that way.

-- 
 /\       /\ 
   <\   />    
      ^      caveat utilitor 
    'v-v'            



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
     [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>
     [not found]             ` <gHpWp-7Ds-3@gated-at.bofh.it>
     [not found]               ` <gHrvc-1HW-15@gated-at.bofh.it>
2011-04-14 22:25 99%             ` [gentoo-user] Re: configure wlan0 route metric Indi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox