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
Here's a quick & dirty debug_cmd.sh that I've put together to update my DuckDNS (DDNS) entry:
#!/bin/sh
# Enable telnet (wait until after p2pcam kills it and then start it again).
(sleep 60 && /usr/sbin/telnetd)&
# Always disable the voices.
if [ -f "/home/VOICEON" ]; then rm /home/VOICEON; fi
if [ ! -f "/home/VOICEOFF" ]; then touch /home/VOICEOFF; fi
# Setup curl.
export LD_LIBRARY_PATH=/mnt/mmc01/0/curl/:$LD_LIBRARY_PATH
# Enable DDNS to update DuckDNS hourly.
while true; do echo url="https://www.duckdns.org/update?domains=<domain>&token=<token>&ip=" | ./curl/curl -k -o ./duckdns.log -K - ; sleep 3600 ; done &
The curl binary and dependencies I got from this repository.
I've also changed the RTSP password by modifying the parameter passwd = <password> in the file /bak/hwcfg.ini (in this firmware version 5.5.4.0728, the files are automatically copied from /bak/* to /home/* after every reboot).
The only thing that remains for me to do is changing the root password (currently, cxlinux) for the telnet connection. Since / is mounted as a read-only squashfs, I can't write to /etc/passwd. 😕
The text was updated successfully, but these errors were encountered:
Here's a quick & dirty
debug_cmd.sh
that I've put together to update my DuckDNS (DDNS) entry:The
curl
binary and dependencies I got from this repository.I've also changed the RTSP password by modifying the parameter
passwd = <password>
in the file/bak/hwcfg.ini
(in this firmware version 5.5.4.0728, the files are automatically copied from/bak/*
to/home/*
after every reboot).The only thing that remains for me to do is changing the root password (currently,
cxlinux
) for the telnet connection. Since/
is mounted as a read-only squashfs, I can't write to/etc/passwd
. 😕The text was updated successfully, but these errors were encountered: