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

    UnitV2 Linux Firmware?

    FAQS
    2
    5
    7.9k
    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
      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
        Asmodev
        last edited by

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • AsmodevA
            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
              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
              • First post
                Last post