public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bruno Linhares <oandarilho01@yahoo.com.br>
To: gentoo-user-br@lists.gentoo.org
Subject: Res: [gentoo-user-br] mundo wireless
Date: Fri, 27 Aug 2010 06:51:02 -0700 (PDT)	[thread overview]
Message-ID: <357596.9667.qm@web54408.mail.re2.yahoo.com> (raw)
In-Reply-To: <AANLkTik+syQBrA4dZS2z7pkwW5+A7h=FYiAp2s83nFSh@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3419 bytes --]

Olá!

Eu utilizo o wicd.

Seguem as confs:


oandarilho01@viajanteII ~ $ cat /etc/wpa_supplicant/wpa_cli.sh 
#!/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 distributed under the terms of the BSD License
# $Header: 
/var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_cli.sh,v 1.1 
2006/07/11 15:07:16 uberlord Exp $
                                                                                                                                                                                   
 
if [ -z "$1" -o -z "$2" ]; 
then                                                                                                                                                    
 
        logger -t wpa_cli "Insufficient 
parameters"                                                                                                                                
 
        exit 
1                                                                                                                                                                     
 
fi                                                                                                                                                                                 
 

INTERFACE="$1"
ACTION="$2"

# Note, the below action must NOT mark the interface down via ifconfig, ip or
# similar. Addresses can be removed, changed and daemons can be stopped, but
# the interface must remain up for wpa_supplicant to work.

if [ -f /etc/gentoo-release ]; then
        EXEC="/etc/init.d/net.${INTERFACE} --quiet"
else
        logger -t wpa_cli "I don't know what to do with this distro!"
        exit 1
fi

case ${ACTION} in
        CONNECTED)
                EXEC="${EXEC} start"
                ;;
        DISCONNECTED)
                EXEC="${EXEC} stop"
                ;;
        *)
                logger -t wpa_cli "Unknown action ${ACTION}"
                exit 1
                ;;
esac

# ${EXEC} can use ${IN_BACKGROUND} so that it knows that the user isn't
# stopping the interface and a background process - like wpa_cli - is.
export IN_BACKGROUND=true

logger -t wpa_cli "interface ${INTERFACE} ${ACTION}"
${EXEC} || logger -t wpa_cli "executing '${EXEC}' failed"





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

O /etc/conf.d/net está zerado. E o wicd está 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
Assunto: [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 complicar a minha vida a placa é uma Realtek que nem driver staging do 
kernel tem , precisa compilar na mão, até aí sem problemas. 


O problema começa para acessar uma rede wifi de um roteador com WPA2, que eu 
acesso normalmente com a mesma máquina usando Windows 7 e Kubuntu 10.4 .

Alguém podia fornecer de exemplo como que usa o seu /etc/conf.d/net e 
/etc/wpa_suplicant/wpa_suplicant.conf  ?

Normalmente vcs conectam logo no boot ou usam o wicd ? 

[]'s
Fernando Boaglio



      

[-- Attachment #2: Type: text/html, Size: 8968 bytes --]

  reply	other threads:[~2010-08-27 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 13:38 [gentoo-user-br] mundo wireless Fernando Boaglio
2010-08-27 13:51 ` Bruno Linhares [this message]
2010-08-29  1:46   ` Fernando Boaglio
2010-09-02 13:37   ` Res: " Zhu Sha Zang

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=357596.9667.qm@web54408.mail.re2.yahoo.com \
    --to=oandarilho01@yahoo.com.br \
    --cc=gentoo-user-br@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