• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login
    1. Home
    2. tom
    • Profile
    • Following 0
    • Followers 7
    • Topics 0
    • Posts 1,741
    • Best 112
    • Controversial 1
    • Groups 2

    tom

    @tom

    admin

    116
    Reputation
    242
    Profile views
    1.7k
    Posts
    7
    Followers
    0
    Following
    Joined 24 Aug 2020, 22:18 Last Online about an hour ago
    Website www.modalai.com Location San Diego, CA

    tom Unfollow Follow
    ModalAI Team admin

    Best posts made by tom

    • RE: Setting up network interfaces

      @ryan_meagher You should be able to do this using the /etc/network/interfaces approach you mentioned. voxl-modem uses that approach in order to set a static IP for Microhard on eth0. This is what the /etc/network/interfaces file looks like in that case:

      # This file describes the network interfaces available on your system
      
      # The primary network interface
      auto eth0
      iface eth0 inet static
      	address 192.168.168.100
      	netmask 255.255.255.0
      	gateway 192.168.168.1
      
      
      posted in Ask your questions right here!
      T
      tom
      3 Aug 2021, 19:34
    • RE: Static IP address on eth0

      @SmittyHalibut That page may be outdated. You definitely can set a static IP on eth0, it is required for Microhard usage. For example voxl-modem uses the interfaces file here for setting a static IP: https://gitlab.com/voxl-public/utilities/voxl-modem/-/blob/master/config/interfaces

      It does require pulling down / up the interface on boot: https://gitlab.com/voxl-public/utilities/voxl-modem/-/blob/master/scripts/voxl-modem#L516 which may be a solution for @Sem-Andeweg

      posted in VOXL
      T
      tom
      4 Feb 2022, 18:29
    • RE: How to install and configure OpenVPN?

      @Djalma-Ribeiro You can create a systemd service file and enable it to run on boot and have it execute the OpenVPN connection command.

      Here is an example on how we have used it in the past on a VOXL:

      [Unit]
      After=voxl-time-sync.service
      Requires=voxl-time-sync.service
      
      [Service]
      Type=forking
      ExecStartPre=/bin/sleep 2
      ExecStart=/usr/sbin/openvpn --script-security 2 --daemon --config /etc/openvpn/KEY_FILE
      
      [Install]
      WantedBy=default.target
      

      Won't be exactly the same as above but that's the general idea.

      posted in Ask your questions right here!
      T
      tom
      31 May 2022, 18:34
    • RE: How to flash new image for VOXL 2 Flight Deck?

      @clarizza https://docs.modalai.com/flash-system-image/#flashing-a-voxl-sdk-release

      posted in Ask your questions right here!
      T
      tom
      27 Jul 2023, 17:35
    • RE: Voxl 2 and Herelink Slow Video stream

      @Nicholas-Hansen In order to set an IP address at boot you could create a systemd service that runs a script similar to this portion of the voxl-modem startup script:

      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/voxl-modem-start?ref_type=heads#L242

      You could probably highjack the doodle workflow if you really want to. It's pretty basic, it just waits for the network interface to enumerate and sets the IP address if it is different from what is set in the config file. It then monitors that interface and sets the IP again if it ever changes

      echo -e "\nWaiting for eth0..."
              rc=1
              while [ $rc -ne 0 ]; do
                  ifconfig -s | grep eth0
                  rc=$?
                  sleep 1
              done
      
              echo -e "\neth0 initialized"
      
              # loop and re-set IP if network interface goes down and back up
              while true
              do
                  # grab ip address from eth0
                  eth0_ip=$(ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | head -1)
      
                  # if it's not what we expect, fix it
                  if [[ "$eth0_ip" != *"$DOODLE_IP"* ]]; then
                      echo "setting IP address to: $DOODLE_IP"
                      ifconfig eth0 $DOODLE_IP netmask 255.0.0.0 up
                  fi
                  sleep 1
              done
      
      posted in Ask your questions right here!
      T
      tom
      10 Oct 2023, 21:20
    • RE: VOXL 2 Ethernet and USB Hub Add-on with Doodle lab radio

      @shawn_ricardo Not really a better way at this point, I'd like to at some point just make the network interface able to be specified in the config file as opposed to hard-coded as eth0, but haven't gotten to that yet

      posted in VOXL Accessories
      T
      tom
      9 Jul 2025, 01:25
    • RE: Voxl not connecting to QGC

      @PawelJ Yep, it should be either 14550 or 14551.

      posted in VOXL
      T
      tom
      20 Apr 2021, 21:36
    • RE: Connecting V2 LTE modem to Rpi4

      @Henry-Cappel See script here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/sierra-rpi-setup.sh

      Pinouts are here: https://docs.modalai.com/lte-modem-v2-dongle-datasheet/#raspberrypi-4

      posted in Cellular Modems
      T
      tom
      8 Nov 2022, 21:37
    • RE: Totally confused from the beginning

      @local-ad What are you trying to do?

      posted in VOXL-CAM
      T
      tom
      19 Aug 2022, 00:52
    • RE: error compiling voxl-vision-px4 from source

      I would rebuild using the master branch and do the following:

      You can use the opkg server in order to install the dependencies.

      In /etc/opkg/opkg.conf uncomment the line #src/gz dev http://voxl-packages.modalai.com/dev.

      Then, call opkg update

      • Install libmodal_json with opkg install libmodal_json
      • Install voxl-mpa-tools with opkg install voxl-mpa-tools
      • Back on your host pc, run ./install-on-voxl.sh
      posted in Ask your questions right here!
      T
      tom
      12 Feb 2021, 22:03

    Latest posts made by tom

    • RE: QGC not loading proper

      @Jetson-Nano When you say "while using the internal px4, it is loading fast" are you saying that when running px4 on voxl2 it connects but when running px4 on flight core v2 it doesn't?

      posted in VOXL 2
      T
      tom
      about 3 hours ago
    • RE: Starling 2 Max GPS issues - Please Need Help !

      @sara-ab We have designed a new GPS mast that will greatly improve GPS performance on Starling 2 Max, please reach out to support@modalai.com

      with your order number and link this forum post and we will make sure you get one

      posted in Ask your questions right here!
      T
      tom
      14 days ago
    • RE: Resetting px4-params

      @saegsali These are all of the param files loaded on Starling 2 (D0014) by default:

      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/blob/master/scripts/voxl-configure-px4-params?ref_type=heads#L89

      They can be found here, organized by folder:
      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/tree/master/params/v1.14?ref_type=heads

      posted in Starling & Starling 2
      T
      tom
      14 days ago
    • RE: Ubuntu 20.04 for Voxl 2 Mini

      @detlefurig Yes that is something we're actively working on, probably a few months out at this point

      posted in VOXL 2 Mini
      T
      tom
      17 days ago
    • RE: Ethernet Dongle

      @Huynh-Gremsy There is no way to get HDMI output, are you trying to use HDMI input? If so you can use an HDMI to USB-A capture card and the HDMI device will enumerate as a UVC camera

      posted in VOXL 2
      T
      tom
      17 days ago
    • RE: USBC Port as Ethernet interface

      @Huynh-Gremsy You cannot connect peripherals to the USBC port in that way, you'll have to use one of our add-on boards that breakout USB ports

      posted in Qualcomm Flight RB5 5G Drone
      T
      tom
      21 days ago
    • RE: Ethernet Dongle

      @Huynh-Gremsy Apologies, didn't realize you were trying to use the usb-c port, see Vinny's comment here:

      https://forum.modalai.com/post/8501

      posted in VOXL 2
      T
      tom
      21 days ago
    • RE: Mint Mobile Configuration

      @Moderator Mint operates on the TMobile network so you we use the APN: fast.t-mobile.com.

      I have noticed that when I use the Mint SIM in an Android phone it uses the wholesale APN but fast.t-mobile.com will work with our modems.

      posted in Cellular Modems
      T
      tom
      23 days ago
    • RE: Stinger VRX not turning on

      @Grier Can you post a picture of your setup?

      posted in Support Request Format for Best Results
      T
      tom
      23 days ago
    • RE: Starling 2 vs starling 2 max for swarming in warehouse.

      @Aryananand We have a lot of customers using Starling 2 for warehouse inspection type flights, that would be my recommendation

      posted in Starling & Starling 2
      T
      tom
      23 days ago
    Powered by NodeBB | Contributors