You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
I just bought a Yi 1080p Home camera, it had a higher 2017 firmware, so I downgraded it to 2.0.0.1A_201612051401.
I load the SD card with the changes, but it stops at the setting of NTP. I can ping the IP, but it never gets to setting up anything after NTP.
Here's the log, it says it is setting NTP, but then that's it. I tried modifying the factory_test file, taking out the NTP section, but then it doesn't do anything. No IP set, and nothing seems to work.
Anyone have any ideas?
Starting to log...
[INIT] Your firmware version is:
2.0.0.1A_201612051401
[INIT] Killing original init.sh script.
[good] busybox 1.16.1 is in the system.
[good] rtsp2301 is in the system.
[good] rtsp2301_watch.sh is in the system.
Check for wifi configuration file...
/tmp/wpa_supplicant.conf /tmp/sd/test/wpa_supplicant.conf
Start wifi configuration...
Status for wifi configuration=0 (0 is ok)
Do network configuration 1/2 (IP and Gateway)
Done
Do network configuration 2/2 (DNS)
Done
Configuration is:
wlan0 Link encap:Ethernet HWaddr EC:3D:FD:81:3A:53
inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16680 (16.2 KiB) TX bytes:2632 (2.5 KiB)
Get time from a NTP server...
The text was updated successfully, but these errors were encountered:
ArtVandaley
changed the title
Hack stopping at NTP setup, and not moving on.
YI 1080p Home - Hack stopping at NTP setup, and not moving on.
Aug 13, 2018
I had this problem too. The first issue I had is that windows messes up the files when you try to edit them. (You had the same problem.) So you have to edit them on a mac or on a linux box.
Then, what I did was this. I first had to enable editing on the factory_test.sh file. In the command prompt I navitaged to the folder it was in, then typed
chmod 777 factory_test.sh
Then I edited the ntp setup section to look like this. (I personally used VI)
log "Get time from a NTP server..."
NTP_SERVER=$(get_config NTP_SERVER)
until ping -c1 216.239.35.0 &>/dev/null; do :; done
log "Previous datetime is $(date)"
/home/app/localbin/busybox ntpd -q -p 216.239.35.0
log "Done"
log "New datetime is $(date)"
216.239.35.0 is google's ntp server.
If you are a total noob with linux of mac, and you're in the folder with the factory_test.sh file in the command prompt/terminal, just type
vi factory_test.sh
Then use the arrow keys to get to the ntp section
Then hit the "i" key. Literally hit "i" on your keyboard. (it stands for "insert")
Then make the changes.
Then hit escape.
Then type ":" (without the quotes)
Then type "wq" (without the quotes). The wq should appear at the bottom of the screen. (Stands for write quit)
Then hit return.
That should bring you back to the command prompt.
Then I changed the permissions back to what they were using this command.
chmod 755 factory_test.sh
This fixed the issue for me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just bought a Yi 1080p Home camera, it had a higher 2017 firmware, so I downgraded it to 2.0.0.1A_201612051401.
I load the SD card with the changes, but it stops at the setting of NTP. I can ping the IP, but it never gets to setting up anything after NTP.
Here's the log, it says it is setting NTP, but then that's it. I tried modifying the factory_test file, taking out the NTP section, but then it doesn't do anything. No IP set, and nothing seems to work.
Anyone have any ideas?
Starting to log...
[INIT] Your firmware version is:
2.0.0.1A_201612051401
[INIT] Killing original init.sh script.
[good] busybox 1.16.1 is in the system.
[good] rtsp2301 is in the system.
[good] rtsp2301_watch.sh is in the system.
Check for wifi configuration file...
/tmp/wpa_supplicant.conf /tmp/sd/test/wpa_supplicant.conf
Start wifi configuration...
Status for wifi configuration=0 (0 is ok)
Do network configuration 1/2 (IP and Gateway)
Done
Do network configuration 2/2 (DNS)
Done
Configuration is:
wlan0 Link encap:Ethernet HWaddr EC:3D:FD:81:3A:53
inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16680 (16.2 KiB) TX bytes:2632 (2.5 KiB)
Get time from a NTP server...
The text was updated successfully, but these errors were encountered: