I am experiencing an issue with connecting the PocketBeagle to WiFi.
There is a USB WiFi (802.11b/g/n) Module connected to the PocketBeagle's USB host pinout.
The USB WiFi Module is RTL8192cu Chipset.
With this USB WiFi Module, a wireless connection was previously established.
Using a fresh install of the most recent Debian IoT image provided by beagleboard.org , I am unable to connect to WiFi.
https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz
Here is a log of the ssh terminal session
debian@beaglebone:~$ uname -a
Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020 armv7l GNU/Linux
debian@beaglebone:~$ cat /etc/debian_version
10.3
debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Buster IoT Image 2020-04-06
debian@beaglebone:~$ lsusb
Bus 002 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
debian@beaglebone:~$ connmanctl technologies
/net/connman/technology/p2p
Name = P2P
Type = p2p
Powered = False
Connected = False
Tethering = False
/net/connman/technology/wifi
Name = WiFi
Type = wifi
Powered = True
Connected = False
Tethering = False
debian@beaglebone:~$ sudo connmanctl
[sudo] password for debian:
connmanctl> enable wifi
Error wifi: Already enabled
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
### Command does not produce a list of detected networks as expected.
connmanctl> agent on
Agent registered
connmanctl> services
### Command does not produce a list of detected networks as expected.
connmanctl> connect wifi_1234567890_1234567890123456_managed_psk
Error /net/connman/service/wifi_1234567890_1234567890123456_managed_psk: Method "Connect" with signature "" on interface "net.connman.Service" doesn't exist
connmanctl> quit
debian@beaglebone:~$ sudo systemctl status connmanctl
[sudo] password for debian:
Unit connmanctl.service could not be found.
debian@beaglebone:~$ sudo systemctl restart connmanctl
Failed to restart connmanctl.service: Unit connmanctl.service not found.
debian@beaglebone:~$ sudo systemctl enable connmanctl
Failed to enable unit: Unit file connmanctl.service does not exist.
root@beaglebone:~# sudo systemctl enable connmanctl
Failed to enable unit: Unit file connmanctl.service does not exist.
root@beaglebone:~# systemctl
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Form
sys-devices-platform-ocp-44e09000.serial-tty-ttyS0.device loaded active plugged /sys/devices/platform/ocp/44e0
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-gadget-net-usb0.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-gadget-net-usb1.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-udc-musb\x2dhdrc.0.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401c00.usb-musb\x2dhdrc.1-usb2-2\x2d1-2\x2d1:1.0-net-wlan0.device loaded active plugged RTL8188CUS 802.11n WLAN Adapte
sys-devices-platform-ocp-48022000.serial-tty-ttyS1.device loaded active plugged /sys/devices/platform/ocp/4802
sys-devices-platform-ocp-48024000.serial-tty-ttyS2.device loaded active plugged /sys/devices/platform/ocp/4802
sys-devices-platform-ocp-48030000.spi-spi_master-spi0-spi0.0-spidev-spidev0.0.device loaded active plugged /sys/devices/platform/ocp/4803
sys-devices-platform-ocp-48060000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0-mmcblk0p1.device loaded active plugged /sys/devices/platform/ocp/4806
sys-devices-platform-ocp-48060000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0.device loaded active plugged /sys/devices/platform/ocp/4806
sys-devices-platform-ocp-481a0000.spi-spi_master-spi1-spi1.0-spidev-spidev1.0.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481a0000.spi-spi_master-spi1-spi1.1-spidev-spidev1.1.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481a8000.serial-tty-ttyS4.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481cc000.can-net-can0.device loaded active plugged /sys/devices/platform/ocp/481c
sys-devices-platform-ocp-481d0000.can-net-can1.device loaded active plugged /sys/devices/platform/ocp/481d
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial82
sys-devices-platform-serial8250-tty-ttyS5.device loaded active plugged /sys/devices/platform/serial82
sys-devices-virtual-misc-rfkill.device loaded active plugged /sys/devices/virtual/misc/rfki
sys-devices-virtual-tty-ttyGS0.device loaded active plugged /sys/devices/virtual/tty/ttyGS
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
lines 1-23...skipping...
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Form
sys-devices-platform-ocp-44e09000.serial-tty-ttyS0.device loaded active plugged /sys/devices/platform/ocp/44e0
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-gadget-net-usb0.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-gadget-net-usb1.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401400.usb-musb\x2dhdrc.0-udc-musb\x2dhdrc.0.device loaded active plugged /sys/devices/platform/ocp/4740
sys-devices-platform-ocp-47400000.usb-47401c00.usb-musb\x2dhdrc.1-usb2-2\x2d1-2\x2d1:1.0-net-wlan0.device loaded active plugged RTL8188CUS 802.11n WLAN Adapte
sys-devices-platform-ocp-48022000.serial-tty-ttyS1.device loaded active plugged /sys/devices/platform/ocp/4802
sys-devices-platform-ocp-48024000.serial-tty-ttyS2.device loaded active plugged /sys/devices/platform/ocp/4802
sys-devices-platform-ocp-48030000.spi-spi_master-spi0-spi0.0-spidev-spidev0.0.device loaded active plugged /sys/devices/platform/ocp/4803
sys-devices-platform-ocp-48060000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0-mmcblk0p1.device loaded active plugged /sys/devices/platform/ocp/4806
sys-devices-platform-ocp-48060000.mmc-mmc_host-mmc0-mmc0:aaaa-block-mmcblk0.device loaded active plugged /sys/devices/platform/ocp/4806
sys-devices-platform-ocp-481a0000.spi-spi_master-spi1-spi1.0-spidev-spidev1.0.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481a0000.spi-spi_master-spi1-spi1.1-spidev-spidev1.1.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481a8000.serial-tty-ttyS4.device loaded active plugged /sys/devices/platform/ocp/481a
sys-devices-platform-ocp-481cc000.can-net-can0.device loaded active plugged /sys/devices/platform/ocp/481c
sys-devices-platform-ocp-481d0000.can-net-can1.device loaded active plugged /sys/devices/platform/ocp/481d
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial82
sys-devices-platform-serial8250-tty-ttyS5.device loaded active plugged /sys/devices/platform/serial82
sys-devices-virtual-misc-rfkill.device loaded active plugged /sys/devices/virtual/misc/rfki
sys-devices-virtual-tty-ttyGS0.device loaded active plugged /sys/devices/virtual/tty/ttyGS
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-can0.device loaded active plugged /sys/subsystem/net/devices/can
sys-subsystem-net-devices-can1.device loaded active plugged /sys/subsystem/net/devices/can
sys-subsystem-net-devices-usb0.device loaded active plugged /sys/subsystem/net/devices/usb
sys-subsystem-net-devices-usb1.device loaded active plugged /sys/subsystem/net/devices/usb
sys-subsystem-net-devices-wlan0.device loaded active plugged RTL8188CUS 802.11n WLAN Adapte
-.mount loaded active mounted /
dev-mqueue.mount loaded active mounted POSIX Message Queue File Syste
run-user-1000.mount loaded active mounted /run/user/1000
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Kernel Configuration File Syst
sys-kernel-debug.mount loaded active mounted /sys/kernel/debug
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to W
init.scope loaded active running System and Service Manager
session-1.scope loaded active running Session 1 of user debian
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bonescript-autorun.service loaded active running Bonescript autorun
bonescript.service loaded active running Bonescript server
cloud9.service loaded active running Cloud9 IDE
connman.service loaded active running Connection service
lines 1-43