0

i am absolutely new to pi really floundering. I've written a wpa_supplicant.conf file that looks like this:

country=NZ
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="Your new Wi-Fi"
    psk="180928502831"
    key_mgmt=key_mgmt=WPA-PSK
}

The unit refuses to connect to my router. I have several tablet that connect fine.

I can use Realterm to ssh in (connected via an ethernet cable).

Any ideas what i'm doing wrong?

Dirk
  • 3,749
  • 3
  • 19
  • 27

1 Answers1

2

I assume you are using Raspbian. If you followed the instruction Setting WiFi up via the command line then you only need ssid= and psk= in /etc/wpa_supplicant/wpa_supplicant.conf so just delete the line with key_mgmt=. If you really want to use it then you must use a correct statement as @Dirk also stated in his comment.

key_mgmt=key_mgmt=WPA-PSK is wrong.

You must use

key_mgmt=WPA-PSK but as said it's not needed.

If there additional problems then you should look at How do I set up networking/WiFi/static IP address?.

Ingo
  • 42,961
  • 20
  • 87
  • 207