Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Rb5 static IP

Rb5 static IP

Scheduled Pinned Locked Moved Ask your questions right here!
1 Posts 1 Posters 598 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    martygp95
    Contributor
    wrote on last edited by
    #1

    Hello, I am trying to set up an static IP from an script; I automatically set an static IP once the drone is set to a new WiFi. In few lines, the script what it does is:

    • Connect the drone to a new WiFi (with adb shell voxl-wifi station <ssid> <password> command
    • reboot the drone with adb reboot to gain a new IP address
    • ask the new IP for the network, ask netmask and default gateway, set this new values into the file for the voxl-static-ip service (/usr/bin/voxl-static-ip)
    • reboot to see the changes

    The thing is that I manage to set an static IP for the drone. Once it reboots , the drone gets this new static IP but I cannot ping the drone from another device until few minutes passes. Once it gets the first ping, the connection never stops but I wonder if you could see why it lasts too many minutes to set the static IP for the new WiFi.
    I see, once rebooted, the new static IP in the wlan0 interface (192.168.1.141), but I cannot reach it; instead, I can reach the IP address that appears here when putting 'ip route' into the terminal (192.168.1.198):

    WhatsApp Image 2023-05-31 at 09.53.34.jpeg

    WhatsApp Image 2023-05-31 at 09.53.53.jpeg

    from the drone I can ping to 8.8.8.8 and my laptop; Any help would be appreciated.
    Thanks!

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    ModalAI
    Categories Recent Tags ModalAI.com Docs
    © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups