Giter VIP home page Giter VIP logo

Comments (4)

raburton avatar raburton commented on August 27, 2024

Is your router connecting the two subnets correctly? Can you reach the webserver OK on that port from the other subnet and download the file? Are the files on the root of the webserver? Add some debug to see where it's failing.

from esp8266.

fvpalha avatar fvpalha commented on August 27, 2024

Hi Richard.

I edited the rboot-ota.h:

// ota server details
#define OTA_IP { 192, 168, 1, 107 }
#define OTA_PORT 8080
#define OTA_ROM0 "rom0.bin"
#define OTA_ROM1 "rom1.bin"

I changed the server subnet to 192.168.1.*:

Microsoft Windows [versão 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.

C:\Users\palha>ipconfig

Configuração de IP do Windows

Adaptador de Rede sem Fio Conexão de Rede sem Fio:

   Sufixo DNS específico de conexão. . . . . . :
   Endereço IPv6 de link local . . . . . . . . : fe80::9017:61e0:dd4b:6967%14
   Endereço IPv4. . . . . . . .  . . . . . . . : 192.168.1.107
   Máscara de Sub-rede . . . . . . . . . . . . : 255.255.255.0
   Gateway Padrão. . . . . . . . . . . . . . . : 192.168.1.1
C:\Users\palha>
C:\Users\palha>ping 192.168.1.108

Disparando 192.168.1.108 com 32 bytes de dados:
Resposta de 192.168.1.108: bytes=32 tempo=57ms TTL=255
Resposta de 192.168.1.108: bytes=32 tempo=80ms TTL=255
Resposta de 192.168.1.108: bytes=32 tempo=101ms TTL=255
Resposta de 192.168.1.108: bytes=32 tempo=21ms TTL=255

Estatísticas do Ping para 192.168.1.108:
    Pacotes: Enviados = 4, Recebidos = 4, Perdidos = 0 (0% de
             perda),
Aproximar um número redondo de vezes em milissegundos:
    Mínimo = 21ms, Máximo = 101ms, Média = 64ms

C:\Users\palha>

I opened the terminal, and:

connect
wifi connecting...
network retry, status: 1
ip: 192.168.1.108
ask: 255.255.255.0, gw: 192.168.1.1
ipk: 255.255.255.0, gw: ip
ip: 192.168.1.108, mask: 255.255.255.0, gw: 192.168.1.1
ota
Firmware update failed!
ware update faota
Updating...
Firmware update failed!

Now I will add debug points.

from esp8266.

fvpalha avatar fvpalha commented on August 27, 2024

Hi Richard.

I changed the operation mode of Apache to online, now it's working.

Congratulations by the project.

from esp8266.

raburton avatar raburton commented on August 27, 2024

I changed the operation mode of Apache to online, now it's working.

That will help!

from esp8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.