[Ovmsdev] Test results of latest changes

Julien “JaXX” Banchet jaxx at jaxx.org
Wed Mar 21 02:39:04 HKT 2018


On 20 Mar 2018 at 19:19 +0100, Julien “JaXX” Banchet <jaxx at jaxx.org>, wrote:
>
> On 20 Mar 2018 at 18:31 +0100, Michael Balzer <dexter at expeedo.de>, wrote:
> > Commit a9bfcc761e8853a5ad1e7cee4b966d012fc33895
> >
> > …every (!) mode is working now! :-)
>
> Gonna give that a shot :-) I love apclient mode, too bad it needs an SSID set (I thought there where limitations, like channel selection for instance which could have been logic, but I don’t really see any reason in fact)

Set apclient, so wifi comes online pretty fast …
But getting crash looped very fast (I usually have time to "config set” stuff)

https://pastebin.com/ricmTJf7

I did manage to enable and server v3 stop (as it seems to either get disconnected from mqtt then crash after a handful of seconds, or crash during mqtt publishing) and now it sits still.

GSM looks dead on the other hand and wifi has hiccups (‘wifi' knows it’s IP, ‘network' doesn’t) :-)

OVMS# network
Interface#2: ap2 (ifup=1 linkup=1)
  IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1

Interface#1: st1 (ifup=1 linkup=1)
  IPv4: 10.33.92.20/255.255.255.0 gateway 10.33.92.1

Interface#0: lo0 (ifup=1 linkup=1)
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 10.33.33.251 10.33.33.252

Default Interface: st1 (10.33.92.20/255.255.255.0 gateway 10.33.92.1)
I (171010) simcom: State timeout, transition to 2
I (171010) simcom: State: Enter PoweringOn state
I (171010) simcom: Power Cycle
I (174670) simcom: State: Enter PoweredOn state
I (194010) simcom: State: Enter MuxStart state
I (194010) gsm-mux: Start MUX
I (194020) gsm-mux: Channel #0 is open
I (194030) gsm-mux: Channel #1 is open
I (194030) gsm-mux: Channel #2 is open
I (194040) gsm-mux: Channel #3 is open
I (194040) gsm-mux: Channel #4 is open
I (195010) simcom: State: Enter NetWait state
I (195010) gsm-nmea: Startup
I (199990) wifi: bcn_timout,ap_probe_send_start
I (202490) wifi: ap_probe_send over, resett wifi status to disassoc
I (202490) wifi: state: run -> init (1)
I (202500) wifi: n:9 0, o:9 0, ap:9 2, sta:9 0, prof:9
I (202500) netmanager: WIFI client down (with MODEM down): network connectivity has been lost
I (202500) time: Stopping SNTP client
I (203010) ovms-server-v2: Status: Server is ready to start
I (205030) simcom: CREG Network Registration: RegisteredHome
I (206010) simcom: State: Enter NetStart state
I (207050) simcom: PPP Connection is ready to start
I (208010) simcom: State: Enter NetMode state
I (208010) gsm-ppp: Initialising...
E (208010) gsm-ppp: Error init pppos  <<< bummer
OVMS# simcom
SIMCOM
  Network Registration: RegisteredHome
  State: NetMode
  Ticker: 92
  User Data: 0

  Mux
    Status: up
    Open Channels: 4
    Framing Errors: 0
    Last RX frame: 1 sec(s) ago
    RX frames: 219
    TX frames: 11

  PPP
    Not Connected
    Last Error: Undefined

  GPS
    Status: enabled, required
    Time: enabled, required
    NMEA: GPS/GLONASS Connected on channel: #1
OVMS# network
Interface#2: ap2 (ifup=1 linkup=1)
  IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1

Interface#1: st1 (ifup=0 linkup=1)
  IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0 <<<<<< bye bye

Interface#0: lo0 (ifup=1 linkup=1)
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 10.33.33.251 10.33.33.252

Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
I (317690) event: station ip lost
OVMS# wifi
WiFi
  Power: on
  Mode: Access-Point + Client mode

  STA SSID: JaXX
    MAC: 30:ae:a4:37:25:54
    IP: 10.33.92.20/255.255.255.0  <<<<<<< here
    GW: 10.33.92.1

  AP SSID: TwaXX
    MAC: 30:ae:a4:37:25:55
    IP: 192.168.4.1
    AP Stations: 0
OVMS# network
Interface#2: ap2 (ifup=1 linkup=1)
  IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1

Interface#1: st1 (ifup=0 linkup=1)
  IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0  <<<<<< not here

Interface#0: lo0 (ifup=1 linkup=1)
  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1

DNS: 10.33.33.251 10.33.33.252

Default Interface: ap2 (192.168.4.1/255.255.255.0 gateway 192.168.4.1)
OVMS#

Regards,
JaXX./.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180320/d302cb73/attachment.htm>


More information about the OvmsDev mailing list