1

I connected my RPi 4 B with Raspbian OS to my home network successfully. After rebooting, it just did not want to connect again. I have re-installed Raspian without any success. It does however, connect to my phone's hotspot. After reading other blog posts, I tried to edit the etc/wpca_supplicant/wpa_suplicant.conf, but here I only get a popup:'Can't open file to write' when trying to save. In this config file, there currently is written:

ctrl_interface=DIR=/var/run/wpa_supplicant GOUP=netdev
update_config=1
country=ZA

network={
    ssid="myHomeSSID"
    psk="MyHomePassword"
    key_mgmt=WPA-PSK
}
network={
    ssid="myAndroidAP"
    psk="MyAndroidPassword"
    key_mgmt=WPA-PSK
    disabled=1
}

Any help that could get me re-connected to my network would be greatly appreciated!

  • Edit the file using sudoedit /etc/wpa_supplicant/wpa_supplicant.conf. Add a line with priority=10 underneath your homeSSID. Then sudo systemctl restart wpa_supplicant and it will work. – jake Oct 10 at 11:21
  • Unfortunately not. I then deleted all networks from wpa_supplicant.conf and rebooted. It then again put the network into the file but could not connect. It can however still connect to my mobile hotspot. – PascalNam Oct 10 at 13:29
1

You give an important detail in a comment: "I then deleted all networks from wpa_supplicant.conf and rebooted. It then again put the network into the file but could not connect. It can however still connect to my mobile hotspot." You should edit the question and add it to it.

I seems there is an application that updates /etc/wpa_supplicant/wpa_supplicant.conf but that breaks the communication with your HomeSSID. With the available information it is not clear why but you can disable to update wpa_supplicant.conf. Setup it so you will connect to your HomeSSID and then set

update_config=0

This will prevent any application to modify wpa_supplicant.conf.

0

There are a lot ofreasons for this. 1. The country select 2. Service daemon corruption 3. wpa_supplicant.conf has wrong configurations If any of this doesn't work then flash the sdcard again

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.