1

I got new internet so I tried to connect my Pi to the new internet by modifying /etc/wpa_supplicant/wpa_supplicant.conf and now it looks like this:

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

network={
    ssid="<new wifi name>"
    psk="<new wifi password>"
    key_mgmt=WPA-PSK
}

The WiFi network is WPA2 and the SSID and password are correct. On the taskbar if I click on the WiFi icon it even lists the nearby WiFi networks, including the one I'm trying to connect to. The one I'm trying to connect to is 5G. How do I get this working?

When using either the terminal or GUI the WiFi icon stays at the disconnected state. My phone is able to connect to both 2.4 and 5G fine, and I have double-checked the password.

  • Did you try connecting in the GUI – Milliways May 30 at 2:54
  • Yep. Doesn't work. – liaquore May 30 at 2:59
  • 1
    1: are you sure you have a 3+, 2: look in the output of dmesg just after booting the pi ... look for any errors etc regarding wifi – Jaromanda X May 30 at 3:54
  • Yes, I am sure. And from what I can see there are no errors regarding WiFi from dmesg. – liaquore May 30 at 4:04
  • "Doesn't work" is not very helpful. What did happen when you tried? What are you trying to connect to? If you can't connect in the GUI editing files won't help. – Milliways May 30 at 4:07
0

It seems the hotspot you try to connect to, provide connections on the 2,4 GHz and 5 GHz band with the same ssid. Maybe there is a confusion on the RasPi? You can try to force a connection only with 2,4 GHz or 5 GHz. To connect on 2,4 GHz add a line to wpa_supplicant.conf so it looks like this:

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

freq_list=2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
network={
    ssid="<new wifi name>"
    psk="<new wifi password>"
    key_mgmt=WPA-PSK
}

To connect only on 5 GHz use this line:

freq_list=5170 5180 5190 5200 5210 5220 5230 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.