Commit Graph

353 Commits

Author SHA1 Message Date
Alfonso Gamboa
10a27ca01f fix night drop early boot 2022-06-20 20:25:50 -07:00
Alfonso Gamboa
e3fc6d3f39 fix no rtsp video on old rtsp firmware 2022-06-20 20:25:45 -07:00
Alfonso Gamboa
a4ec416c67 v4l2rtspserver add -F0, don't modify FPS fed by camera 2022-06-20 20:25:38 -07:00
Alfonso Gamboa
b224ebc7dd add unattended flag to upgrade script 2022-06-20 20:25:34 -07:00
Alfonso Gamboa
de3fadebc9 night drop feature 2022-06-20 20:25:31 -07:00
Alfonso Gamboa
33fef73458 remove fd after upgrade script exit 2022-06-20 20:25:28 -07:00
Alfonso Gamboa
7279817608 prep for atbm driver 2022-06-20 20:25:25 -07:00
Alfonso Gamboa
3dca5d188f add night drop feature 2022-06-20 20:25:19 -07:00
Scott Kilau
3638cc8c6a Add in all the rest of the supported USB device ids, this should capture all of what is supported, I believe 2022-06-18 11:53:38 -05:00
Scott Kilau
6ecc33efa3 Add support for auto detecting the USB Ethernet adapter, and loading its respective driver 2022-06-18 01:15:37 -05:00
Scott Kilau
5cd3875d25 Merge branch 'master' into StartAddingSupportForBonding 2022-06-17 09:24:47 -05:00
Alfonso Gamboa
e5fc16696d fix custom hostname issues 2022-06-17 01:22:19 -07:00
Alfonso Gamboa
fb2ba96f5b strip passwords from debug logs users can generate 2022-06-17 01:17:39 -07:00
Alfonso Gamboa
a5fd7dc57f clarity waitMotion motion tagging requirement 2022-06-17 00:24:24 -07:00
Alfonso Gamboa
6c3fd8a067 remove old version upgrade script, fix rare over-write upgrade-script issue 2022-06-17 00:06:01 -07:00
Alfonso Gamboa
7d43095b72 change camera model detection 2022-06-16 23:26:14 -07:00
Scott Kilau
60aa017325 Default bonding to false. 2022-06-16 15:19:32 -05:00
Scott Kilau
bd9433a894 Merge branch 'master' into StartAddingSupportForBonding 2022-06-16 15:15:09 -05:00
Scott Kilau
d94a7637d0 Ensure bonding is only used if ethernet is also used. 2022-06-16 10:50:07 -05:00
Scott Kilau
cdc6119fac If we change the primary interface name, ensure we tell the bonding driver about it. 2022-06-16 10:14:49 -05:00
Alfonso Gamboa
fdd98c170f upgrade fixes 2022-06-16 02:35:39 -07:00
Alfonso Gamboa
044eefd838 test changes to upgrade file 2022-06-16 02:07:19 -07:00
Alfonso Gamboa
466e3ee786 always load latest modules in upgrade mode for audio prompts 2022-06-16 01:45:48 -07:00
Alfonso Gamboa
4e1b1c1a60 flash kernel when upgrading v2 2022-06-16 01:37:54 -07:00
Alfonso Gamboa
fe1d56200a fix upgrade mode audio prompts 2022-06-16 01:27:50 -07:00
Alfonso Gamboa
be472d5afa fix upgrading from old layout 2022-06-16 01:15:26 -07:00
Alfonso Gamboa
50d451dec5 fix paths due to adjustments in upgrade-run 2022-06-16 01:07:19 -07:00
Alfonso Gamboa
b4f1416e18 final v2 kernel module set 2022-06-16 00:54:12 -07:00
Alfonso Gamboa
9cc17176e6 final t31 module set 2022-06-15 23:38:42 -07:00
Alfonso Gamboa
143122c793 update kernel to match modules 2022-06-15 23:37:27 -07:00
Alfonso Gamboa
23c3b926da fix module loading 2022-06-15 23:37:04 -07:00
Alfonso Gamboa
be160e323e add mmc vendor info 2022-06-15 23:32:20 -07:00
Alfonso Gamboa
b17e2ccd24 add new ENABLE_RTL8189FS_DRIVER option 2022-06-15 19:54:38 -07:00
Alfonso Gamboa
e4b424c989 revise extra kernel modules path 2022-06-15 19:47:29 -07:00
Scott Kilau
adaa3ccf0b Start to parameterize the Binding values, so users can select them or not. 2022-06-15 21:14:39 -05:00
Alfonso Gamboa
58afbccded move upgrade-run.sh to PATH 2022-06-15 19:13:58 -07:00
Alfonso Gamboa
6a9ff97110 add new driver for rtl8189ftv that solves netfilter crashes on T31 2022-06-15 18:55:46 -07:00
Alfonso Gamboa
3debb7756f fix RTL871X crash due to netfilter modules 2022-06-15 00:37:28 -07:00
Alfonso Gamboa
72b5e2e399 update init file name 2022-06-15 00:36:41 -07:00
Alfonso Gamboa
beb58dfd55 update t31 kernel modules 2022-06-14 23:09:49 -07:00
Alfonso Gamboa
70a62d3a12 fix dbclient path for scp 2022-06-14 22:48:54 -07:00
Alfonso Gamboa
ddecaa13f8 copy factory app_init.sh to allow user modifications 2022-06-14 22:15:34 -07:00
Scott Kilau
9d78ea2ea6 Add wpa_supplicant daemon that works properly for the wlanold interface.
With this addition, the bonding now works correctly.
Ethernet is used when available/connected, and will fallback to Wifi when not.
As soon as Ethernet does become available again, the bonding will switch to it as priority.
2022-06-14 22:52:17 -05:00
Scott Kilau
2736fc299d Start adding support for Bonding Ethernet and Wifi 2022-06-14 20:26:55 -05:00
Alfonso Gamboa
a88b05c626 enable swap earlier 2022-06-14 01:53:27 -07:00
Alfonso Gamboa
7e8ee5a09c revise path to v2 kernel modules 2022-06-14 01:01:47 -07:00
Alfonso Gamboa
c9577c6fcf adjust impdbg to behave on t31 as it does on t20, staggered launch 2022-06-14 00:26:05 -07:00
Alfonso Gamboa
f827a5fbfe fix audio in upgrade script for HL_PAN2 2022-06-13 02:11:57 -07:00
Alfonso Gamboa
9ea262913e add additional option for rcmode validation 2022-06-12 23:34:41 -07:00
Alfonso Gamboa
d68109d1fe add delay on v2 for impdbg commands 2022-06-12 21:44:13 -07:00
Alfonso Gamboa
124cb02522 add copy of default wz_mini.conf file to etc 2022-06-12 21:12:21 -07:00
Alfonso Gamboa
6b76e278e1 add encoder mode parameter validation check 2022-06-12 21:04:57 -07:00
Alfonso Gamboa
b59f85e206 add kernel modules to diag logs 2022-06-12 18:23:02 -07:00
Alfonso Gamboa
b47c67ec5a delete upgrade dir after failed download 2022-06-12 17:47:15 -07:00
Alfonso Gamboa
edac619ae6 fix usb-direct mode on new config 2022-06-12 17:38:13 -07:00
Alfonso Gamboa
3d63b6195e fix v4l2rtspserver ioctl errors 2022-06-12 13:49:27 -07:00
Alfonso Gamboa
996470ff44 script housekeeping and updates 2022-06-12 02:29:12 -07:00
Alfonso Gamboa
9783c33d2a remove root password for debugging 2022-06-12 01:15:17 -07:00
Alfonso Gamboa
449e3eb652 update debug info 2022-06-12 00:29:13 -07:00
Alfonso Gamboa
8309df4d2e don't wait for iCamera to mount mmc in wz_user 2022-06-12 00:27:59 -07:00
Alfonso Gamboa
280491d3e8 add user utility to gather logs for debugging 2022-06-11 20:48:20 -07:00
Alfonso Gamboa
48ce0b6ab7 update cmd with new commands 2022-06-11 20:47:50 -07:00
Alfonso Gamboa
35d106a5c5 add function to delete logs older than 5 boots 2022-06-11 04:36:46 -07:00
Alfonso Gamboa
f37d3a6880 fix module loading order for usb-direct mode 2022-06-08 22:08:00 -07:00
Alfonso Gamboa
d59885eed2 update ffmpeg binary to support mp3 2022-06-08 01:54:24 -07:00
Alfonso Gamboa
1c889f13cc fix imp_control for v2 2022-06-07 19:44:35 -07:00
Alfonso Gamboa
3ab50eb989 add tuning support for imp 2022-06-07 15:51:49 -07:00
Alfonso Gamboa
a933aa9327 add kernel message for local console 2022-06-07 01:50:25 -07:00
Alfonso Gamboa
11c9132d82 add notes to wz_user.sh 2022-06-05 21:11:54 -07:00
Alfonso Gamboa
14c853dc35 fix rtmp stream execution 2022-06-04 06:28:19 -07:00
Alfonso Gamboa
d48578df86 fix rtsp variables for v2 2022-06-04 06:09:50 -07:00
Alfonso Gamboa
8ee7a39e1a make sure we always use latest upgrade script 2022-06-04 05:08:18 -07:00
Alfonso Gamboa
e3091085e5 enhance upgrade script to install the latest version of itself upon extraction 2022-06-04 04:43:23 -07:00
Alfonso Gamboa
80df3561e9 expand and improve rtmp streaming 2022-06-04 04:25:37 -07:00
Alfonso Gamboa
7a108fc734 fix upgrade script when there are line differences between the old and new configs, keep the old config 2022-06-04 04:25:15 -07:00
Alfonso Gamboa
041e7d2663 add volume control 2022-06-04 04:11:59 -07:00
Alfonso Gamboa
429243ed69 update ffmpeg to support hls protocol 2022-06-04 04:00:47 -07:00
Alfonso Gamboa
9e48c98743 add webcam mode for v2 camera 2022-06-04 01:14:37 -07:00
Alfonso Gamboa
6bedd478b5 forgot to fix variables with config changes, fixed and added v2 webcam support 2022-06-04 00:52:47 -07:00
Alfonso Gamboa
6884ad2337 add configs dir to upgrade script 2022-06-01 22:23:14 -07:00
Alfonso Gamboa
a7654ef3df fix audio prompts on panv2 2022-06-01 22:02:14 -07:00
Alfonso Gamboa
47df7e4b3d create configs directory 2022-06-01 22:01:30 -07:00
Alfonso Gamboa
3fb2f409c5 move rtmp-stream.sh to PATH /bin 2022-06-01 00:59:46 -07:00
Alfonso Gamboa
d20d1a23a3 add user selectable ethernet modules to config 2022-05-31 23:46:24 -07:00
Alfonso Gamboa
ec4ad5e93a clarify cmd messages 2022-05-31 02:08:39 -07:00
Alfonso Gamboa
2cd78e0bc2 stop log spamming for watch_up.sh 2022-05-31 01:02:01 -07:00
Alfonso Gamboa
64455f5a44 save dmesg log 2022-05-31 00:52:57 -07:00
Alfonso Gamboa
fe102143de fix script execution block during upgrade 2022-05-31 00:44:36 -07:00
Alfonso Gamboa
ec7d048ce0 fix upgrade log filename 2022-05-31 00:37:01 -07:00
Alfonso Gamboa
1b85860e56 fix formatting 2022-05-31 00:35:49 -07:00
Alfonso Gamboa
b20d1b8539 revise log messages 2022-05-31 00:31:22 -07:00
Alfonso Gamboa
4be46c17eb fix umount error during upgrade mode 2022-05-31 00:23:08 -07:00
Alfonso Gamboa
4c3b696e01 upgrade mode file verification and upgrade prompts 2022-05-31 00:15:42 -07:00
Alfonso Gamboa
6220c45392 add audio files for upgrade mode 2022-05-31 00:15:19 -07:00
Alfonso Gamboa
4fa65289b9 upgrade script fixes 2022-05-30 23:57:03 -07:00
Alfonso Gamboa
43a631e0c0 fix logging in upgrade mode 2022-05-30 23:31:29 -07:00
Alfonso Gamboa
7e788687dd store and rename logs upon reboot, do not delete 2022-05-30 23:13:20 -07:00
Alfonso Gamboa
6c6600dd5a continue work on upgrade script 2022-05-29 01:19:06 -07:00
Alfonso Gamboa
cf0071c821 update ffmpeg to support png,jpg 2022-05-29 01:19:04 -07:00
virmaior
a1533feac1
Update wz_post.sh 2022-05-29 15:29:30 +09:00
Alfonso Gamboa
da8b3af8a2 rename files 2022-05-28 20:38:47 -07:00
gtxaspec
3607037f50
Merge pull request #61 from claudobahn/bitrate_fix
Flipped registers for target/max bitrate on V3
2022-05-28 20:36:33 -07:00
Claude Meyer
bba7729178 Flipped registers for target/max bitrate on V3. 2022-05-28 11:54:42 -05:00
Claude Meyer
855c0748d9 Preserve all SSH configuration, including host keys, and also preserve Wireguard keys. 2022-05-28 11:44:02 -05:00
Alfonso Gamboa
ffd867d31a fix script execution 2022-05-28 06:08:25 -07:00
Alfonso Gamboa
01f9a8ef8d rework upgrade system 2022-05-28 06:02:44 -07:00
Alfonso Gamboa
8bd4e16fed fix path for ssh keys on upgrade script 2022-05-28 05:45:45 -07:00
Alfonso Gamboa
e301cb2c06 add initial support for automated updates 2022-05-28 05:39:07 -07:00
Alfonso Gamboa
0fe6a1ffa2 update bash 2022-05-28 02:13:54 -07:00
Alfonso Gamboa
1eab41412a revise various static binaries 2022-05-28 02:12:14 -07:00
Alfonso Gamboa
36839dfb75 disable core dumps 2022-05-28 00:53:46 -07:00
Alfonso Gamboa
7293bb7435 remove old avconv binary and replace with new musl ffmpeg 2022-05-28 00:52:18 -07:00
Alfonso Gamboa
b22689144d fix rtmp-stream.sh ffmpeg path 2022-05-27 00:13:17 -07:00
Alfonso Gamboa
452f56a9ab update various system binaries 2022-05-27 00:11:58 -07:00
Alfonso Gamboa
73b76b6f38 revise rtmp-stream.sh and add new ffmpeg version to fix rtmp audio issues 2022-05-27 00:11:33 -07:00
Alfonso Gamboa
e0b2584120 disable mp4_write on v2 since it is already built in and enabled 2022-05-25 23:54:28 -07:00
Alfonso Gamboa
0b4f7edf6e enable rndis and usb direct mode for v2 2022-05-25 23:50:50 -07:00
Alfonso Gamboa
810a84b645 adjust path order 2022-05-25 20:34:45 -07:00
Alfonso Gamboa
3ec1d1f822 add rtmp streaming 2022-05-25 19:12:31 -07:00
Alfonso Gamboa
219226c2ea fix spacing issue 3 2022-05-24 22:36:01 -07:00
Alfonso Gamboa
e45931597f fix spacing issue 2 2022-05-24 22:35:06 -07:00
Alfonso Gamboa
3653ea5409 fix spacing issue 2022-05-24 22:33:58 -07:00
Alfonso Gamboa
6c818efe5f move all configuration to wz_mini.conf and all scripting logic to wz_user.sh in etc/init.d 2022-05-24 22:20:37 -07:00
Alfonso Gamboa
46f3561555 add static wget binary with https support 2022-05-24 21:57:16 -07:00
gtxaspec
1e489969e4
Merge pull request #51 from claudobahn/wireguard
added simple wireguard startup configuration.
2022-05-24 00:06:32 -07:00
Alfonso Gamboa
555042c6b4 fix scripts for various v2 issues 2022-05-24 00:05:56 -07:00
Claude Meyer
392ca64e2d added simple wireguard startup configuration. 2022-05-23 22:32:41 -05:00
Alfonso Gamboa
71eb6d795b test iwlist for v2 2022-05-23 20:28:53 -07:00
Alfonso Gamboa
8ec1be1666 add fps to rtsp, revise run_mmc.sh for v2 2022-05-23 18:41:21 -07:00
Alfonso Gamboa
80378fbd5e add v2 support 2022-05-23 17:56:53 -07:00
Alfonso Gamboa
54fe16fdfe revise v2 modules 2022-05-21 05:54:02 -07:00
Alfonso Gamboa
37a11b9153 add init sounds for v2 2022-05-21 04:29:48 -07:00
Alfonso Gamboa
7036944bad add v2 kernel modules 2022-05-21 04:29:34 -07:00
Alfonso Gamboa
35988bec3b update mp4write to exclude alarm clips so they upload to the cloud properly 2022-05-20 13:40:59 -07:00
Alfonso Gamboa
4abbd21bab add device host to ncm module 2022-05-20 13:40:35 -07:00
Alfonso Gamboa
07a1b0c825 add enable_mp4_write variable in run_mmc.sh 2022-05-20 01:22:43 -07:00
Alfonso Gamboa
24baf11f4a add mp4write feature from @mnakada, and patch in on-off capability to libcallback 2022-05-20 00:53:13 -07:00
Alfonso Gamboa
a14d6ee7cc USB_DIRECT mac set from kernel module, no need to set here 2022-05-20 00:23:45 -07:00
Alfonso Gamboa
966e6ffcea fix bad variable for usb webcam mode 2022-05-20 00:11:07 -07:00
Alfonso Gamboa
8583700ee4 fix usb direct mac addr 2022-05-20 00:10:44 -07:00
Alfonso Gamboa
1b7cd9a60b fix run_mmc.sh script blocking cause by missing & on the rtsp server 2022-05-19 20:17:19 -07:00
Alfonso Gamboa
f5dc2f673a webcam mode update script 2022-05-19 20:00:02 -07:00
Alfonso Gamboa
0fdf88346f re-arrange t31 kernel modules 2022-05-18 13:12:43 -07:00
Alfonso Gamboa
e7e12daa67 set usb direct mac addr when loading kernel module 2022-05-18 12:57:25 -07:00
Alfonso Gamboa
a1a214203b revise webcam init 2022-05-18 12:45:53 -07:00
Alfonso Gamboa
b169cc6efb web cam fixes cleanup 2022-05-18 12:44:25 -07:00
Alfonso Gamboa
2b92e37f5e add bitrate and fps variables to webcamera 2022-05-18 12:43:06 -07:00
Alfonso Gamboa
c98ecf288a add webcam mode and change rtsp server configs, add avconv for youtube rtmp testing 2022-05-18 02:02:46 -07:00
Alfonso Gamboa
b518cd5770 add new cmd for audio channel 1 in run_mmc.sh 2022-05-16 00:26:28 -07:00
Alfonso Gamboa
43f6ed9fda fix rtsp audio for channel 1 2022-05-16 00:24:51 -07:00
Alfonso Gamboa
b9c96a63a2 fix last bitrate variable 2022-05-15 20:39:58 -07:00
Alfonso Gamboa
b66b98e299 fix bitrate variables 2022-05-15 20:37:57 -07:00
Alfonso Gamboa
ad42670438 add second stream to rtsp 2022-05-15 18:36:36 -07:00
Alfonso Gamboa
94b2aad718 add rtsp parameters 2022-05-14 23:10:03 -07:00
Alfonso Gamboa
afbeae9bbd update readme and add updated libcallback.so 2022-05-14 05:56:03 -07:00
Alfonso Gamboa
d863ee689d update rtsp server and libraries, fix choppy audio in libcallback, fix busybox for old fw versions including rtsp_fw 2022-05-14 05:52:45 -07:00
Alfonso Gamboa
f87d4d3108 fix rtsp server wlan0 password 2022-05-09 03:24:10 -07:00
Alfonso Gamboa
950fffc672 update libcallback injection callback method 2022-05-09 03:04:20 -07:00
Alfonso Gamboa
4d45b4c642 fix custom hostname set in run_mmc.sh 2022-05-08 03:18:42 -07:00
Alfonso Gamboa
c20b8c1b60 fix audio_play.c for panv2 2022-05-08 02:58:19 -07:00
Alfonso Gamboa
7e9aa36d46 fix rtsp support for panv2 2022-05-08 01:25:48 -07:00
Alfonso Gamboa
57fd177328 iptables/nfsv4 support 2022-05-08 00:56:55 -07:00
Alfonso Gamboa
26af3aa7bc rtsp fixes 2022-05-07 01:23:49 -07:00
Alfonso Gamboa
cea324226e add individual dropbear binaries 2022-05-01 19:41:38 -07:00
Alfonso Gamboa
826f01d8c4 add debug for uclibc 2022-04-30 06:26:24 -07:00
Alfonso Gamboa
04392d29dd add audio support for panv2 2022-04-30 02:24:01 -07:00
Alfonso Gamboa
2db8df1c19 move kernel stuff to modules, rndis support, cdc_ncm 2022-04-30 02:01:45 -07:00
Alfonso Gamboa
6c0174faf8 add PATH hooks in v3_init.sh and init audio support 2022-04-26 01:56:38 -07:00
Alfonso Gamboa
39d1f5ecd6 add authentication to rtsp server 2022-04-21 21:05:36 -07:00
Alfonso Gamboa
db4a00a8d3 disable password and add pubkey auth to ssh 2022-04-21 20:32:27 -07:00
Alfonso Gamboa
be825bd31f missing tmp directory 2022-04-21 16:15:45 -07:00
Alfonso Gamboa
255bdf8f32 revise readme and libs 2022-04-21 14:29:32 -07:00
Alfonso Gamboa
0ec18d876a fixed fw upgrade issues 2022-04-21 03:01:51 -07:00
Alfonso Gamboa
3f1c819276 improve ability to hook stock system 2022-04-20 01:33:47 -07:00
Alfonso Gamboa
f9cf541305 add nano to utils 2022-04-19 20:21:05 -07:00
Alfonso Gamboa
dc1bc833d3 change terminfo extract to v3_init.sh 2022-04-19 20:20:05 -07:00
Alfonso Gamboa
223dddafff add terminfo dir 2022-04-19 20:11:16 -07:00
Alfonso Gamboa
4feaced010 add ipv6 config flag 2022-04-19 19:59:24 -07:00
Alfonso Gamboa
54596ffd9c remove duplicate ssh check 2022-04-19 19:33:36 -07:00
Alfonso Gamboa
b8eb5ae8a0 roll rtsp into release 2022-04-19 18:58:48 -07:00
Alfonso Gamboa
ed7ae271ba add binutils 2022-04-18 22:45:19 -07:00
Alfonso Gamboa
eb285a837d update logging 2022-04-17 23:00:48 -07:00
Alfonso Gamboa
64282a7862 delay execution of socat 2022-04-17 21:40:49 -07:00
Alfonso Gamboa
8df4006ce9 run socat in background 2022-04-17 21:36:02 -07:00
Alfonso Gamboa
3c27a89352 fix socat path and revise logging 2022-04-17 21:28:39 -07:00
Alfonso Gamboa
0bb91bd8fb add remote spotlight and fix library paths 2022-04-17 21:02:58 -07:00
Alfonso Gamboa
5ac148b64f add usb direct functionality 2022-04-15 01:51:18 -07:00
Alfonso Gamboa
e8d9971729 update memory mappings for kernel, fixes stability issues 2022-04-14 16:18:24 -07:00
Alfonso Gamboa
685a4ba031 flush old wlan0 ip 2022-04-14 16:17:58 -07:00
Alfonso Gamboa
d82ba37884 flush ip address from wlanold 2022-04-14 02:01:06 -07:00
Alfonso Gamboa
a2cb715d21 add swap and logic 2022-04-14 01:35:27 -07:00
Alfonso Gamboa
4db9570833 update hostname routine 2022-04-13 20:22:40 -07:00
Alfonso Gamboa
5ad7674ada update usb ethernet script 2022-04-13 20:11:26 -07:00
Alfonso Gamboa
2869ddce40 fix typo in wpa_cli.sh 2022-04-13 19:38:47 -07:00
Alfonso Gamboa
910fe60dcb change dropbear config dir detect 2022-04-13 14:49:12 -07:00
Alfonso Gamboa
f6781c1132 add logs 2022-04-13 14:15:04 -07:00
Alfonso Gamboa
9cd39ef215 fix dropbear ssh 2022-04-13 14:12:27 -07:00
Alfonso Gamboa
42d37cff1e enable disable fwupgrade by default 2022-04-13 12:59:04 -07:00
Alfonso Gamboa
4e2f4967f3 update file paths for tmp 2022-04-13 01:29:04 -07:00
Alfonso Gamboa
91cad8ed17 update kernel usb ethernet drivers, readme 2022-04-12 23:52:42 -07:00