Can't connect to Wifi

Hi, I’m in a house where I don’t have internet provider, so I’m trying to connect the pi to a hotspot which all other devices connect without any issues, however, for some reason and even after rebooting etc. it doesn’t connect.

By running journalctl -u ifup* this is what I get:

I’m not sure what’s causing it. Thank you.

Hello,
first of all it would be nice to to use the issue report form, you gave just little information about the problem.

Issue report form

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Expected behaviour

Actual behaviour

Extra details


reason=CONN_FAILED

Do you use a RPi 4 and have HDMI plugged into it by any chance? There is a problem with the antenna when HDMI is plugged in:
https://hackaday.com/2019/11/28/raspberry-pi-4-hdmi-is-jamming-its-own-wifi/

Other users report, that the fixed the “CTRL-EVENT-ASSOC-REJECT status_code=16” by switching to another channel.
Did you set the correct country code?
Did you use dietpi-config for the setup of the connection or what did you do?

is this a 2.4 GHz or 5 GHz hotspot? And is there special character on the password?

It’s a 2.4 GHz hotspot.

I setup using dietpi-config. The country is correct and I’m not using HDMI. Now, I’ve an additional issue that is, when trying to modify Wifi settings it tries to fetch some stuff from apt (regarding wifi chip IDK) and of course, it can’t do it because it can’t connect to the internet.

It’s like if I’m stuck. I had the wifi chip disabled previously to this house if that helps.

What SBC you are using? And what packages are required by the system?

I’m using the Pi 4 without anything else.