[Ovmsdev] ota questions

Michael Balzer dexter at expeedo.de
Sat Mar 17 19:40:46 HKT 2018


New issue, possibly also routing related: powering down the modem to force using Wifi used to work before, I now get:

I (724597) gsm-ppp: status_cb: Connected
I (724597) gsm-ppp:    our_ipaddr  = 10.170.195.13
I (724597) gsm-ppp:    his_ipaddr  = 10.64.64.64
I (724597) gsm-ppp:    netmask     = 255.255.255.255
I (724597) gsm-ppp:    our6_ipaddr = ::
I (724597) netmanager: Set DNS#0 8.8.8.8
I (724597) netmanager: Set DNS#1 8.8.4.4
I (724597) time: Starting SNTP client
*
OVMS > network status *
Interface#2: pp
  IPv4: 10.170.195.13/255.255.255.255 gateway 10.64.64.64

Interface#1: st
  IPv4: 192.168.2.105/255.255.255.0 gateway 192.168.2.1

Interface#0: lo
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 8.8.8.8 8.8.4.4
*
OVMS > ota flash http ovms.dexters-web.de/g/spacer.gif*
Current running partition is: factory
Target partition is: ota_0
Download firmware from ovms.dexters-web.de/g/spacer.gif to ota_0
Expected file size is 67
Preparing flash partition...
Error: ESP32 error #5379 when writing to flash - state is inconsistent
E (763827) esp_ota_ops: OTA image has invalid magic byte (expected 0xE9, saw 0x47
*
OVMS > power simcom off*
Power mode of simcom is now off
I (782817) simcom: State: Enter PoweringOff state
I (782817) gsm-ppp: Shutting down (soft)...
I (782817) time: Restarting SNTP client
I (782827) gsm-nmea: Shutdown (direct)
I (782837) simcom: Power Cycle
*
OVMS > network status *
Interface#2: pp
  IPv4: 0.0.0.0/255.255.255.255 gateway 0.0.0.0

Interface#1: st
  IPv4: 192.168.2.105/255.255.255.0 gateway 192.168.2.1

Interface#0: lo
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 8.8.8.8 8.8.4.4
I (793147) simcom: State timeout, transition to 1
I (793147) simcom: State: Enter CheckPowerOff state
I (794657) gsm-ppp: StatusCallBack: User Interrupt
I (794657) gsm-ppp: PPP connection has been closed

*OVMS > network status *
Interface#2: pp
  IPv4: 0.0.0.0/255.255.255.255 gateway 0.0.0.0

Interface#1: st
  IPv4: 192.168.2.105/255.255.255.0 gateway 192.168.2.1

Interface#0: lo
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 8.8.8.8 8.8.4.4

*OVMS > ota flash http ovms.dexters-web.de/g/spacer.gif*
Current running partition is: factory
Target partition is: ota_0
Download firmware from ovms.dexters-web.de/g/spacer.gif to ota_0
Error: Request failed
*W (807247) net: Error: Failed to connect server ovms.dexters-web.de (error: 118)*


Error 118 = Host is unreachable.

Same with modem setstate. The problem occurs after the first ppp init.

Regards,
Michael

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180317/eb3ced34/attachment.htm>


More information about the OvmsDev mailing list