davidavida
(usa Ubuntu)
Enviado em 14/06/2013 - 02:21h
Brigado pelo suporte galera.
Eu tranquei na etapa (3). Talvez tenha que editar mais alguma coisa na etapa (2).
Todas as informacoes foram obtidas pelo site:
http://www.vivaolinux.com.br/artigo/Conexoes-Wireless-com-DHCP-no-Slackware-Configuracao-a-moda-anti...
Estou fazendo a primeira tentativa usando criptografia WPA.
(1) Passando as informações da rede Wireless para o wpa_supplicant - adicionei o nome da rede e senha, tudo certo.
(2) Editando o /etc/rc.d/rc.inet1.conf.
Meu /etc/rc.d/rc.inet1.conf se parece com isso agora. O resto do script continua como original.
## Example config information for wlan0. Uncomment the lines you need and fill
## in your data. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
DHCP_KEEPRESOLV[4]="yes"
DHCP_KEEPNTP[4]="yes"
DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=DARKSTAR
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
#WLAN_KEY[4]="D5A31F54ACF0487C2D0B1C10D2"
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
WLAN_WPAWAIT[4]=30
Aqui a coisa complica.
(3) Eu salvo o arquivo e rodo os seguintes comandos:
# dhclient -r wlan0
# /etc/rc.d/rc.inet1 stop
# /etc/rc.d/rc.inet1 start
Eu tenho as seguintes saidas:
root@host:~# dhclient -r wlan0
root@host:~# /etc/rc.d/rc.inet1 stop
root@host:~# /etc/rc.d/rc.inet1 start
/etc/rc.d/rc.inet1: wlan0 information: 'Any ESSID'
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
rfkill: WLAN hard blocked
Polling for DHCP server on interface wlan0:
dhcpcd[4390]: version 5.5.6 starting
dhcpcd[4390]: wlan0: sending IPv6 Router Solicitation
dhcpcd[4390]: wlan0: broadcasting for a lease
dhcpcd[4390]: wlan0: offered 192.168.0.5 from 192.168.0.1
dhcpcd[4390]: wlan0: acknowledged 192.168.0.5 from 192.168.0.1
dhcpcd[4390]: wlan0: checking for 192.168.0.5
dhcpcd[4390]: wlan0: sending IPv6 Router Solicitation
dhcpcd[4390]: wlan0: leased 192.168.0.5 for 86400 seconds
dhcpcd[4390]: forked to background, child pid 4395
Reiniciei o computador e nada.
Alguma ideia?
Valeu pessoal.