|  | 
 
| Hello! 
 Turning on OPI does not establish a WiFi connection.
 After restarting wlan0 (ifdown wlan0 && ifup wlan0) the WiFi connection is established. It doesn't matter if eth0 is enabled.
 What needs to be done to make wlan0 connect on boot?
 
 Debian 2.1.2 buster server distribution, all updates installed (apt update && apt upgrade).
 Also tested on Armbian 21.08.1 Bullseye distro, same problem.
 
 
 /etc/network/interfaces
 
 Copy codesource /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-ssid Rubin
wpa-psk ********
auto eth0
iface eth0 inet dhcp
# ifconfig wlan0
 
 
 # iwconfig wlan0Copy codewlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 0c:8c:24:2c:52:82  txqueuelen 1000  (Ethernet)
        RX packets 15197  bytes 1942608 (1.8 MiB)
        RX errors 0  dropped 15179  overruns 0  frame 0
        TX packets 4  bytes 1036 (1.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 wlan0 doesn't ping and doesn't have an ip, but DHCP gave out an ip when OPI startup:Copy codewlan0     IEEE 802.11bgn  ESSID:"Rubin"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: BC:AE:C5:C5:01:EA
          Bit Rate:72.2 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode                  :open
          Power Management:off
          Link Quality=100/100  Signal level=100/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 Copy codeLease Mac Address       IP Address    Host name
85245 02:01:5f:79:72:f0 192.168.222.44 orangepiprime         #eth0
85231 0c:8c:24:2c:52:82 192.168.222.21 *                                 #wlan0
 
 
 | 
 |