🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UnitV2 Linux Firmware?

    Scheduled Pinned Locked Moved FAQS
    5 Posts 2 Posters 9.7k Views
    Loading More Posts
    • 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.
    • AsmodevA Offline
      Asmodev
      last edited by

      I've modified the network stack and lost access to the device through usb/wifi, what can i use to reflash the device?

      1 Reply Last reply Reply Quote 0
      • AsmodevA Offline
        Asmodev
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • AsmodevA Offline
          Asmodev
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • AsmodevA Offline
            Asmodev
            last edited by Asmodev

            Nvm, i fixed it by altering the firmware file deploy.py using 7zip and notepad++ and adding this text to the deploy file just above "dnsmasq_file = "

            Please note the backslash at the end of dhcpcd_file=here is missing (forum problem_

            FIX BEGINS HERE - COPY BELLOW THIS LINE

            dhcpcd_file =
            '''
            nohook lookup-hostname

            interface eth0
            static ip_address=10.254.239.1/24
            static routers=10.254.239.1
            '''
            open('/etc/dhcpcd.conf', 'w+').write(dhcpcd_file)

            FIX ENDS HERE

            It restored the network on the UnitV2

            1 Reply Last reply Reply Quote 0
            • A Offline
              AMINEKH
              last edited by

              I am in the same situation, I ask for more details thank you in advance

              1 Reply Last reply Reply Quote 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
              • First post
                Last post