From: Zhu Sha Zang <zhushazang@yahoo.com.br>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: Res: [gentoo-user-br] mundo wireless
Date: Thu, 02 Sep 2010 10:37:49 -0300 [thread overview]
Message-ID: <4C7FA8AD.3070200@yahoo.com.br> (raw)
In-Reply-To: <357596.9667.qm@web54408.mail.re2.yahoo.com>
[-- Attachment #1.1: Type: text/plain, Size: 3900 bytes --]
Em 27-08-2010 10:51, Bruno Linhares escreveu:
> 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 $
> &
> nbsp;
> 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
>
>
Uso /etc/conf.d/net
config_eth1="dhcp"
essid_eth1="VALHALLA"
E /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="VALHALLA"
psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
Suficiente
[-- Attachment #1.2: Type: text/html, Size: 11594 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
prev parent reply other threads:[~2010-09-02 13:38 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 ` Res: " Bruno Linhares
2010-08-29 1:46 ` Fernando Boaglio
2010-09-02 13:37 ` Zhu Sha Zang [this message]
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=4C7FA8AD.3070200@yahoo.com.br \
--to=zhushazang@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