From c06585dccc75a8746674859bf51e8fa70e43bfbe Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 22 Aug 2017 14:13:49 +0300 Subject: Update README --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e13d179..af02932 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,42 @@ Here's an alternative way of using this thing. ## Usage +### Root Access + 1. Setup an isolated wireless network called `Free-AP0` with no authentication 2. Device wil connect to it on boot 3. Hook up to serial UART pins -4. Despite lots of shit being dumped to console, run `/bin/busybox telnetd` +4. Enjoy root access with lots of crap dumped on screen, not good enough... +4. Run `/bin/busybox telnetd` 5. Run `ip a` to get the IP address for the device 6. From a separate device on the network run `telnet $IP_ADDR` 7. Login with `root`, no password is needed +8. Enjoy **real** root access + +### Persistent Root + +*Work in progress*. + +Since all the configs are loaded from ramdisk, we can't just change them, they are lost on the next reboot. + +### Wireless Network Configuration + +*Work in progress* + +### Stream Access + +If your network configuration is good to go, you can launch your favorite media player and watch your video + audio stream: + +``` +$ vlc rtsp://admin:20160404@192.168.1.99/onvif1 +``` ## Logs - [First uninterrupted boot log](unbox.log) - [U-boot information](uboot.log) +## References + - http://adamwesterberg.se/blog/cheap-chinese-camera-teardown + - https://github.com/kfowlks/DG-M1Q -- cgit v1.3.1