* [gentoo-user-br] mundo wireless
@ 2010-08-27 13:38 Fernando Boaglio
2010-08-27 13:51 ` Res: " Bruno Linhares
0 siblings, 1 reply; 4+ messages in thread
From: Fernando Boaglio @ 2010-08-27 13:38 UTC (permalink / raw
To: gentoo-user-br
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
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: 694 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Res: [gentoo-user-br] mundo wireless
2010-08-27 13:38 [gentoo-user-br] mundo wireless Fernando Boaglio
@ 2010-08-27 13:51 ` Bruno Linhares
2010-08-29 1:46 ` Fernando Boaglio
2010-09-02 13:37 ` Res: " Zhu Sha Zang
0 siblings, 2 replies; 4+ messages in thread
From: Bruno Linhares @ 2010-08-27 13:51 UTC (permalink / raw
To: gentoo-user-br
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user-br] mundo wireless
2010-08-27 13:51 ` Res: " Bruno Linhares
@ 2010-08-29 1:46 ` Fernando Boaglio
2010-09-02 13:37 ` Res: " Zhu Sha Zang
1 sibling, 0 replies; 4+ messages in thread
From: Fernando Boaglio @ 2010-08-29 1:46 UTC (permalink / raw
To: gentoo-user-br
[-- Attachment #1: Type: text/plain, Size: 49 bytes --]
Valeu Bruno, funcionou =)
[]'s
Fernando Boaglio
[-- Attachment #2: Type: text/html, Size: 66 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Res: [gentoo-user-br] mundo wireless
2010-08-27 13:51 ` Res: " Bruno Linhares
2010-08-29 1:46 ` Fernando Boaglio
@ 2010-09-02 13:37 ` Zhu Sha Zang
1 sibling, 0 replies; 4+ messages in thread
From: Zhu Sha Zang @ 2010-09-02 13:37 UTC (permalink / raw
To: gentoo-user-br
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-02 13:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` Res: " Zhu Sha Zang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox