fritz-smh / yi-hack

Xiaomi Yi Ants camera hack
1.41k stars 339 forks source link

cam create two ip in same time ... ??? #220

Open niighthawk opened 5 years ago

niighthawk commented 5 years ago

my cam is making two working ip where i can log on and interrac ... how is it possible ?

the one i set in the files ( 192.168.1.15 ) the second one creating from nowhere ( 192.168.1.128 ) capture

here the log

Starting

to log... Hardware version informations : hwplatform=2 Software version informations : [sys] version=1.8.5.1M_201512011815 [kernel] version=3-0.8 provider=18e devtype=18e Firmware letter is : 'M' The RTSP server binary version which will be used is the 'M' The HTTP server binary version which will be used is the 'M' Check for some files size... -rwxr-xr-x 1 root root 144885 Oct 4 2016 /home/hd1/test/http/serverJ -rwxr-xr-x 1 root root 144912 Oct 4 2016 /home/hd1/test/http/serverM -rwxr-xr-x 1 root root 121932 Oct 4 2016 /home/hd1/test/rtspsvrI -rwxr-xr-x 1 root root 39572 Oct 4 2016 /home/hd1/test/rtspsvrK -rwxr-xr-x 1 root root 39580 Oct 4 2016 /home/hd1/test/rtspsvrM The blue led is currently blinking Debug mode = no Check for wifi configuration file...* /home/wpa_supplicant.conf Start wifi configuration... Status for wifi configuration=0 (0 is ok) Wifi configuration answer: Do network configuration 1/2 (ip and gateway) Done Configuration is : lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ra0       Link encap:Ethernet  HWaddr 20:F4:1B:F5:2E:85  
          inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::22f4:1bff:fef5:2e85/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:401 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:83897 (81.9 KiB)  TX bytes:300 (300.0 B)

Do network configuration 2/2 (DNS) Done Get time from a NTP server... But first, test the NTP server '216.239.35.0 ': PING 216.239.35.0 (216.239.35.0): 56 data bytes

--- 216.239.35.0 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss Previous datetime is Sun Jan 6 13:30:48 UTC 2019 Done New datetime is Sun Jan 6 13:30:49 UTC 2019 Start blue led on Start ftp server... Check for ftp process : 1302 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w / Start http server : serverM... Check for http server process : 1329 root 1408 S ./serverM 80 Start rtsp server : rtspsvrM... Check for rtsp process : 1433 root 2660 S < ./rtspsvrM Processes after startup : PID USER VSZ STAT COMMAND 1 root 1708 S init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW [kworker/u:0] 6 root 0 SW [rcu_kthread] 7 root 0 SW< [khelper] 8 root 0 SW [kworker/u:1] 143 root 0 SW [sync_supers] 145 root 0 SW [bdi-default] 146 root 0 SW< [kintegrityd] 148 root 0 SW< [kblockd] 161 root 0 SW [khubd] 174 root 0 SW< [cfg80211] 175 root 0 SW [kworker/0:1] 257 root 0 SW< [rpciod] 260 root 0 SW [kswapd0] 314 root 0 SW [fsnotify_mark] 322 root 0 SW< [nfsiod] 331 root 0 SW< [crypto] 405 root 0 SW [mtdblock0] 410 root 0 SW [mtdblock1] 415 root 0 SW [mtdblock2] 420 root 0 SW [mtdblock3] 425 root 0 SW [mtdblock4] 430 root 0 SW [mtdblock5] 435 root 0 SW [mtdblock6] 438 root 0 SW [romblock0] 441 root 0 SW [romblock1] 444 root 0 SW [romblock2] 447 root 0 SW [romblock3] 450 root 0 SW [romblock4] 453 root 0 SW [romblock5] 456 root 0 SW [romblock6] 591 root 0 SW< [kpsmoused] 600 root 0 SW [kworker/u:2] 616 root 0 SW [mmcqd/0] 620 root 0 SWN [jffs2_gcd_mtd4] 624 root 1712 S /bin/sh /etc/init.d/rcS 636 root 872 S < udevd --daemon 642 root 1704 S /bin/sh /etc/init.d/S80network 656 root 0 SWN [jffs2_gcd_mtd5] 657 root 1708 S /bin/sh ./init.sh 664 root 0 SW [flush-mtd-unmap] 675 root 1724 S /bin/sh /home/hd1/test/equip_test.sh 677 root 0 SW [flush-179:0] 680 root 1704 S telnetd 686 root 984 S /home/log_server 816 root 0 RW [RtmpTimerTask] 817 root 0 SW [RtmpMlmeTask] 818 root 0 SW [RtmpCmdQTask] 819 root 0 SW [RtmpWscTask] 949 root 0 SW [hidog] 987 root 1164 S ./peripheral 988 root 1144 S < ./dispatch 989 root 1060 S ./exnet 1125 root 3128 S /home/wpa_supplicant -B -i ra0 -c /home/wpa_supplica 1257 root 1704 S ntpd -q -p 216.239.35.0 1302 root 1716 S tcpsvd -vE 0.0.0.0 21 ftpd -w / 1329 root 1408 S ./serverM 80 1347 root 3392 S ./record_event 1348 root 23068 S ./mp4record 60 1377 root 1716 S /usr/sbin/crond -b 1392 root 904 S /home/led_ctl -boff -bon 1428 root 94416 S ./rmm 1433 root 27252 S N ./rtspsvrM 1544 root 1708 R ps Storage status : Filesystem Size Used Available Use% Mounted on /dev/root 3.5M 2.7M 856.0K 76% / tmpfs 17.2M 16.0K 17.2M 0% /dev /dev/mtdblock5 8.9M 8.0M 920.0K 90% /home tmpfs 32.0M 44.0K 32.0M 0% /tmp /dev/hd1 29.9G 11.3M 29.9G 0% /tmp/hd1 tmpfs 512.0K 16.0K 496.0K 3% /home/mmap_tmpfs tmpfs 16.0M 4.0K 16.0M 0% /home/tmpfs tmpfs 16.0M 3.0M 13.0M 19% /home/jrview /dev/hd1 29.9G 11.3M 29.9G 0% /tmp/hd1/test/http/record

oleg-sh commented 5 years ago

See this pull request If you want to remove the second IP you need to add these lines into your equip_test.sh

niighthawk commented 5 years ago

@oleg-sh

ok its working .. but I have a Yellow light trouble now...Blinking none stop ..

See this pull request If you want to remove the second IP you need to add these lines into your equip_test.sh