Beaglebone Black failed to connect to internet and USB connection to the computer not working ok

Hello,

I am new to using BBB and Linux. I am unsuccessful in connecting my BBB to the internet. I followed the instructions from here (https://www.digikey.com/en/maker/blogs/how-to-connect-a-beaglebone-black-to-the-internet-using-usb) and I cannot even ping 192.168.7.1. I also tried following the instructions on BeagleBoard.org - upgrade and still failed to connect to the internet.

Any idea what I am doing wrong?

Thank you,
Izzy

Hi @IzzyZul9 , this is a complex setup, so let’s start with a few basics… What version of the OS are you currently running on the BBB?

Please run and report output:

sudo /opt/scripts/tools/version.sh

On the other side of the USB connector, are you using Windows, Linux or Mac as the gateway to the internet?

Regards,

Hi Robert, thanks for getting back to me. I’m using Windows and using putty to ssh to the BBB

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[721f317b40aabe880c34e8e16311812eeb464ce4]
eeprom:[A335BNLT000C2107BBBG0962]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2019.04-00002-g07d5700e21                                                                              (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[l                                                                             ocation: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0.bb.org-overlays]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.bb.org-overlays]
UBOOT: Loaded Overlay:[BB-HDMI-TDA998x-00A0.bb.org-overlays]
kernel:[4.19.94-ti-r66]
nodejs:[v10.24.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-                                                                             00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0~buster+20210821]
pkg:[bb-customizations]:[1.20210810.1-0~buster+20210810]
pkg:[bb-usb-gadgets]:[1.20210816.0-0~buster+20210816]
pkg:[bb-wl18xx-firmware]:[1.20210901.0-0~buster+20210901]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev us                                                                             ers systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio                                                                              docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/m                                                                             mcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656                                                                              rng_core.default_quality=100 quiet]
dmesg | grep remote
[   63.223191] remoteproc remoteproc0: wkup_m3 is available
[   63.279937] remoteproc remoteproc0: powering up wkup_m3
[   63.279971] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,                                                                              size 217148
[   63.280267] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   65.621067] remoteproc remoteproc1: 4a334000.pru is available
[   65.638770] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   65.621067] remoteproc remoteproc1: 4a334000.pru is available
[   65.628552] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed succes                                                                             sfully
[   65.638770] remoteproc remoteproc2: 4a338000.pru is available
[   65.638976] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed succes                                                                             sfully
dmesg | grep pinctrl-single
[    0.949452] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    1.471913] pinctrl-single 44e10800.pinmux: pin PIN108 already requested by o                                                                             cp:A15_pinmux; cannot claim for 0-0070
[    1.482487] pinctrl-single 44e10800.pinmux: pin-108 (0-0070) status -22
[    1.489166] pinctrl-single 44e10800.pinmux: could not request pin 108 (PIN108                                                                             ) from group nxp_hdmi_bonelt_pins  on device pinctrl-single
dmesg | grep gpio-of-helper
[    0.962787] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

Enable ICS and then on the Beagle run:

sudo /opt/scripts/network/usb_windows_ics.sh

Should connect up…

Regards,

I turned on internet sharing and ran the command. It’s stil not pinging back.

Thanks.
Izzy