Closed AlfaBravoX closed 6 years ago
According to your logs everything is working...
XIAOMI_VERSION=3.4.2_0159
If you see that logs, then it means the tools are been loaded.
Besides noone has reported an issue with 159 in the last two months.
Review your installation or try again from 99
I did a couple of times revert to 99 already, but as soon as I upgrade firmware to 159 all stops. There are already plenty of messages in the chat about not working tools with 159FW
disables these two HTTP_ENABLED=1 SAMBA_ENABLED=1
and try again....
OK I did: HTTP_ENABLED=0 SAMBA_ENABLED=0
same result. also it looks 159 kills ssh server. i cannot connect to ssh anymore after upgrade.
so ping works:
ping 192.168.4.41
PING 192.168.4.41 (192.168.4.41): 56 data bytes
64 bytes from 192.168.4.41: icmp_seq=0 ttl=64 time=18.620 ms
64 bytes from 192.168.4.41: icmp_seq=1 ttl=64 time=13.274 ms
SSH:
ssh root@192.168.4.41 ssh: connect to host 192.168.4.41 port 22: Connection refused
I am sure, if I restore 99 and just insert SD, rtsp and ssh will work again
if you need any tcpdumps, wireshark dumps, etc. let me know
Changing password for root New password: Bad password: too weak Retype password: Password for root changed by root
try to reset the password to the original one in the release or choose a complex one...
ok, so original passwd change made this work again. i had quite difficult numeric long passwd, so i was assuming this does not mind. it also works after the upgrade. thanks for help..
it shouldn´t matter, but I guess the SSH server I used does´t support some lengths and characters...
Hi,
it looks with FW 159 the stream is not working with SD card inserted with 0.8.7 version. Even local streaming says camera not detected. When removing SD all works again.
tail miio_client.log -n100
[19700101 01:00:24] [INFO] OT agent listen fd: 5 [19700101 01:00:24] [INFO] BT conn listen fd: 6 [19700101 01:00:24] [INFO] Timer fd: 7, interval: 5000 ms [19700101 01:00:24] [INFO] Sync timer fd: 8, interval: 0 ms [19700101 01:00:24] [INFO] ACK timer fd: 9, timeout: 0 ms
[19700101 01:00:24] [INFO] OT agent listen accept sockfd: 10 [19700101 01:00:24] [INFO] STATE: (0) [19700101 01:00:24] [WARNING] OT agent internalfd closed: 10 [19700101 01:00:24] [INFO] OT agent listen accept sockfd: 10 [19700101 01:00:25] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:25] [INFO] STATE: (0) -> STATE_DIDKEY_DONE [19700101 01:00:25] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:25] [INFO] STATE: (3) [19700101 01:00:25] [WARNING] OT agent internalfd closed: 11 [19700101 01:00:26] [INFO] recv local cmd [19700101 01:00:26] [INFO] local.query_status [19700101 01:00:28] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:28] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:28] [INFO] STATE: (3) -> STATE_TOKEN_DONE [19700101 01:00:28] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:28] [INFO] STATE: (4) [19700101 01:00:28] [WARNING] OT agent internalfd closed: 11 [19700101 01:00:28] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:28] [INFO] STATE: (4) -> STATE_WIFI_STA_MODE [19700101 01:00:28] [INFO] getaddrinfo (ot.io.mi.com:8053): Name or service not known [19700101 01:00:29] [INFO] getaddrinfo (ott.io.mi.com:80): Name or service not known [19700101 01:00:29] [WARNING] no server detected. [19700101 01:00:29] [WARNING] internet connection failed [19700101 01:00:29] [WARNING] POLLNVAL | POLLHUP | POLLERR fd: pollfds[7]: 11, revents: 0x00000019 [19700101 01:00:29] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:29] [INFO] STATE: (6) [19700101 01:00:29] [INFO] getaddrinfo (ot.io.mi.com:8053): Name or service not known [19700101 01:00:29] [INFO] getaddrinfo (ott.io.mi.com:80): Name or service not known [19700101 01:00:29] [WARNING] no server detected. [19700101 01:00:29] [WARNING] internet connection failed [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.114, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.246, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.247, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.248, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.249, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 124.251.57.10, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 124.251.57.11, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 124.251.57.12, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.225, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.2, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.241, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.242, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.115, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.244, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.223, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.224, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.112, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.111, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 120.92.96.245, port: 8053 [19700101 01:00:34] [INFO] Add UDP server into list, host ip: 42.62.48.113, port: 8053 [19700101 01:00:34] [INFO] Add TCP server into list, host ip: 42.62.94.185, port: 80 [19700101 01:00:35] [INFO] Add TCP server into list, host ip: 58.83.160.36, port: 80 [19700101 01:00:35] [INFO] Add TCP server into list, host ip: 58.83.160.14, port: 80 [19700101 01:00:35] [INFO] Add TCP server into list, host ip: 120.92.96.88, port: 80 [19700101 01:00:36] [INFO] Add TCP server into list, host ip: 120.92.96.87, port: 80 [19700101 01:00:36] [INFO] Add TCP server into list, host ip: 124.243.204.138, port: 80 [19700101 01:00:36] [INFO] Connect to server ip: 42.62.48.2, port: 8053 [19700101 01:00:36] [INFO] OT cloud sockfd: 12 [19700101 01:00:36] [INFO] STATE: (6) -> STATE_CLOUD_TRYING [19700101 01:00:36] [INFO] report_synctime [19700101 01:00:36] [INFO] internet connection succeed [19700101 01:00:36] [INFO] BT conn listen accept sockfd: 13 [19700101 01:00:36] [INFO] sync time with server, server: 1526369092, local(mono): 36, diff: 1526369056 [19700101 01:00:36] [WARNING] OT agent internalfd closed: 11 [19700101 01:00:38] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:38] [INFO] cmd_internal_get_info_callback [19700101 01:00:38] [INFO] fw_ver=3.4.2_0159 [19700101 01:00:38] [INFO] report_otcinfo_flag: 0 [19700101 01:00:38] [INFO] Current server type 0, ip: 42.62.48.2, port: 8053 [19700101 01:00:38] [INFO] OT agent listen accept sockfd: 11 [19700101 01:00:38] [INFO] STATE: (7) [19700101 01:00:38] [INFO] S, id:59279131, len:412 [19700101 01:00:38] [INFO] _otc.info reported (flag: 59279131) and got response. [19700101 01:00:38] [INFO] STATE: (7) -> STATE_CLOUD_CONNECTED [19700101 01:00:38] [INFO] report_ota_state_idle [19700101 01:00:39] [INFO] S, id:532500358, len:31 [19700101 01:00:39] [INFO] report_ota_state_idle_callback: {"id":532500358,"result":"ok"} [19700101 01:00:48] [INFO] recv local cmd [19700101 01:00:48] [INFO] local.query_time [20180515 09:28:26] [INFO] OT protocol diagrams come... [20180515 09:28:26] [INFO] Fill my DID [20180515 09:28:26] [INFO] Fill my TIMESTAMP [20180515 09:29:14] [WARNING] We're offline now, can't report msg, id: 0 [20180515 09:29:34] [INFO] Retry (1/-1), host ip: 120.92.96.248, port: 8053 [20180515 09:29:34] [INFO] OT client fd: 12 [20180515 09:29:34] [INFO] report_synctime [20180515 09:29:39] [INFO] report_synctime [20180515 09:29:44] [INFO] report_synctime [20180515 09:29:49] [INFO] report_synctime
+++
cat log-197001010100.log Running Customm Script v1.8
Configuration: CLOUD_DISABLED=0 CLOUD_STREAMING_DISABLED=0 RTSP_ENABLED=1 CONFIG_LINE=-b4098 -f20 -w1920 -h1080 -m1 SSH_ROOT_PASS=pass DISABLED_OTA=0 HTTP_ENABLED=1 SAMBA_ENABLED=1 os-version NAME=Buildroot VERSION=2016.02-git-00808-g0de1356-dirty ID=buildroot VERSION_ID=2016.02-git PRETTY_NAME="Buildroot 2016.02-git" XIAOMI_VERSION=3.4.2_0159 XIAOMI_BUILDNO=458
Forcing Mode 4 Staring SSH Server Getting root access Changing password for root New password: Bad password: too weak Retype password: Password for root changed by root
...Starting dropbear... [198] Jan 01 01:00:08 Running in background
...Changing Language to English... ...Adding Protection to Change of Keys... ...Enabling RTSP... Web Server (8080) Samba setup... Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Script Ends. Ok