Package installs without internet



  • Hi, I recently got a hold of a Voxl2, but I don't yet have an internet connection on the board. Is there a way to install packages (similar to ones on the Voxl1, such as docker and ROS) without internet access? Additionally, are the debians on this page for both the RB5 and the Voxl2 interchangebly?

    http://voxl-packages.modalai.com/dev-deb/

    i was able to install the voxl-suite package, but I got this error when trying to install voxl-docker-support:

    voxl2:~/deb$ dpkg -i voxl-docker-support_1.1.3-202201182231.deb
    Selecting previously unselected package voxl-docker-support.
    (Reading database ... 80134 files and directories currently installed.)
    Preparing to unpack voxl-docker-support_1.1.3-202201182231.deb ...
    Unpacking voxl-docker-support (1.1.3-202201182231) ...
    dpkg: dependency problems prevent configuration of voxl-docker-support:
    voxl-docker-support depends on docker; however:
    Package docker is not installed.

    dpkg: error processing package voxl-docker-support (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    voxl-docker-support

    Is there a way to install docker onto Voxl2 without internet? I wanted to run a docker image I had built for Voxl1 that has ROS/OpenCV and a node for a USB camera. Alternately, is there a debian for ROS that I can install directly on the Voxl2?


  • Dev Team

    The easiest would be to use an add-on board that provides connectivity either directly or with a WiFi dongle. The supported Wifi dongles list can be found here: https://beta-docs.modalai.com/voxl2-wifidongle-user-guide/


  • Dev Team

    @sarahl Some packages in dev-deb will work on RB5 as well as Voxl2, but they are really only intended for Voxl2 at this point. We will be making a formal release with a set of packages that work on both RB5 and Voxl2 in about a week.



  • @Eric-Katzfey Thanks Eric, I look forward to the release! Any update on when that will be?



  • @Chad-Sweet I finally got a hold of a wifi dongle from the lab, but it's this one so I'm not sure if it's compatible. So far, it's not lighting up as usual when plugged into the fastboot board (M0078) via the usb-female connector. This dongle usually works with our other ubuntu machines, but maybe we'll have to order some of the supported ones listed on the page. One thing I wanted to ask about that docs page, it mentions under the "rebooting" section that the dongle should now be connected to voxl2 via usb-c. is that typo? I have it connected via the fastboot board and jst-to-usb cable, but the usb-c is being used for adb currently. Also, is there any indicator on the expander board that it's properly plugged into the voxl2?


  • Dev Team

    @sarahl No, it definitely does not need to be in USB C.


  • Dev Team

    @sarahl The dongle's driver is most likely not built in to the kernel by default. What does lsusb show? It may show the name of the necessary driver.



  • @tom this is what lsusb shows:
    Bus 001 Device 003: ID 7392:b811 Edimax Technology Co., Ltd



  • Separate question: so I have wifi hooked up on an RB5, but everytime I reboot, the ip address changes. Is there a way to change that? It doesn't seem to happen with my voxls (in station).


  • Dev Team

    @sarahl You'd probably be better off purchasing one of the dongles listed here: https://beta-docs.modalai.com/voxl2-wifidongle-user-guide/

    It takes some work to integrate a new WiFi driver and isn't the most straight-forward thing to do.


  • Dev Team

    @sarahl As for static ip on RB5, I would check out this thread for more info: https://forum.modalai.com/topic/794/how-to-set-up-a-static-ip-in-rb5/17?_=1649955285381


  • Dev Team

    @sarahl It is a known bug with the Thundercomm SOMs.



  • @tom thanks! we did put in an order for some, so hopefully I will get those soon. also thanks for the link, I'll check it out!



  • So I'm trying to reflash the Voxl2, but the image listed in the docs (https://docs.modalai.com/voxl2-platform-release/#voxl2_platform_121-07) doesn't seem to be available on the downloads page, just 1.1.4. Is this available yet?

    We've had issues installing the available system image (1.1.4) with/without the fastboot board, either with fastboot devices showing nothing, or getting an error like:

    sudo ./flash-full.sh
    [INFO] version: 0.0
    [INFO] adb installed
    [INFO] fastboot installed
    [INFO] qti-ubuntu-robotics-image-qrb5165-rb5-boot.img present
    [INFO] abl.elf present
    [INFO] qti-ubuntu-robotics-image-qrb5165-rb5-sysfs.ext4 present
    [INFO] Rebooting to fastboot bootloader
    error: no devices/emulators found
    [INFO] Flashing boot.img
    target reported max download size of 805306368 bytes
    sending 'boot_a' (20884 KB)...
    OKAY [ 0.117s]
    writing 'boot_a'...
    OKAY [ 0.031s]
    finished. total time: 0.148s
    target reported max download size of 805306368 bytes
    sending 'boot_b' (20884 KB)...
    OKAY [ 0.111s]
    writing 'boot_b'...
    OKAY [ 0.024s]
    finished. total time: 0.135s
    [INFO] Flashing abl.elf
    target reported max download size of 805306368 bytes
    sending 'abl_a' (148 KB)...
    OKAY [ 0.006s]
    writing 'abl_a'...
    OKAY [ 0.002s]
    finished. total time: 0.008s
    target reported max download size of 805306368 bytes
    sending 'abl_b' (148 KB)...
    OKAY [ 0.010s]
    writing 'abl_b'...
    OKAY [ 0.002s]
    finished. total time: 0.012s
    [INFO] Flashing sysfs.ext4
    target reported max download size of 805306368 bytes
    erasing 'system'...
    OKAY [ 0.072s]
    sending sparse 'system' 1/4 (784773 KB)...
    OKAY [ 3.890s]
    writing 'system' 1/4...
    OKAY [ 0.000s]
    sending sparse 'system' 2/4 (784403 KB)...
    FAILED (data write failure (Cannot send after transport endpoint shutdown))
    finished. total time: 7.594s

    Edit: Actually, I got the fastboot image flashing to work on one board! But still wondering if this updated image is available, thanks!


  • Dev Team

    We just uploaded the image to the downloads page, it can be found under the VOXL2 platform releases folder!



  • @Alex-Gardner thanks so much!



  • What's the best way to install full ROS melodic without all the voxl-suite packages being uninstalled due to dependency conflicts (e.g. opencv)?



  • Also, how should mavros (px4.launch) be run with the internal px4 on the voxl2?


Log in to reply