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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. voxl-wifi softap issues

voxl-wifi softap issues

Scheduled Pinned Locked Moved Software Development
4 Posts 2 Posters 1.0k Views 1 Watching
  • 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.
  • Philemon BennerP Offline
    Philemon BennerP Offline
    Philemon Benner
    Regular
    wrote on last edited by
    #1

    Hey,
    i'm currently working on setting my voxl to softap mode. While doing that i encountered some issues that i wanted to let u know.

    Voxl: Voxl 1
    Voxl System Image: 3.8.0
    Voxl Suite: 0.7.0

    So when i'm trying to set the voxl into softap factory mode i'm getting the following error:

    voxl-wifi -f
    

    Output:
    voxl-hwscan-not-found.png
    Seems like voxl-hwscan doesn't exist anymore in the new system-image ?

    Also when i tried editing the default password in:
    /usr/bin/voxl-wifi l. 5-7

    DEFAULT_SSID="VOXL-BLA"
    DEFAULT_PASS="somesecretpassword"
    DEFAULT_COUNTRY_CODE="mycountrycode"
    

    it will still use the standart password 1234567890. So i had a look at the hostapd.conf,
    and it seems like there also is a wpa_passphrase var at line 997 and a country code at line 99. Modifying voxl-wifi in line 54 to:

    function create_softap_conf_file () {
    	echo "editing ${hostapd_conf_file} for softap mode, ssid is: ${ssid}"
    	sed -i "/^ssid=/c\ssid=${ssid}" ${hostapd_conf_file}
    	sed -i "/^wpa_passphrase=/c\wpa_passphrase=${DEFAULT_PASS}" ${hostapd_conf_file}
    	sed -i "/^country_code=/c\country_code=${DEFAULT_COUNTRY_CODE}" ${hostapd_conf_file}
    	echo "creating new $conf_file for softap mode, ssid is: ${ssid}"
    	cat > ${conf_file} << EOF1
    country=${country_code}
    

    seems to work. Maybe you could include that in future releases, or let me know if i did something nasty.

    1 Reply Last reply
    0
    • Philemon BennerP Offline
      Philemon BennerP Offline
      Philemon Benner
      Regular
      wrote on last edited by
      #2

      Also a list of country codes conforming the (ISO/IEC 3166-1) of the hostapd.conf:
      Could be put into the print_usage:

      echo "List of available Country Codes: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes"
      
      1 Reply Last reply
      0
      • tomT Offline
        tomT Offline
        tom
        admin
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • tomT Offline
          tomT Offline
          tom
          admin
          wrote on last edited by
          #4

          @Philemon-Benner This is where the voxl-wifi source code lives for VOXL1: https://gitlab.com/voxl-public/voxl-sdk/utilities/apq8096-system-tweaks/-/blob/dev/scripts/voxl-wifi

          Since you've already put in effort toward the resolution you could attempt to fork this repo, make your suggested tweaks and create a merge request so that the team could take a look!

          Otherwise it may take a little bit longer for the team to take a chance to look into the bug

          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

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