0

I just have done a fresh install of Raspbian Buster on a 3b+ on my home network. The box has been working fine for years running wheezy. The box isn't connected by ethernet.

Trying to set up Localisation prefs and the Wifi Country is greyed out and the Network icon on the top-right of desktop says no interfaces found.

Have tried setting the country name in raspi-config options but get an error saying N2 error.

Have tried:

nano /etc/wpa_supplicant/wpa_supplicant.conf

and edited to read:

   country=GB
_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
    ssid="<network_ssid>"
    psk="<network_password>"
}

but still can't find wifi networks or change Wifi country in preferences.

Does anyone help? Thanks

Mohi Rostami
  • 4,434
  • 1
  • 20
  • 39

1 Answers1

1

Configure the /etc/wpa_supplicant/wpa_supplicant.conf as the link below because it has not configured in a true way and some part of it has lost:

Setting WiFi up via the command line


My /etc/wpa_supplicant/wpa_supplicant.conf is like this and is working:

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

network={
     ssid="testssid"
     psk="tesspass"
}

Now, if you check the interface list by ifconfig you would not see the wlan0 on the list. So, you may found some solution that tells you to enable the wlan0 by ifconfig wlan0 up but it doesn't work and would give Operation not possible due to RF-kill as the output.


By the following procedure, it will be solved:

iwconfig wlan0 txpower off

sudo rfkill unblock all

Now you can bring it up:

ifconfig wlan0 up  

Check the wlan0 state by ifconfig, iwconfig or GUI on the top of the screen and you would see that it has worked.


References:

Mohi Rostami
  • 4,434
  • 1
  • 20
  • 39