Não é possível conectar-se ao Wi-Fi via wpa_supplicant

1

Eu procurei em fóruns diferentes como se conectar a uma rede wpa com o terminal, mas nenhum deles parece funcionar

No arquivo gerenciador de rede "/ etc / NetworkManager / system-connections / elhackerderivendel" eu tenho:

[connection]
id=elhackerderivendel
uuid=2ec1e3d4-31ea-4d08-9aa4-6afc82324186
type=802-11-wireless
timestamp=1322936420

[802-11-wireless]
ssid=elhackerderivendel
mode=infrastructure
mac-address=ac:81:12:bb:28:e
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
psk=AAAAAAAAAAAAAAAA #this is not my real password as you can expect

[ipv4]
method=auto

[ipv6]
method=auto

E por outro lado, o iwconfig diz-me

- Device: wlan0  [elhackerderivendel] ------------------------------------------
  Type:              802.11 WiFi
  Driver:            brcmsmac
  State:             connected
  Default:           yes
  HW Address:        AC:81:12:BB:28:0E

  Capabilities:
    Speed:           28 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

E o sudo wpa_cli scan_results

Selected interface 'wlan0'
bssid / frequency / signal level / flags / ssid
00:0e:2e:c2:11:00   2462    188 [WPA2-PSK-CCMP-preauth][ESS]    elhackerderivendel
00:0b:3b:cc:95:e4   2427    177 [WPA2-PSK-CCMP][WPS][ESS]   elhackerderivendel

Alguma ideia do que escrever no wpa_supplicant.conf?

    
por Álvaro 19.02.2012 / 03:41

1 resposta

2

man wpa_supplicant.conf 

teria dado a resposta. Enfim, aqui está:

 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
      #
      # home network; allow all valid ciphers
      network={
           ssid="home"
           scan_ssid=1
           key_mgmt=WPA-PSK
           psk="very secret passphrase"
      }
      #
    
por nofrills 09.11.2012 / 12:50