# Package installs without internet

Source: https://forum.modalai.com/topic/822/package-installs-without-internet
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2022-03-28 22:41:25 UTC by sarahl
Replies: 17 · Views: 3882

## sarahl · 2022-03-28 22:41:25 UTC

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?

## Reply by Chad Sweet (ModalAI staff) · 2022-03-29 00:08:31 UTC

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/

## Reply by Eric Katzfey (ModalAI staff) · 2022-03-29 00:22:00 UTC

@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.

## Reply by sarahl · 2022-04-08 14:40:51 UTC (in reply to Eric Katzfey)

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

## Reply by sarahl · 2022-04-08 14:45:02 UTC (in reply to Chad Sweet)

@Chad-Sweet I finally got a hold of a wifi dongle from the lab, but it's [this one](https://www.amazon.com/Edimax-EW-7811Un-V2-Compatible-2-6-18-4-14/dp/B08F2ZNC6J/ref=asc_df_B08F2ZNC6J/?tag=hyprod-20&linkCode=df0&hvadid=475692076734&hvpos=&hvnetw=g&hvrand=7277300555318053679&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9061285&hvtargid=pla-1039482949856&psc=1) 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?

## Reply by Eric Katzfey (ModalAI staff) · 2022-04-08 14:55:34 UTC (in reply to sarahl)

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

## Reply by tom (ModalAI staff) · 2022-04-08 18:18:41 UTC

@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.

## Reply by sarahl · 2022-04-14 15:16:02 UTC (in reply to tom)

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

## Reply by sarahl · 2022-04-14 15:18:46 UTC

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).

## Reply by tom (ModalAI staff) · 2022-04-14 16:54:41 UTC (in reply to sarahl)

@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.

## Reply by tom (ModalAI staff) · 2022-04-14 16:55:19 UTC (in reply to sarahl)

@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

## Reply by tom (ModalAI staff) · 2022-04-14 16:55:50 UTC

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

## Reply by sarahl · 2022-04-14 17:18:11 UTC

@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!

## Reply by sarahl · 2022-05-16 22:41:38 UTC

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!

## Reply by Guest · 2022-05-16 23:49:38 UTC

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

## Reply by sarahl · 2022-05-17 13:19:40 UTC (in reply to Guest)

@Alex-Gardner thanks so much!

## Reply by sarahl · 2022-06-08 21:32:15 UTC

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)?

## Reply by sarahl · 2022-06-08 23:24:56 UTC

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