Commit Graph

328 Commits

Author SHA1 Message Date
Alfonso Gamboa
f4174f39d8 fix watch_up log spam
send output of watch_up.sh to /dev/null unless debug mode is specifically enabled in the script
2022-06-26 20:53:44 -07:00
Alfonso Gamboa
65e839b6a9 update bonding functions, add fail_over_mac option 2022-06-26 20:02:06 -07:00
Alfonso Gamboa
2a0515761f fix variable typos in rtmp scripts 2022-06-26 01:34:05 -07:00
Alfonso Gamboa
7de1b43616 enable wifi drivers on upgrade 2022-06-24 19:11:30 -07:00
Scott Kilau
cb4871b06b Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-24 20:38:33 -05:00
Alfonso Gamboa
13ebe9bc0c update 8189fs module, disable power saving mode 2022-06-24 17:36:13 -07:00
Alfonso Gamboa
ec50893e19 fix upgrades from previous versions 2022-06-24 11:13:40 -07:00
Scott Kilau
983a8d39a6 Fix typos, (ie, missing $'s) 2022-06-24 11:12:41 -05:00
Scott Kilau
d0aae1aed7 Set default Ethernet value to false 2022-06-24 09:29:06 -05:00
Scott Kilau
c69c19621d Create new AUTODETECT variable, so as to be very specific what will happen 2022-06-24 09:25:16 -05:00
Scott Kilau
c58ce37637 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-24 09:22:26 -05:00
Alfonso Gamboa
1fa3b9a88f enable drivers when variable is missing 2022-06-24 00:49:44 -07:00
Alfonso Gamboa
5858bd6e22 fix upgrade mode to prevent deleted wz_mini dir on failed upgrade 2022-06-23 23:46:47 -07:00
Alfonso Gamboa
a571a051bc merge wifi branch: 2022-06-23 23:08:26 -07:00
Alfonso Gamboa
de38d87458 update bonding to work with usb_direct 2022-06-23 21:14:54 -07:00
Alfonso Gamboa
596e48fe10 add branch option to upgrade script 2022-06-23 10:07:24 -07:00
Alfonso Gamboa
660174301c set default config new drivers on 2022-06-22 23:08:52 -07:00
Alfonso Gamboa
61c78d3c72 recompile kernels and corresponding modules, new wifi drivers, iptables conntrack crash fixeds 2022-06-22 22:47:52 -07:00
Alfonso Gamboa
2b74217bb5 add atbm603x driver option to wz_mini.conf 2022-06-22 08:08:16 -07:00
Scott Kilau
20d0995a04 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-21 17:18:15 -05:00
Alfonso Gamboa
cf02d1aeb9 add additional file verification to upgrade-run.sh to prevent broken upgrades 2022-06-21 14:00:11 -07:00
Alfonso Gamboa
f5ed108c62 add dnsmasq 2022-06-21 13:22:41 -07:00
Scott Kilau
98cc19a228 Fix typo. 2022-06-21 09:21:15 -05:00
Scott Kilau
618018fc05 Allow for the user to override the auto-detect Ethernet code.
Also, update README for this change
2022-06-21 09:01:45 -05:00
Scott Kilau
0bd0c36401 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-21 08:45:08 -05:00
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