I just followed your steps to do the test, I followed all steps except step 7, since on my board, no need to run "netplan try" and "netplan apply", the eth0 and wlan0 already can get the ip from my router. Other steps are same.
I can't reproduce your problem, with the new installed 1012 kernel, no matter I plug ethernet or not, I can ssh to wlan0 always. I don't know why you have problem. When problem happens, you could check the /var/log/syslog, it should contain the log about getting the ip for eth0 and wlan0, maybe you could find sth is not correct in that log. for example: Nov 24 07:17:04 ubuntu systemd-networkd[1098]: eth0: Gained carrier Nov 24 07:17:04 ubuntu systemd-networkd[1098]: eth0: DHCPv4 address 192.168.1.106/24 via 192.168.1.1 Nov 24 07:17:04 ubuntu systemd-timesyncd[1141]: Network configuration changed, trying to establish connection. Nov 24 07:17:03 ubuntu systemd-resolved[1139]: Using degraded feature set (UDP) for DNS server 202.106.46.151. Nov 24 07:17:03 ubuntu dbus-daemon[1208]: [system] AppArmor D-Bus mediation is enabled Nov 24 07:17:06 ubuntu wpa_supplicant[1097]: wlan0: WPA: Key negotiation completed with 50:bd:5f:ff:68:12 [PTK=CCMP GTK=CCMP] Nov 24 07:17:06 ubuntu wpa_supplicant[1097]: wlan0: CTRL-EVENT-CONNECTED - Connection to 50:bd:5f:ff:68:12 completed [id=0 id_str=] Nov 24 07:17:06 ubuntu systemd-networkd[1098]: wlan0: Gained carrier Nov 24 07:17:06 ubuntu systemd[1]: Started Snappy daemon. Nov 24 07:17:06 ubuntu systemd[1]: Starting Wait until snapd is fully seeded... Nov 24 07:17:06 ubuntu systemd-networkd[1098]: wlan0: DHCPv4 address 192.168.1.107/24 via 192.168.1.1 Nov 24 07:17:06 ubuntu pollinate[1242]: client verified challenge/response with [https://entropy.ubuntu.com/] Nov 24 07:17:06 ubuntu pollinate[1242]: client hashed response from [https://entropy.ubuntu.com/] Nov 24 07:17:06 ubuntu lxd.activate[1243]: => Starting LXD activation Nov 24 07:17:06 ubuntu lxd.activate[1243]: ==> Loading snap configuration Nov 24 07:17:06 ubuntu lxd.activate[1243]: ==> Checking for socket activation support Nov 24 07:17:06 ubuntu pollinate[1242]: client successfully seeded [/dev/urandom] Nov 24 07:17:06 ubuntu systemd[1]: pollinate.service: Succeeded. Nov 24 07:17:06 ubuntu systemd[1]: Started Pollinate to seed the pseudo random number generator. Nov 24 07:17:06 ubuntu systemd[1]: Starting OpenBSD Secure Shell server... Nov 24 07:17:06 ubuntu systemd[1]: Started Wait until snapd is fully seeded. Nov 24 07:17:06 ubuntu systemd[1]: Starting Apply the settings specified in cloud-config... Nov 24 07:17:06 ubuntu systemd[1]: Condition check resulted in Auto import assertions from block devices being skipped. Nov 24 07:17:07 ubuntu lxd.activate[1243]: ==> Setting LXD socket ownership Nov 24 07:17:07 ubuntu lxd.activate[1243]: ==> LXD never started on this system, no need to start it now Nov 24 07:17:07 ubuntu systemd[1]: snap.lxd.activate.service: Succeeded. Nov 24 07:17:07 ubuntu systemd[1]: Started Service for snap application lxd.activate. Nov 24 07:17:07 ubuntu systemd[1]: Started OpenBSD Secure Shell server. Nov 24 07:17:07 ubuntu systemd[1]: Reached target Multi-User System. Nov 24 07:17:07 ubuntu systemd[1]: Reached target Graphical Interface. Nov 24 07:17:07 ubuntu systemd[1]: Starting Update UTMP about System Runlevel Changes... Nov 24 07:17:07 ubuntu systemd[1]: systemd-update-utmp-runlevel.service: Succeeded. Nov 24 07:17:07 ubuntu systemd[1]: Started Update UTMP about System Runlevel Changes. Nov 24 07:17:07 ubuntu systemd-resolved[1139]: Using degraded feature set (UDP) for DNS server 202.106.46.151. Nov 24 07:17:08 ubuntu systemd-networkd[1098]: wlan0: Gained IPv6LL Nov 24 07:17:08 ubuntu systemd-networkd[1098]: wlan0: Configured -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1853030 Title: No connection through SSH over WIfi after kernel update Status in linux-raspi2 package in Ubuntu: Incomplete Bug description: After updating from kernel "linux-image-5.3.0-1007-raspi2" to "linux- image-5.3.0-1012-raspi2" I no longer can establish SSH connection to Raspberry over Wifi. When it is on wired connection, SSH works and initial screen shows that both adapters (eth0 and wlan0) are connected and have their IPs. "ifconfig" confirms that both adapters are up and have their IPs. Establishing SSH session with both IPs is successful. When I disconnect the network cable, SSH is no longer possible (connection time out). In the same time the router is showing that the Raspberry is connected to the Wifi network. Plugging back the wire does not make the SSH possible. A restart of the Raspberry is required with plugged in network cable in order to establish SSH again. The system is Raspberry Pi 4, 4GB with Ubuntu server X64 image - clean install. Wifi was enabled by editing /etc/netplan/50-cloud-init.yaml and running "sudo netplan apply" Reference info for what is done so far: https://answers.launchpad.net/ubuntu/+question/685941 Output of "ubuntu-bug linux": ProblemType: Bug ApportVersion: 2.20.11-0ubuntu8.2 Architecture: arm64 Date: Mon Nov 18 16:46:39 2019 Dependencies: adduser 3.118ubuntu1 apt 1.9.4 apt-utils 1.9.4 binutils 2.33-2ubuntu1 binutils-aarch64-linux-gnu 2.33-2ubuntu1 binutils-common 2.33-2ubuntu1 busybox-initramfs 1:1.30.1-4ubuntu4 ca-certificates 20190110 coreutils 8.30-3ubuntu2 cpio 2.12+dfsg-9ubuntu0.1 debconf 1.5.73 debconf-i18n 1.5.73 device-tree-compiler 1.4.7-3ubuntu2 devio 1.2-1.2 dpkg 1.19.7ubuntu2 e2fsprogs 1.45.3-4ubuntu2 fdisk 2.34-0.1ubuntu2 flash-kernel 3.98ubuntu5.1 gcc-9-base 9.2.1-9ubuntu2 gpgv 2.2.12-1ubuntu3 initramfs-tools 0.133ubuntu10 initramfs-tools-bin 0.133ubuntu10 initramfs-tools-core 0.133ubuntu10 klibc-utils 2.0.6-1ubuntu3 kmod 26-1ubuntu1 libacl1 2.2.53-4 libapt-pkg5.90 1.9.4 libattr1 1:2.4.48-4 libaudit-common 1:2.8.5-2ubuntu1 libaudit1 1:2.8.5-2ubuntu1 libbinutils 2.33-2ubuntu1 libblkid1 2.34-0.1ubuntu2 libbz2-1.0 1.0.6-9.2 libc6 2.30-0ubuntu2 libcap-ng0 0.7.9-2 libcom-err2 1.45.3-4ubuntu2 libdb5.3 5.3.28+dfsg1-0.6ubuntu1 libext2fs2 1.45.3-4ubuntu2 libfdisk1 2.34-0.1ubuntu2 libffi6 3.2.1-9 libgcc1 1:9.2.1-9ubuntu2 libgcrypt20 1.8.4-5ubuntu2 libgmp10 2:6.1.2+dfsg-4 libgnutls30 3.6.9-5ubuntu1 libgpg-error0 1.36-7 libgpm2 1.20.7-5 libhogweed4 3.4.1-1 libidn2-0 2.2.0-2 libklibc 2.0.6-1ubuntu3 libkmod2 26-1ubuntu1 liblocale-gettext-perl 1.07-3build3 liblz4-1 1.9.1-1 liblzma5 5.2.4-1 liblzo2-2 2.10-0.1 libmount1 2.34-0.1ubuntu2 libncursesw6 6.1+20190803-1ubuntu1 libnettle6 3.4.1-1 libp11-kit0 0.23.17-2 libpam-modules 1.3.1-5ubuntu1 libpam-modules-bin 1.3.1-5ubuntu1 libpam-runtime 1.3.1-5ubuntu1 libpam0g 1.3.1-5ubuntu1 libpcre2-8-0 10.32-5 libseccomp2 2.4.1-0ubuntu0.19.10.3 libselinux1 2.9-2 libsemanage-common 2.9-3 libsemanage1 2.9-3 libsepol1 2.9-2 libsmartcols1 2.34-0.1ubuntu2 libss2 1.45.3-4ubuntu2 libssl1.1 1.1.1c-1ubuntu4 libstdc++6 9.2.1-9ubuntu2 libsystemd0 242-7ubuntu3 libtasn1-6 4.14-3 libtext-charwidth-perl 0.04-9 libtext-iconv-perl 1.7-6 libtext-wrapi18n-perl 0.06-9 libtinfo6 6.1+20190803-1ubuntu1 libudev1 242-7ubuntu3 libunistring2 0.9.10-2 libuuid1 2.34-0.1ubuntu2 libzstd1 1.4.3+dfsg-1 linux-base 4.5ubuntu2 linux-modules-5.3.0-1012-raspi2 5.3.0-1012.14 login 1:4.5-1.1ubuntu4 logsave 1.45.3-4ubuntu2 lsb-base 11.0.1ubuntu1 lz4 1.9.1-1 mtd-utils 1:2.0.1-1ubuntu3 openssl 1.1.1c-1ubuntu4 passwd 1:4.5-1.1ubuntu4 perl-base 5.28.1-6build1 sensible-utils 0.0.12 tar 1.30+dfsg-6 u-boot-tools 2019.07+dfsg-1ubuntu3 ubuntu-keyring 2018.09.18.1 ucf 3.0038+nmu1 udev 242-7ubuntu3 util-linux 2.34-0.1ubuntu2 uuid-runtime 2.34-0.1ubuntu2 zlib1g 1:1.2.11.dfsg-1ubuntu3 DistroRelease: Ubuntu 19.10 Package: linux-image-5.3.0-1012-raspi2 5.3.0-1012.14 PackageArchitecture: arm64 ProcCpuinfoMinimal: processor : 3 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 Hardware : BCM2835 Revision : c03111 Serial : 10000000352e9f36 Model : Raspberry Pi 4 Model B Rev 1.1 ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.3.0-1012.14-raspi2 5.3.7 SourcePackage: linux-raspi2 Tags: eoan uec-images Uname: Linux 5.3.0-1012-raspi2 aarch64 UpgradeStatus: No upgrade log present (probably fresh install) _MarkForUpload: True --- ProblemType: Bug AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Apr 11 2019 seq crw-rw---- 1 root audio 116, 33 Apr 11 2019 timer AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.3.0-1012-raspi2. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.11-0ubuntu8.2 Architecture: arm64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A DistroRelease: Ubuntu 19.10 Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C.UTF-8 SHELL=/bin/bash ProcFB: ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M smsc95xx.macaddr=DC:A6:32:1C:19:7B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait ProcVersionSignature: Ubuntu 5.3.0-1012.14-raspi2 5.3.7 RelatedPackageVersions: linux-restricted-modules-5.3.0-1012-raspi2 N/A linux-backports-modules-5.3.0-1012-raspi2 N/A linux-firmware 1.183.2 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' StagingDrivers: vc_sm_cma bcm2835_v4l2 bcm2835_mmal_vchiq Tags: eoan uec-images staging Uname: Linux 5.3.0-1012-raspi2 aarch64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1853030/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp