ipv4 lost at power cycle #18

Closed
opened 2020-12-07 03:10:12 +08:00 by jbqubit · 2 comments
Contributor

I expect that ipv4 address persists across power cycles.

Connection to 192.168.1.26 23 port [tcp/telnet] succeeded!
ipv4 192.168.1.50
report
^C

$ nc -vv 192.168.1.50 23
Connection to 192.168.1.50 23 port [tcp/telnet] succeeded!
save
report
{"channel":0,"time":378852,"adc":8.630551695058308e-1,"sens":1.1186505569178782e4,"temperature":2.212636338595172e1,"pid_engaged":false,"i_set":9.987421383647721e-3,"vref":1.499e0,"dac_value":1.4989937106918239e0,"dac_feedback":1.502e0,"i_tec":1.5090000000000001e0,"tec_i":2.5000000000000022e-2,"tec_u_meas":1.493e0,"pid_output":-1.9900000095367432e0}
{"channel":1,"time":378912,"adc":null,"sens":null,"temperature":null,"pid_engaged":false,"i_set":1.1988372570583827e-2,"vref":1.502e0,"dac_value":1.501994186285292e0,"dac_feedback":1.5070000000000001e0,"i_tec":1.5070000000000001e0,"tec_i":1.2500000000000289e-2,"tec_u_meas":1.499e0,"pid_output":null}
^C

$ # cycle power

$ nc -vv 192.168.1.50 23
nc: connect to 192.168.1.50 port 23 (tcp) failed: No route to host
I expect that ipv4 address persists across power cycles. ```$ nc -vv 192.168.1.26 23 Connection to 192.168.1.26 23 port [tcp/telnet] succeeded! ipv4 192.168.1.50 report ^C $ nc -vv 192.168.1.50 23 Connection to 192.168.1.50 23 port [tcp/telnet] succeeded! save report {"channel":0,"time":378852,"adc":8.630551695058308e-1,"sens":1.1186505569178782e4,"temperature":2.212636338595172e1,"pid_engaged":false,"i_set":9.987421383647721e-3,"vref":1.499e0,"dac_value":1.4989937106918239e0,"dac_feedback":1.502e0,"i_tec":1.5090000000000001e0,"tec_i":2.5000000000000022e-2,"tec_u_meas":1.493e0,"pid_output":-1.9900000095367432e0} {"channel":1,"time":378912,"adc":null,"sens":null,"temperature":null,"pid_engaged":false,"i_set":1.1988372570583827e-2,"vref":1.502e0,"dac_value":1.501994186285292e0,"dac_feedback":1.5070000000000001e0,"i_tec":1.5070000000000001e0,"tec_i":1.2500000000000289e-2,"tec_u_meas":1.499e0,"pid_output":null} ^C $ # cycle power $ nc -vv 192.168.1.50 23 nc: connect to 192.168.1.50 port 23 (tcp) failed: No route to host ```

This works for me.

How does load change the address (after the save, and also after powercycling)?

This works for me. How does `load` change the address (after the `save`, and also after powercycling)?
Author
Contributor

With latest firmware this is now working for me. Not sure why it failed earlier.

With latest firmware this is now working for me. Not sure why it failed earlier.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#18
No description provided.