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 1OozKi-0001oG-FU for garchives@archives.gentoo.org; Fri, 27 Aug 2010 13:51:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1320E07EC; Fri, 27 Aug 2010 13:51:02 +0000 (UTC) Received: from web54408.mail.re2.yahoo.com (web54408.mail.re2.yahoo.com [206.190.49.138]) by pigeon.gentoo.org (Postfix) with SMTP id 95B7AE07EC for ; Fri, 27 Aug 2010 13:51:02 +0000 (UTC) Received: (qmail 9872 invoked by uid 60001); 27 Aug 2010 13:51:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1282917062; bh=8Qs2+OHpJSi54I0rbE2QLaGHxgrO/DNf5YE35Lp8jxs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=rlifY8nGQ544l9zh/luSFBy9S3/wkI0maX1rxHMJJ8acJ/9OsBflEOluLzXqcnXpOKWpTMkRpdz1Pu1zizPE6CnNESfIm5+QNBI+1zQDpuFKUISG8s9ZdPgM4Z6aXpXafX7yoSkJcGBgXRde+aJZYZatVo/mLmpv+fEuOZbS3lo= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5kT76p+jM1lY3frwYZ2/ksR/fHWtnENs7EixvxMn6E/aPZ9MGFcc+C2zSvnfnBzqUUlthwFMYkdAHiu2vZnvCxVnMKfwibsL90tyU5wlB2NIqxOYFx67/v7d/j1CJkkhL2EKafg6wP1DczGZgK9oCaUusdm6N4i6k+5t7tPdb50=; Message-ID: <357596.9667.qm@web54408.mail.re2.yahoo.com> X-YMail-OSG: cWhrkzgVM1ma7HAVJBcsR.cADh4YtSZQdxR7RkwM2vaKQUU VO2jkG70bkKqUYXTJb.UknQGtz6t_lRbFDfF.OHwUEb0hSyTSYiYdqg2gEXG oIZiQbAW_2eXeb05n7G8NgR6zvPNAtP05NNRp30VvlO1ZO.j81loOM7XD9wa zxqbhTpTveEqzXVvuc6tv_j0R_HhxCl0R1JkwIkInfE6GbiAAGthUh7qfBd0 gDhVVvrPlUrhSNo.ftdyn8abwXj0CNlpxbIYQ2CmXZliSjbdyNIt5q6a7CLa DwFm6nbTuNG38DBe_Z036cShNGQEPPawt7YlsKjKMd_kBhEtW6lMc68ikgHm 7hpBpQ7zo Received: from [200.157.34.13] by web54408.mail.re2.yahoo.com via HTTP; Fri, 27 Aug 2010 06:51:02 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: Date: Fri, 27 Aug 2010 06:51:02 -0700 (PDT) From: Bruno Linhares Subject: Res: [gentoo-user-br] mundo wireless To: gentoo-user-br@lists.gentoo.org In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-br@lists.gentoo.org Reply-to: gentoo-user-br@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1011059209-1282917062=:9667" X-Archives-Salt: 433ffa46-adcb-4728-8589-594199dfea8a X-Archives-Hash: e5ee5054a9c42903c3bb3162d2b4c37b --0-1011059209-1282917062=:9667 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Ol=E1!=0A=0AEu utilizo o wicd.=0A=0ASeguem as confs:=0A=0A=0Aoandarilho01@v= iajanteII ~ $ cat /etc/wpa_supplicant/wpa_cli.sh =0A#!/bin/sh=0A# Copyright= 1999-2006 Gentoo Foundation=0A# Written by Roy Marples =0A# Distributed under the terms of the GNU General Public License v2=0A#= Alternatively, this file may be distributed under the terms of the BSD Lic= ense=0A# $Header: =0A/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/fi= les/wpa_cli.sh,v 1.1 =0A2006/07/11 15:07:16 uberlord Exp $=0A = = = =0A =0Aif [ -z "$1" -o -z "$2" ]; =0Athen = = =0A =0A logger= -t wpa_cli "Insufficient =0Aparameters" = = =0A =0A exit =0A1 = = =0A =0Afi = = = =0A =0A=0AINTERFACE=3D"$1"=0AACTION=3D"$2"=0A=0A# Note, t= he below action must NOT mark the interface down via ifconfig, ip or=0A# si= milar. Addresses can be removed, changed and daemons can be stopped, but=0A= # the interface must remain up for wpa_supplicant to work.=0A=0Aif [ -f /et= c/gentoo-release ]; then=0A EXEC=3D"/etc/init.d/net.${INTERFACE} --q= uiet"=0Aelse=0A logger -t wpa_cli "I don't know what to do with this= distro!"=0A exit 1=0Afi=0A=0Acase ${ACTION} in=0A CONNECTED)= =0A EXEC=3D"${EXEC} start"=0A ;;=0A DI= SCONNECTED)=0A EXEC=3D"${EXEC} stop"=0A ;;=0A= *)=0A logger -t wpa_cli "Unknown action ${ACTION}"= =0A exit 1=0A ;;=0Aesac=0A=0A# ${EXEC} can us= e ${IN_BACKGROUND} so that it knows that the user isn't=0A# stopping the in= terface and a background process - like wpa_cli - is.=0Aexport IN_BACKGROUN= D=3Dtrue=0A=0Alogger -t wpa_cli "interface ${INTERFACE} ${ACTION}"=0A${EXEC= } || logger -t wpa_cli "executing '${EXEC}' failed"=0A=0A=0A=0A=0A=0A******= **********=0A=0AO /etc/conf.d/net est=E1 zerado. E o wicd est=E1 no runleve= l boot.=0A=0A=0A=0A=0A________________________________=0ADe: Fernando Boagl= io =0APara: gentoo-user-br@lists.gentoo.org=0AEnviadas: = Sexta-feira, 27 de Agosto de 2010 10:38:51=0AAssunto: [gentoo-user-br] mund= o wireless=0A=0AOi gente,=0A=0ARecentemente eu comprei um laptop da LG e vi= ndo do reino dos desktops estou =0Aapanhando um pouco para entrar no mundo = wireless.=0A=0APara complicar a minha vida a placa =E9 uma Realtek que nem = driver staging do =0Akernel tem , precisa compilar na m=E3o, at=E9 a=ED sem= problemas. =0A=0A=0AO problema come=E7a para acessar uma rede wifi de um r= oteador com WPA2, que eu =0Aacesso normalmente com a mesma m=E1quina usando= Windows 7 e Kubuntu 10.4 .=0A=0AAlgu=E9m podia fornecer de exemplo como qu= e usa o seu /etc/conf.d/net e =0A/etc/wpa_suplicant/wpa_suplicant.conf ?= =0A=0ANormalmente vcs conectam logo no boot ou usam o wicd ? =0A=0A[]'s=0AF= ernando Boaglio=0A=0A=0A=0A --0-1011059209-1282917062=:9667 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Ol=E1!

Eu utilizo o wicd.

Seguem as conf= s:


oandarilho01@viajanteII ~ $ cat /etc/wpa_supplicant/wpa_cli.s= h
#!/bin/sh
# Copyright 1999-2006 Gentoo Foundation
# Written by = Roy Marples <uberlord@gentoo.org>
# Distributed under the terms of= the GNU General Public License v2
# Alternatively, this file may be dis= tributed under the terms of the BSD License
# $Header: /var/cvsroot/gent= oo-x86/net-wireless/wpa_supplicant/files/wpa_cli.sh,v 1.1 2006/07/11 15:07:= 16 uberlord Exp $
           &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =            & nbsp;           &nbs= p;      
if [ -z "$1" -o -z "$2" ]; then           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;           
&n= bsp;       logger -t wpa_cli "Insufficient parameters"        &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       
    &n= bsp;   exit 1            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            ;    
fi           &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;                        &nb= sp;    

INTERFACE=3D"$1"
ACTION=3D"$2"
# Note, the below action must NOT mark the interface down via ifconfig, i= p or
# similar. Addresses can be removed, changed and daemons can be sto= pped, but
# the interface must remain up for wpa_supplicant to work.
=
if [ -f /etc/gentoo-release ]; then
     &n= bsp;  EXEC=3D"/etc/init.d/net.${INTERFACE} --quiet"
else
 &= nbsp;      logger -t wpa_cli "I don't know what to= do with this distro!"
        exit 1=
fi

case ${ACTION} in
      &nbs= p; CONNECTED)
         &nbs= p;      EXEC=3D"${EXEC} start"
  &nbs= p;             ;;
        DISCONNECTED)
 &n= bsp;            = ;  EXEC=3D"${EXEC} stop"
       =          ;;
   &n= bsp;    *)
       &nbs= p;        logger -t wpa_cli "Unknown act= ion ${ACTION}"
         &nb= sp;      exit 1
     &= nbsp;          ;;
esac
<= br># ${EXEC} can use ${IN_BACKGROUND} so that it knows that the user isn't<= br># stopping the interface and a background process - like wpa_cli - is.export IN_BACKGROUND=3Dtrue

logger -t wpa_cli "interface ${INTERFA= CE} ${ACTION}"
${EXEC} || logger -t wpa_cli "executing '${EXEC}' failed"





****************

O /etc/conf.d/net e= st=E1 zerado. E o wicd est=E1 no runlevel boot.



De: Fernando Boaglio <boaglio@gmail.com>
Para: gentoo-user-br@lists.gentoo.org=
Enviadas: Sexta-feira,= 27 de Agosto de 2010 10:38:51
Ass= unto: [gentoo-user-br] mundo wireless

Oi gente,
Recentemente eu comprei um laptop da LG e vindo do reino dos desktops = estou apanhando um pouco para entrar no mundo wireless.

Para complic= ar a minha vida a placa =E9 uma Realtek que nem driver staging do kernel te= m , precisa compilar na m=E3o, at=E9 a=ED sem problemas.
=0A=0A
O pr= oblema come=E7a para acessar uma rede wifi de um roteador com WPA2, que eu = acesso normalmente com a mesma m=E1quina usando Windows 7 e Kubuntu 10.4 .<= br clear=3D"all">
Algu=E9m podia fornecer de exemplo como que usa o seu = /etc/conf.d/net e /etc/wpa_suplicant/wpa_suplicant.conf  ?
=0A=0ANormalmente vcs conectam logo no boot ou usam o wicd ?

[]'s
Fe= rnando Boaglio
=0A
=0A

=0A=0A=0A=0A   --0-1011059209-1282917062=:9667--