element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Unable to connect to WiFi with PocketBeagle
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 2 replies
  • Subscribers 102 subscribers
  • Views 2366 views
  • Users 0 members are here
  • BeagleBone
  • pocketbeagle
  • beagleboard
Related

Unable to connect to WiFi with PocketBeagle

ninjatrent
ninjatrent over 5 years ago

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

  • Sign in to reply
  • Cancel

Top Replies

  • ninjatrent
    ninjatrent over 5 years ago in reply to cstanton +1 verified
    Seems to be an issue with power on boot with the usb pinouts. I unplugged and plugged in the usb wifi module and module then receives power. Connection to wifi is established. Thanks for the help
Parents
  • cstanton
    0 cstanton over 5 years ago

    What's the output of lsmod, ifconfig and iwconfig ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • cstanton
    0 cstanton over 5 years ago

    What's the output of lsmod, ifconfig and iwconfig ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • ninjatrent
    0 ninjatrent over 5 years ago in reply to cstanton

    Seems to be an issue with power on boot with the usb pinouts.

     

    I unplugged and plugged in the usb wifi module and module then receives power.

     

    Connection to wifi is established. Thanks for the help

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube