Announcement

Collapse
No announcement yet.

Factory Reset xPico Shield

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Factory Reset xPico Shield

    So, I goofed and copied my index.html to the flash storage and now I can't use the web manager.

    How do I factory reset the xPico shield or clear the flash file system so I can get back to the web manager?

    I tried to get into the cli, but I wasn't able to get the "Backdoor" access on the xPico shield.

    _Edit_

    I did try to use the technique suggested here http://forums.lantronix.com/attachme...1&d=1406829619
    but I get:

    <!DOCTYPE html>
    <html
    xmlns="http://www.w3.org/1999/xhtml"xml:lang="en" lang="en">
    <head>
    <title>Error</title>
    </head>
    <body>
    <b>404 Not found</b>
    <br/>
    </body>
    </html>
    Last edited by bbbowden; 10-23-2014, 11:01 PM. Reason: Update

  • #2
    You should be able to get to the built-in index file directly:

    http://<hostname>/embedded/main/http/web_manager/index.html

    You can also delete your override index file via the CLI.

    I'm not sure why the delete via the file system web API didn't work. You do have v1.3.0.0R7 or higher, yes?
    Erick Liska
    Lantronix Inc.

    Comment


    • #3
      Tried to get to:

      http://<hostname>/embedded/main/http/web_manager/index.html

      and the page started to load, then gave me a 501 error with the menu bar populated but no details. Clicking on any link give me a 501 error.

      Yes, I have the latest rev of the beta firmware...
      Last edited by bbbowden; 10-23-2014, 11:14 PM. Reason: forgot to add....

      Comment


      • #4
        Fixed it...

        The actual URL needed was:

        http://192.168.0.1/fs/http/index.html

        I put that in Postman and poof....

        Comment


        • #5
          It will work that way (sort of), but the override mechanism is structured to match the embedded web file tree; i.e., the "proper" way to override the index file in /embedded/main/http/web_manager is with /main/http/web_manager/index.html.

          The /http directory is intended more for custom web files, as opposed to overrides for existing web files. Again, placing index.html directly in /http will work, but the fact that the HTTP server finds that before the embedded or override index file(s) is likely incidental and may not always be the case.
          Erick Liska
          Lantronix Inc.

          Comment


          • #6
            Clarifications

            So, just to be clear...

            The Web API of http://<hostname>/fs/... maps to the root of the file system presented by the Web Manager.

            In order to override the default index.html, the directory path of /main/http/web_manager/ should be created and then put index.html there.

            However, that path, according to the documentation, can and probably will change with future revisions of the firmware.

            Comment


            • #7
              >> The Web API of http://<hostname>/fs/... maps to the root of the file system presented by the Web Manager.

              >> In order to override the default index.html, the directory path of /main/http web_manager/ should be created and then put index.html there.

              Yes.

              >> However, that path, according to the documentation, can and probably will change with future revisions of the firmware.

              True, but that change has actually already happened. Not to say that it absolutely will never change again, but technically so could the root /http mapping, and moreover, the change was anticipated and has been implemented in what you're now using.
              Erick Liska
              Lantronix Inc.

              Comment

              Working...
              X