2022-07-12-thttpd-install-test.txt running from: 2022-07-12-thttpd-install-on-32-or-64-bit-OS.txt line numbers are at the end of the command lines, and are comments used to help solve problems when sometinng does not work frank@raspberrypi:~ $ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 processor : 1 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 processor : 2 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 processor : 3 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 Hardware : BCM2711 Revision : c03130 Serial : 1000000019c3b021 Model : Raspberry Pi 400 Rev 1.0 frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /proc/meminfo MemTotal: 3931052 kB MemFree: 1143864 kB MemAvailable: 3355408 kB Buffers: 126544 kB Cached: 2259292 kB SwapCached: 0 kB Active: 327236 kB Inactive: 2137508 kB Active(anon): 11804 kB Inactive(anon): 188852 kB Active(file): 315432 kB Inactive(file): 1948656 kB Unevictable: 107080 kB Mlocked: 16 kB HighTotal: 3264512 kB HighFree: 896076 kB LowTotal: 666540 kB LowFree: 247788 kB SwapTotal: 102396 kB SwapFree: 102396 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 185988 kB Mapped: 154540 kB Shmem: 121748 kB KReclaimable: 115968 kB Slab: 140080 kB SReclaimable: 115968 kB SUnreclaim: 24112 kB KernelStack: 2224 kB PageTables: 6116 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2067920 kB Committed_AS: 1670952 kB VmallocTotal: 245760 kB VmallocUsed: 5808 kB VmallocChunk: 0 kB Percpu: 496 kB CmaTotal: 327680 kB CmaFree: 188152 kB frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /proc/version Linux version 5.15.32-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 SMP Thu Mar 31 19:39:41 BST 2022 frank@raspberrypi:~ $ frank@raspberrypi:~ $ ls -al total 88 drwxr-xr-x 16 frank frank 4096 Jul 12 13:39 . drwxr-xr-x 3 root root 4096 Jul 12 11:29 .. -rw-r--r-- 1 frank frank 220 Apr 4 05:48 .bash_logout -rw-r--r-- 1 frank frank 3523 Apr 4 05:48 .bashrc drwxr-xr-x 2 frank frank 4096 Apr 4 05:57 Bookshelf drwxr-xr-x 4 frank frank 4096 Jul 12 11:29 .cache drwx------ 15 frank frank 4096 Jul 12 14:01 .config drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Desktop drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Documents drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Downloads drwxr-xr-x 7 frank frank 4096 Jul 12 13:39 freedom drwxr-xr-x 3 frank frank 4096 Apr 4 05:57 .local drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Music drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Pictures drwx------ 3 frank frank 4096 Jul 12 11:30 .pp_backup -rw-r--r-- 1 frank frank 807 Apr 4 05:48 .profile drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Public drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Templates drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Videos -rw------- 1 frank frank 56 Jul 12 11:32 .Xauthority -rw------- 1 frank frank 2522 Jul 12 11:32 .xsession-errors -rw------- 1 frank frank 2522 Jul 12 11:29 .xsession-errors.old frank@raspberrypi:~ $ frank@raspberrypi:~ $ ls Bookshelf Desktop Documents Downloads freedom Music Pictures Public Templates Videos frank@raspberrypi:~ $ frank@raspberrypi:~ $ df -H Filesystem Size Used Avail Use% Mounted on /dev/root 31G 9.0G 21G 31% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.3M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 50k 403M 1% /run/user/1000 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 159 Tue 12 Jul 2022 02:09:23 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt install whois ### 163 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfuse2 Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: whois 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 71.4 kB of archives. After this operation, 267 kB of additional disk space will be used. Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf whois armhf 5.5.10 [71.4 kB] Fetched 71.4 kB in 2s (45.7 kB/s) Selecting previously unselected package whois. (Reading database ... 177518 files and directories currently installed.) Preparing to unpack .../whois_5.5.10_armhf.deb ... Unpacking whois (5.5.10) ... Setting up whois (5.5.10) ... Processing triggers for man-db (2.9.4-2) ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ whois 162.250.19.7 ### 187 # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/resources/registry/whois/tou/ # # If you see inaccuracies in the results, please report at # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/ # # Copyright 1997-2022, American Registry for Internet Numbers, Ltd. # NetRange: 162.250.16.0 - 162.250.23.255 CIDR: 162.250.16.0/21 NetName: RCW NetHandle: NET-162-250-16-0-1 Parent: NET162 (NET-162-0-0-0-0) NetType: Direct Allocation OriginAS: AS39938 Organization: River Canyon Wireless (RE-27) RegDate: 2013-12-12 Updated: 2013-12-12 Ref: https://rdap.arin.net/registry/ip/162.250.16.0 OrgName: River Canyon Wireless OrgId: RE-27 Address: 611 S. Main City: Moab StateProv: UT PostalCode: 84532 Country: US RegDate: 2012-02-06 Updated: 2019-06-26 Ref: https://rdap.arin.net/registry/entity/RE-27 OrgNOCHandle: HICKM57-ARIN OrgNOCName: Hickman, Ryan OrgNOCPhone: +1-435-259-8319 OrgNOCEmail: Ryan@Royceselectronics.com OrgNOCRef: https://rdap.arin.net/registry/entity/HICKM57-ARIN OrgAbuseHandle: COLCO8-ARIN OrgAbuseName: Colcord, Bill OrgAbusePhone: +1-435-259-6763 OrgAbuseEmail: bill.c@rivercanyonwireless.com OrgAbuseRef: https://rdap.arin.net/registry/entity/COLCO8-ARIN OrgTechHandle: HICKM57-ARIN OrgTechName: Hickman, Ryan OrgTechPhone: +1-435-259-8319 OrgTechEmail: Ryan@Royceselectronics.com OrgTechRef: https://rdap.arin.net/registry/entity/HICKM57-ARIN # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/resources/registry/whois/tou/ # # If you see inaccuracies in the results, please report at # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/ # # Copyright 1997-2022, American Registry for Internet Numbers, Ltd. # frank@raspberrypi:~ $ frank@raspberrypi:~ $ $PATH ### 288 bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games: No such file or directory frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /etc/environment ### 295 frank@raspberrypi:~ $ frank@raspberrypi:~ $ $PATH ### 327 bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games: No such file or directory frank@raspberrypi:~ $ frank@raspberrypi:~ $ $PATH ### 341 bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games: No such file or directory frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /etc ### 348 frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cat profile ### 352 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "$(id -u)" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" fi export PATH if [ "${PS1-}" ]; then if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. # PS1='\h:\w\$ ' if [ -f /etc/bash.bashrc ]; then . /etc/bash.bashrc fi else if [ "$(id -u)" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi frank@raspberrypi:/etc $ rank@raspberrypi:/etc $ sudo nano profile ### 390 frank@raspberrypi:/etc $ cat profile ### 395 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "$(id -u)" -eq 0 ]; then PATH="/home/local/sbin:/home/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/home/local/sbin:/home/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" fi export PATH if [ "${PS1-}" ]; then if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. # PS1='\h:\w\$ ' if [ -f /etc/bash.bashrc ]; then . /etc/bash.bashrc fi else if [ "$(id -u)" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi frank@raspberrypi:/etc $ reboot ### 436 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 440 Tue 12 Jul 2022 02:21:46 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ $PATH ### 444 bash: /home/local/sbin:/home/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games: No such file or directory frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo mkdir -v /fd /hd /sd ### sudo is Another thing I do. This makes for handy mount points for: floppy drives (USB), hard drives (1 TB, etc.) and sd cards. When one adds a drive to Ubuntu, the bell rings and nothing shows up because it is not mounted. Doing: sudo fdisk -l ### this will show the drives and their partitions. Then it is just: sudo mount /dev/sda2 /hd ### This mounts the second partition of drive "sda". Then one can read the files by: cd /hd/(path or file name) ... ### and then where you want to go. This gives a really short path to that drive, instead of "/media/(user-name)/(drive-name)/(file-name)". I think you get the point! ### 449 mkdir: created directory '/fd' mkdir: created directory '/hd' mkdir: created directory '/sd' frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt update ### 588 Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt install dochelp ### 601 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfuse2 Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: dochelp 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 552 kB of archives. After this operation, 1,838 kB of additional disk space will be used. Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf dochelp armhf 0.1.8 [552 kB] Fetched 552 kB in 4s (153 kB/s) Selecting previously unselected package dochelp. (Reading database ... 177541 files and directories currently installed.) Preparing to unpack .../dochelp_0.1.8_armhf.deb ... Unpacking dochelp (0.1.8) ... Setting up dochelp (0.1.8) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for mailcap (3.69) ... Processing triggers for desktop-file-utils (0.26-1) ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt install pluma ### 632 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfuse2 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: gir1.2-gtksource-3.0 gir1.2-peas-1.0 gir1.2-pluma-1.0 libpeas-1.0-0 libpeas-common libpython3.8 libpython3.8-minimal libpython3.8-stdlib mate-desktop-common pluma-common The following NEW packages will be installed: gir1.2-gtksource-3.0 gir1.2-peas-1.0 gir1.2-pluma-1.0 libpeas-1.0-0 libpeas-common libpython3.8 libpython3.8-minimal libpython3.8-stdlib mate-desktop-common pluma pluma-common 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 6,740 kB of archives. After this operation, 48.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf gir1.2-gtksource-3.0 armhf 3.24.11-2 [28.3 kB] Get:2 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libpeas-common all 1.28.0-2 [53.2 kB] Get:3 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libpython3.8-minimal armhf 3.8.7-1 [753 kB] Get:4 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libpython3.8-stdlib armhf 3.8.7-1 [1,647 kB] Get:5 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libpython3.8 armhf 3.8.7-1 [1,344 kB] Get:6 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libpeas-1.0-0 armhf 1.28.0-2 [56.6 kB] Get:7 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf gir1.2-peas-1.0 armhf 1.28.0-2 [12.4 kB] Get:8 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf gir1.2-pluma-1.0 armhf 1.24.1-1 [29.8 kB] Get:9 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf mate-desktop-common all 1.24.1-2 [495 kB] Get:10 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf pluma-common all 1.24.1-1 [1,938 kB] Get:11 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf pluma armhf 1.24.1-1 [383 kB] Fetched 6,740 kB in 34s (195 kB/s) Selecting previously unselected package gir1.2-gtksource-3.0:armhf. (Reading database ... 177556 files and directories currently installed.) Preparing to unpack .../00-gir1.2-gtksource-3.0_3.24.11-2_armhf.deb ... Unpacking gir1.2-gtksource-3.0:armhf (3.24.11-2) ... Selecting previously unselected package libpeas-common. Preparing to unpack .../01-libpeas-common_1.28.0-2_all.deb ... Unpacking libpeas-common (1.28.0-2) ... Selecting previously unselected package libpython3.8-minimal:armhf. Preparing to unpack .../02-libpython3.8-minimal_3.8.7-1_armhf.deb ... Unpacking libpython3.8-minimal:armhf (3.8.7-1) ... Selecting previously unselected package libpython3.8-stdlib:armhf. Preparing to unpack .../03-libpython3.8-stdlib_3.8.7-1_armhf.deb ... Unpacking libpython3.8-stdlib:armhf (3.8.7-1) ... Selecting previously unselected package libpython3.8:armhf. Preparing to unpack .../04-libpython3.8_3.8.7-1_armhf.deb ... Unpacking libpython3.8:armhf (3.8.7-1) ... Selecting previously unselected package libpeas-1.0-0:armhf. Preparing to unpack .../05-libpeas-1.0-0_1.28.0-2_armhf.deb ... Unpacking libpeas-1.0-0:armhf (1.28.0-2) ... Selecting previously unselected package gir1.2-peas-1.0:armhf. Preparing to unpack .../06-gir1.2-peas-1.0_1.28.0-2_armhf.deb ... Unpacking gir1.2-peas-1.0:armhf (1.28.0-2) ... Selecting previously unselected package gir1.2-pluma-1.0. Preparing to unpack .../07-gir1.2-pluma-1.0_1.24.1-1_armhf.deb ... Unpacking gir1.2-pluma-1.0 (1.24.1-1) ... Selecting previously unselected package mate-desktop-common. Preparing to unpack .../08-mate-desktop-common_1.24.1-2_all.deb ... Unpacking mate-desktop-common (1.24.1-2) ... Selecting previously unselected package pluma-common. Preparing to unpack .../09-pluma-common_1.24.1-1_all.deb ... Unpacking pluma-common (1.24.1-1) ... Selecting previously unselected package pluma. Preparing to unpack .../10-pluma_1.24.1-1_armhf.deb ... Unpacking pluma (1.24.1-1) ... Setting up libpython3.8-minimal:armhf (3.8.7-1) ... Setting up libpeas-common (1.28.0-2) ... Setting up mate-desktop-common (1.24.1-2) ... Setting up gir1.2-gtksource-3.0:armhf (3.24.11-2) ... Setting up pluma-common (1.24.1-1) ... Setting up libpython3.8-stdlib:armhf (3.8.7-1) ... Setting up gir1.2-pluma-1.0 (1.24.1-1) ... Setting up libpython3.8:armhf (3.8.7-1) ... Setting up libpeas-1.0-0:armhf (1.28.0-2) ... Setting up gir1.2-peas-1.0:armhf (1.28.0-2) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for mailcap (3.69) ... Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1) ... Processing triggers for libglib2.0-0:armhf (2.66.8-1) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ... Setting up pluma (1.24.1-1) ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt autoremove ### 699 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: libfuse2 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 288 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 179383 files and directories currently installed.) Removing libfuse2:armhf (2.9.9-5) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo apt install elinks elinks-doc tre-agrep ### sudo - A text web browser for computers with little RAM. 718 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: elinks-data libev4 libfsplib0 liblua5.1-0 libtre5 The following NEW packages will be installed: elinks elinks-data elinks-doc libev4 libfsplib0 liblua5.1-0 libtre5 tre-agrep 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 1,206 kB of archives. After this operation, 3,988 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libev4 armhf 1:4.33-1 [38.2 kB] Get:2 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libfsplib0 armhf 0.14-5 [12.9 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf liblua5.1-0 armhf 5.1.5-8.1+b2 [82.8 kB] Get:4 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libtre5 armhf 0.8.0-6 [52.0 kB] Get:5 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf elinks-data all 0.13.2-1 [386 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf elinks armhf 0.13.2-1+b1 [463 kB] Get:7 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf elinks-doc all 0.13.2-1 [162 kB] Get:8 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf tre-agrep armhf 0.8.0-6 [9,508 B] Fetched 1,206 kB in 12s (105 kB/s) Selecting previously unselected package libev4:armhf. (Reading database ... 179370 files and directories currently installed.) Preparing to unpack .../0-libev4_1%3a4.33-1_armhf.deb ... Unpacking libev4:armhf (1:4.33-1) ... Selecting previously unselected package libfsplib0. Preparing to unpack .../1-libfsplib0_0.14-5_armhf.deb ... Unpacking libfsplib0 (0.14-5) ... Selecting previously unselected package liblua5.1-0:armhf. Preparing to unpack .../2-liblua5.1-0_5.1.5-8.1+b2_armhf.deb ... Unpacking liblua5.1-0:armhf (5.1.5-8.1+b2) ... Selecting previously unselected package libtre5:armhf. Preparing to unpack .../3-libtre5_0.8.0-6_armhf.deb ... Unpacking libtre5:armhf (0.8.0-6) ... Selecting previously unselected package elinks-data. Preparing to unpack .../4-elinks-data_0.13.2-1_all.deb ... Unpacking elinks-data (0.13.2-1) ... Selecting previously unselected package elinks. Preparing to unpack .../5-elinks_0.13.2-1+b1_armhf.deb ... Unpacking elinks (0.13.2-1+b1) ... Selecting previously unselected package elinks-doc. Preparing to unpack .../6-elinks-doc_0.13.2-1_all.deb ... Unpacking elinks-doc (0.13.2-1) ... Selecting previously unselected package tre-agrep. Preparing to unpack .../7-tre-agrep_0.8.0-6_armhf.deb ... Unpacking tre-agrep (0.8.0-6) ... Setting up libtre5:armhf (0.8.0-6) ... Setting up elinks-data (0.13.2-1) ... Setting up libev4:armhf (1:4.33-1) ... Setting up libfsplib0 (0.14-5) ... Setting up elinks-doc (0.13.2-1) ... Setting up tre-agrep (0.8.0-6) ... Setting up liblua5.1-0:armhf (5.1.5-8.1+b2) ... Setting up elinks (0.13.2-1+b1) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for mailcap (3.69) ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ df -H Filesystem Size Used Avail Use% Mounted on /dev/root 31G 9.0G 21G 31% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.3M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 29k 403M 1% /run/user/1000 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 798 Tue 12 Jul 2022 02:31:47 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ $PATH ### 831 bash: /home/local/sbin:/home/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games: No such file or directory frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /etc ### 835 frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cat group ### (we are looking for a group "www") 839 root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:frank tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:frank fax:x:21: voice:x:22: cdrom:x:24:frank floppy:x:25: tape:x:26: sudo:x:27:frank audio:x:29:pulse,frank dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43: video:x:44:frank sasl:x:45: plugdev:x:46:frank staff:x:50: games:x:60:frank users:x:100:frank nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: systemd-resolve:x:103: input:x:104:frank kvm:x:105: render:x:106:frank crontab:x:107: netdev:x:108:frank systemd-timesync:x:109: messagebus:x:110: ssh:x:111: bluetooth:x:112: avahi:x:113: spi:x:999:frank i2c:x:998:frank gpio:x:997:frank lightdm:x:114: rdma:x:115: rtkit:x:116: lpadmin:x:117:root,frank ssl-cert:x:118: pulse:x:119: pulse-access:x:120: scanner:x:121:saned saned:x:122: colord:x:123: epmd:x:124: geoclue:x:125: systemd-coredump:x:996: frank:x:1000: frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ addgroup --help ### 915 adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a normal user adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a system user adduser --group [--gid ID] GROUP addgroup [--gid ID] GROUP Add a user group addgroup --system [--gid ID] GROUP Add a system group adduser USER GROUP Add an existing user to an existing group general options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX configuration variable --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ sudo addgroup --system www ### sudo 967 Adding group `www' (GID 126) ... Done. frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ sudo adduser frank www ### sudo 977 Adding user `frank' to group `www' ... Adding user frank to group www Done. frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cat group ### 988 root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:frank tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:frank fax:x:21: voice:x:22: cdrom:x:24:frank floppy:x:25: tape:x:26: sudo:x:27:frank audio:x:29:pulse,frank dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43: video:x:44:frank sasl:x:45: plugdev:x:46:frank staff:x:50: games:x:60:frank users:x:100:frank nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: systemd-resolve:x:103: input:x:104:frank kvm:x:105: render:x:106:frank crontab:x:107: netdev:x:108:frank systemd-timesync:x:109: messagebus:x:110: ssh:x:111: bluetooth:x:112: avahi:x:113: spi:x:999:frank i2c:x:998:frank gpio:x:997:frank lightdm:x:114: rdma:x:115: rtkit:x:116: lpadmin:x:117:root,frank ssl-cert:x:118: pulse:x:119: pulse-access:x:120: scanner:x:121:saned saned:x:122: colord:x:123: epmd:x:124: geoclue:x:125: systemd-coredump:x:996: frank:x:1000: www:x:126:frank frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cd ~/freedom/Acme.com/thttpd-2.29 ### 1074 frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ ls ### 1084 aclocal.m4 config.log extras INSTALL Makefile.in mime_types.h scripts thttpd.8 TODO cgi-bin config.status fdwatch.c install-sh match.c mime_types.txt strerror.c thttpd.c version.h cgi-src config.sub fdwatch.h libhttpd.c match.h mmc.c tdate_parse.c thttpd.o config.cache configure fdwatch.o libhttpd.h match.o mmc.h tdate_parse.h timers.c config.guess configure.in FILES libhttpd.o mime_encodings.h mmc.o tdate_parse.o timers.h config.h contrib index.html Makefile mime_encodings.txt README thttpd timers.o frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ date ### 1136 Thu 07 Jul 2022 04:40:18 PM MDT Tue 12 Jul 2022 02:35:56 PM MDT bash: Thu: command not found frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ make clean ### Step one. 1142 for i in cgi-src extras ; do ( \ cd $i ; \ pwd ; \ make clean \ ) ; done /home/frank/freedom/Acme.com/thttpd-2.29/cgi-src make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' rm -f *.o redirect ssi phf make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' /home/frank/freedom/Acme.com/thttpd-2.29/extras make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' rm -f *.o makeweb htpasswd make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' rm -f thttpd thttpd.o libhttpd.o fdwatch.o mmc.o timers.o match.o tdate_parse.o mime_encodings.h mime_types.h frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ ./configure ### Step two. 1175 loading cache ./config.cache checking host system type... Invalid configuration `armv7l-pc-linux-gnuoldld': machine `armv7l-pc' not recognized checking target system type... Invalid configuration `armv7l-pc-linux-gnuoldld': machine `armv7l-pc' not recognized checking build system type... Invalid configuration `armv7l-pc-linux-gnuoldld': machine `armv7l-pc' not recognized checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking gcc version... (cached) 10 checking how to link static binaries... (cached) unknown checking for __progname... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for fcntl.h... (cached) yes checking for grp.h... (cached) yes checking for memory.h... (cached) yes checking for paths.h... (cached) yes checking for poll.h... (cached) yes checking for sys/poll.h... (cached) yes checking for sys/devpoll.h... (cached) no checking for sys/event.h... (cached) no checking for osreldate.h... (cached) no checking whether time.h and sys/time.h may both be included... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for /usr/local/v6/lib... no checking for gethostbyname... (cached) yes checking for socket... (cached) yes checking for main in -linet6... (cached) no checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for hstrerror... (cached) yes checking for strerror... (cached) yes checking for waitpid... (cached) yes checking for vsnprintf... (cached) yes checking for daemon... (cached) yes checking for setsid... (cached) yes checking for setlogin... (cached) no checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking for gai_strerror... (cached) yes checking for kqueue... (cached) no checking for sigset... (cached) yes checking for atoll... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for select... (cached) yes checking for poll... (cached) yes checking if struct tm has tm_gmtoff member... (cached) yes checking if int64_t exists... (cached) yes checking if socklen_t exists... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c creating ./config.status creating Makefile creating cgi-src/Makefile creating extras/Makefile frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ make ### Step three. 1251 gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c thttpd.c thttpd.c: In function ‘main’: thttpd.c:611:12: warning: implicit declaration of function ‘sigset’; did you mean ‘isset’? [-Wimplicit-function-declaration] 611 | (void) sigset( SIGTERM, handle_term ); | ^~~~~~ | isset rm -f mime_encodings.h sed < mime_encodings.txt > mime_encodings.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' rm -f mime_types.h sed < mime_types.txt > mime_types.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c libhttpd.c libhttpd.c: In function ‘cgi_child’: libhttpd.c:3557:12: warning: implicit declaration of function ‘sigset’; did you mean ‘isset’? [-Wimplicit-function-declaration] 3557 | (void) sigset( SIGPIPE, SIG_DFL ); | ^~~~~~ | isset libhttpd.c: In function ‘ls’: libhttpd.c:2846:10: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 2846 | (void) strncpy( nameptrs[nnames], de->d_name, namlen ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libhttpd.c:64:25: note: length computed here 64 | # define NAMLEN(dirent) strlen((dirent)->d_name) | ^~~~~~~~~~~~~~~~~~~~~~~~ libhttpd.c:2845:12: note: in expansion of macro ‘NAMLEN’ 2845 | namlen = NAMLEN(de); | ^~~~~~ gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c fdwatch.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c mmc.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c timers.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c match.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c tdate_parse.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -o thttpd thttpd.o libhttpd.o fdwatch.o mmc.o timers.o match.o tdate_parse.o -lcrypt for i in cgi-src extras ; do ( \ cd $i ; \ pwd ; \ make \ WEBDIR=/home/local/www \ CGIBINDIR=/home/local/www/cgi-bin \ MANDIR=/home/local/man \ WEBGROUP=www \ ) ; done /home/frank/freedom/Acme.com/thttpd-2.29/cgi-src make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c redirect.c gcc redirect.o -lcrypt -o redirect gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c ssi.c ssi.c: In function ‘get_filename.constprop’: ssi.c:183:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 183 | (void) strncpy( fn, filename, fl - vl ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi.c:169:10: note: length computed here 169 | fl = strlen( filename ); | ^~~~~~~~~~~~~~~~~~ gcc ssi.o ../match.o -lcrypt -o ssi gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c phf.c gcc phf.o -lcrypt -o phf make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' /home/frank/freedom/Acme.com/thttpd-2.29/extras make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/home/local/www\" -c makeweb.c gcc makeweb.o -o makeweb -lcrypt gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/home/local/www\" -c htpasswd.c gcc htpasswd.o -o htpasswd -lcrypt make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ sudo make install ### sudo Step four. 1334 mkdir -p /home/local/sbin /usr/bin/install -c -m 555 -o bin -g bin thttpd /home/local/sbin mkdir -p /home/local/man/man1 mkdir -p /home/local/man/man8 /usr/bin/install -c -m 444 -o bin -g bin thttpd.8 /home/local/man/man8 for i in cgi-src extras ; do ( \ cd $i ; \ pwd ; \ make \ WEBDIR=/home/local/www \ CGIBINDIR=/home/local/www/cgi-bin \ MANDIR=/home/local/man \ WEBGROUP=www \ install \ ) ; done /home/frank/freedom/Acme.com/thttpd-2.29/cgi-src make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' mkdir -p /home/local/www/cgi-bin rm -f /home/local/www/cgi-bin/redirect cp redirect /home/local/www/cgi-bin/redirect rm -f /home/local/man/man8/redirect.8 cp redirect.8 /home/local/man/man8/redirect.8 rm -f /home/local/www/cgi-bin/ssi cp ssi /home/local/www/cgi-bin/ssi rm -f /home/local/man/man8/ssi.8 cp ssi.8 /home/local/man/man8/ssi.8 rm -f /home/local/www/cgi-bin/phf cp phf /home/local/www/cgi-bin/phf make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/cgi-src' /home/frank/freedom/Acme.com/thttpd-2.29/extras make[1]: Entering directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' rm -f /home/local/sbin/makeweb /home/local/sbin/htpasswd /home/local/sbin/syslogtocern cp makeweb /home/local/sbin/makeweb chgrp www /home/local/sbin/makeweb chmod 2755 /home/local/sbin/makeweb cp htpasswd /home/local/sbin/htpasswd cp syslogtocern /home/local/sbin/syslogtocern rm -f /home/local/man/man1/makeweb.1 cp makeweb.1 /home/local/man/man1/makeweb.1 rm -f /home/local/man/man1/htpasswd.1 cp htpasswd.1 /home/local/man/man1/htpasswd.1 rm -f /home/local/man/man8/syslogtocern.8 cp syslogtocern.8 /home/local/man/man8/syslogtocern.8 make[1]: Leaving directory '/home/frank/freedom/Acme.com/thttpd-2.29/extras' frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ date ### 1389 Tue 12 Jul 2022 02:38:12 PM MDT frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ ### "thttpd" is now installed. 1398 frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ frank@raspberrypi:~/freedom/Acme.com/thttpd-2.29 $ cd /home/local/www ### 1409 frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ ls -al ### 1414 total 12 drwxr-xr-x 3 root root 4096 Jul 12 14:37 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. drwxr-xr-x 2 root root 4096 Jul 12 14:37 cgi-bin frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ sudo mkdir -v logs users ### sudo 1423 mkdir: created directory 'logs' mkdir: created directory 'users' frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ ls -al ### 1430 total 20 drwxr-xr-x 5 root root 4096 Jul 12 14:39 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. drwxr-xr-x 2 root root 4096 Jul 12 14:37 cgi-bin drwxr-xr-x 2 root root 4096 Jul 12 14:39 logs drwxr-xr-x 2 root root 4096 Jul 12 14:39 users frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ sudo chmod -v 775 users ### sudo 1449 mode of 'users' changed from 0755 (rwxr-xr-x) to 0775 (rwxrwxr-x) frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ ls -al ### 1455 total 20 drwxr-xr-x 5 root root 4096 Jul 12 14:39 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. drwxr-xr-x 2 root root 4096 Jul 12 14:37 cgi-bin drwxr-xr-x 2 root root 4096 Jul 12 14:39 logs drwxrwxr-x 2 root root 4096 Jul 12 14:39 users frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ ### Make sure users is now 0775 (drwxrwxr-x). 1463 frank@raspberrypi:/home/local/www $ frank@raspberrypi:/home/local/www $ cd ../ ### 1475 frank@raspberrypi:/home/local $ frank@raspberrypi:/home/local $ sudo chown -vR root:www www ### sudo 1480 changed ownership of 'www/users' from root:root to root:www changed ownership of 'www/logs' from root:root to root:www changed ownership of 'www/cgi-bin/ssi' from root:root to root:www changed ownership of 'www/cgi-bin/phf' from root:root to root:www changed ownership of 'www/cgi-bin/redirect' from root:root to root:www changed ownership of 'www/cgi-bin' from root:root to root:www changed ownership of 'www' from root:root to root:www frank@raspberrypi:/home/local $ frank@raspberrypi:/home/local $ ls -al ### 1492 total 20 drwxr-xr-x 5 root root 4096 Jul 12 14:37 . drwxr-xr-x 4 root root 4096 Jul 12 14:37 .. drwxr-xr-x 4 root root 4096 Jul 12 14:37 man drwxr-xr-x 2 root root 4096 Jul 12 14:37 sbin drwxr-xr-x 5 root www 4096 Jul 12 14:39 www frank@raspberrypi:/home/local $ frank@raspberrypi:/home/local $ cd ### 1511 frank@raspberrypi:~ $ frank@raspberrypi:~ $ addgroup --help ### 1516 adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a normal user adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a system user adduser --group [--gid ID] GROUP addgroup [--gid ID] GROUP Add a user group addgroup --system [--gid ID] GROUP Add a system group adduser USER GROUP Add an existing user to an existing group general options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX configuration variable --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo adduser --add_extra_groups a0 ### sudo 1557 Adding user `a0' ... Adding new group `a0' (1001) ... Adding new user `a0' (1001) with group `a0' ... Creating home directory `/home/a0' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for a0 Enter the new value, or press ENTER for the default Full Name []: a0 Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y Adding new user `a0' to extra groups ... Adding user `a0' to group `dialout' ... Adding user `a0' to group `cdrom' ... Adding user `a0' to group `floppy' ... Adding user `a0' to group `audio' ... Adding user `a0' to group `video' ... Adding user `a0' to group `plugdev' ... Adding user `a0' to group `users' ... frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo adduser a0 www ### sudo adduser XXXX to group yyy. 1596 Adding user `a0' to group `www' ... Adding user a0 to group www Done. frank@raspberrypi:~ $ frank@raspberrypi:~ $ su a0 ### Change to user "a0" 1604 Password: a0@raspberrypi:/home/frank $ a0@raspberrypi:/home/frank $ cd ### Change to the "a0" home directory. 1614 a0@raspberrypi:~ $ a0@raspberrypi:~ $ ls -al ### 1619 total 24 drwxr-xr-x 2 a0 a0 4096 Jul 12 14:42 . drwxr-xr-x 5 root root 4096 Jul 12 14:42 .. -rw-r--r-- 1 a0 a0 220 Jul 12 14:42 .bash_logout -rw-r--r-- 1 a0 a0 3523 Jul 12 14:42 .bashrc -rw-r--r-- 1 a0 a0 1670 Jul 12 14:42 .mkshrc -rw-r--r-- 1 a0 a0 807 Jul 12 14:42 .profile a0@raspberrypi:~ $ a0@raspberrypi:~ $ touch .1001 ### Since the computer uses numbers instead of names this is one way to know what number a user is. The period before the number will keep it from copying to the web page since it makes the file hidden. 1630 a0@raspberrypi:~ $ a0@raspberrypi:~ $ makeweb ### 1639 Created web directory /home/local/www/users/a0 Created symbolic link /home/a0/public_html a0@raspberrypi:~ $ a0@raspberrypi:~ $ ls -al ### 1646 total 24 drwxr-xr-x 2 a0 a0 4096 Jul 12 14:45 . drwxr-xr-x 5 root root 4096 Jul 12 14:42 .. -rw-r--r-- 1 a0 a0 0 Jul 12 14:44 .1001 -rw-r--r-- 1 a0 a0 220 Jul 12 14:42 .bash_logout -rw-r--r-- 1 a0 a0 3523 Jul 12 14:42 .bashrc -rw-r--r-- 1 a0 a0 1670 Jul 12 14:42 .mkshrc -rw-r--r-- 1 a0 a0 807 Jul 12 14:42 .profile lrwxrwxrwx 1 a0 www 24 Jul 12 14:45 public_html -> /home/local/www/users/a0 a0@raspberrypi:~ $ a0@raspberrypi:~ $ exit ### This lets us exit back to where we were. 1660 exit frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /etc/group ### 1666 root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:frank tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:frank,a0 fax:x:21: voice:x:22: cdrom:x:24:frank,a0 floppy:x:25:a0 tape:x:26: sudo:x:27:frank audio:x:29:pulse,frank,a0 dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43: video:x:44:frank,a0 sasl:x:45: plugdev:x:46:frank,a0 staff:x:50: games:x:60:frank users:x:100:frank,a0 nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: systemd-resolve:x:103: input:x:104:frank kvm:x:105: render:x:106:frank crontab:x:107: netdev:x:108:frank systemd-timesync:x:109: messagebus:x:110: ssh:x:111: bluetooth:x:112: avahi:x:113: spi:x:999:frank i2c:x:998:frank gpio:x:997:frank lightdm:x:114: rdma:x:115: rtkit:x:116: lpadmin:x:117:root,frank ssl-cert:x:118: pulse:x:119: pulse-access:x:120: scanner:x:121:saned saned:x:122: colord:x:123: epmd:x:124: geoclue:x:125: systemd-coredump:x:996: frank:x:1000: www:x:126:frank,a0 a0:x:1001: frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /home ### 1744 frank@raspberrypi:/home $ frank@raspberrypi:/home $ ls -al ### 1748 total 20 drwxr-xr-x 5 root root 4096 Jul 12 14:42 . drwxr-xr-x 21 root root 4096 Jul 12 14:23 .. drwxr-xr-x 2 a0 a0 4096 Jul 12 14:45 a0 drwxr-xr-x 16 frank frank 4096 Jul 12 14:20 frank drwxr-xr-x 5 root root 4096 Jul 12 14:37 local frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo chown -vR a0:www a0 ### sudo 1763 ownership of 'a0/public_html' retained as a0:www changed ownership of 'a0/.profile' from a0:a0 to a0:www changed ownership of 'a0/.mkshrc' from a0:a0 to a0:www changed ownership of 'a0/.bash_history' from a0:a0 to a0:www changed ownership of 'a0/.bashrc' from a0:a0 to a0:www changed ownership of 'a0/.bash_logout' from a0:a0 to a0:www changed ownership of 'a0/.1001' from a0:a0 to a0:www changed ownership of 'a0' from a0:a0 to a0:www frank@raspberrypi:/home $ frank@raspberrypi:/home $ ls -al ### 1775 total 20 drwxr-xr-x 5 root root 4096 Jul 12 14:42 . drwxr-xr-x 21 root root 4096 Jul 12 14:23 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 drwxr-xr-x 16 frank frank 4096 Jul 12 14:20 frank drwxr-xr-x 5 root root 4096 Jul 12 14:37 local frank@raspberrypi:/home $ frank@raspberrypi:/home $ cd /home/local/www/users ### 1785 frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ ls -al ### 1790 total 12 drwxrwxr-x 3 root www 4096 Jul 12 14:45 . drwxr-xr-x 5 root www 4096 Jul 12 14:39 .. drwxr-xr-x 2 a0 a0 4096 Jul 12 14:45 a0 frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ sudo chown -vR a0:www a0 ### sudo 1803 changed ownership of 'a0' from a0:a0 to a0:www frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ ls -al ### 1809 total 12 drwxrwxr-x 3 root www 4096 Jul 12 14:45 . drwxr-xr-x 5 root www 4096 Jul 12 14:39 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ date ### 1820 Tue 12 Jul 2022 02:48:33 PM MDT frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ cd /home/local/sbin ### 1836 frank@raspberrypi:/home/local/sbin $ frank@raspberrypi:/home/local/sbin $ ls -al ### 1841 total 136 drwxr-xr-x 2 root root 4096 Jul 12 14:37 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. -rwxr-xr-x 1 root root 13692 Jul 12 14:37 htpasswd -rwxr-sr-x 1 root www 12996 Jul 12 14:37 makeweb -r-xr-xr-x 1 root root 2878 Jul 12 14:37 syslogtocern -r-xr-xr-x 1 bin bin 91232 Jul 12 14:37 thttpd frank@raspberrypi:/home/local/sbin $ frank@raspberrypi:/home/local/sbin $ cd ~/freedom ### (The directory "freedom" should be in "/home/(pi)/"). 1853 frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ ls -al ### 1857 total 788 drwxr-xr-x 7 frank frank 4096 Jul 12 14:19 . drwxr-xr-x 16 frank frank 4096 Jul 12 14:20 .. -r--r--r-- 1 frank frank 32014 Jan 8 2020 2010Website.pdf -r--r--r-- 1 frank frank 11024 Jan 8 2020 2019-09-05-Project.txt -r--r--r-- 1 frank frank 11941 Jan 8 2020 2019-10-01-website.txt -r--r--r-- 1 frank frank 6365 Jan 8 2020 2019-11-26-web-server.txt -r--r--r-- 1 frank frank 21340 Jan 8 2020 2019-12-06-Google-Search-Is-Broken.txt -rw-r--r-- 1 frank frank 12817 Jun 14 17:21 2020-07-17-thttpd.txt -r--r--r-- 1 frank frank 17955 Sep 10 2021 2021-09-01.txt -r--r--r-- 1 frank frank 18393 Sep 11 2021 2021-09-07-Formatting-Drives-Greater-Than-512GB.txt -rw-r--r-- 1 frank frank 213469 Jul 12 14:08 2022-07-12-thttpd-install-on-32-or-64-bit-OS.txt -rw-r--r-- 1 frank frank 213465 Jul 12 10:27 2022-07-12-thttpd-install-on-32-or-64-bit-OS.txt~ -rw-r--r-- 1 frank frank 10278 Jul 12 14:19 2022-07-12-thttpd-install-test.txt drwxr-xr-x 22 frank frank 4096 Jul 12 13:39 Acme.com -rw-r--r-- 1 frank frank 24052 Mar 23 15:18 command-line-PATH-bug.txt drwxr-xr-x 4 frank frank 4096 Jul 12 13:39 'HTML Sampler_files' -r--r--r-- 1 frank frank 26907 Aug 16 2021 'HTML Sampler.html' -rw-r--r-- 1 frank frank 85 Jun 7 13:17 list.txt drwxr-xr-x 2 frank frank 4096 Jul 12 13:39 os-debug -rw-r--r-- 1 frank frank 25893 Jun 7 13:04 readme.txt -r--r--r-- 1 frank frank 80728 Sep 8 2021 rfc3875-CGI.txt -r--r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml -r--r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml.txt -rwxr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config -r-xr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config~ drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 thttpd-extras drwxr-xr-x 4 frank frank 4096 Jul 12 13:39 vhost-DN-test frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ sudo cp -av thttpd-extras /home/local/sbin/ ### sudo 1890 'thttpd-extras' -> '/home/local/sbin/thttpd-extras' 'thttpd-extras/thttpd.sh' -> '/home/local/sbin/thttpd-extras/thttpd.sh' 'thttpd-extras/thttpd_config' -> '/home/local/sbin/thttpd-extras/thttpd_config' 'thttpd-extras/anvil_thttpd.gif' -> '/home/local/sbin/thttpd-extras/anvil_thttpd.gif' 'thttpd-extras/readme.txt' -> '/home/local/sbin/thttpd-extras/readme.txt' 'thttpd-extras/thttpd-rotate~' -> '/home/local/sbin/thttpd-extras/thttpd-rotate~' 'thttpd-extras/thttpd.sh~' -> '/home/local/sbin/thttpd-extras/thttpd.sh~' 'thttpd-extras/thttpd_config~' -> '/home/local/sbin/thttpd-extras/thttpd_config~' 'thttpd-extras/sitemap.xml' -> '/home/local/sbin/thttpd-extras/sitemap.xml' 'thttpd-extras/thttpd-rotate' -> '/home/local/sbin/thttpd-extras/thttpd-rotate' 'thttpd-extras/sitemap.xml.txt' -> '/home/local/sbin/thttpd-extras/sitemap.xml.txt' 'thttpd-extras/favicon.ico' -> '/home/local/sbin/thttpd-extras/favicon.ico' 'thttpd-extras/rc.local~' -> '/home/local/sbin/thttpd-extras/rc.local~' 'thttpd-extras/thttpd_wrapper' -> '/home/local/sbin/thttpd-extras/thttpd_wrapper' 'thttpd-extras/robots-site.txt' -> '/home/local/sbin/thttpd-extras/robots-site.txt' 'thttpd-extras/robots.txt' -> '/home/local/sbin/thttpd-extras/robots.txt' 'thttpd-extras/rc.local' -> '/home/local/sbin/thttpd-extras/rc.local' 'thttpd-extras/thttpd_wrapper~' -> '/home/local/sbin/thttpd-extras/thttpd_wrapper~' 'thttpd-extras/vhost-DN-test' -> '/home/local/sbin/thttpd-extras/vhost-DN-test' 'thttpd-extras/vhost-DN-test/192.168.1.128' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128' 'thttpd-extras/vhost-DN-test/192.168.1.128/a0' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/a0' 'thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' 'thttpd-extras/vhost-DN-test/a0' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/a0' 'thttpd-extras/vhost-DN-test/a0/test' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/a0/test' frank@raspberrypi:~/freedom $ ##### I missed the sudo!!! sudo cp -av os-debug /home/local/sbin/ ### sudo 1919 frank@raspberrypi:~/freedom $ cp -av os-debug /home/local/sbin/ ### sudo 1919 cp: cannot create directory '/home/local/sbin/os-debug': Permission denied frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ cd /home/local/sbin/thttpd-extras ### 1935 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -al ### 1939 total 80 drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 . drwxr-xr-x 3 root root 4096 Jul 12 14:50 .. -r--r--r-- 1 frank frank 533 Jan 8 2020 anvil_thttpd.gif -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico -rwxr-xr-- 1 frank frank 485 Aug 31 2021 rc.local -r-xr-xr-- 1 frank frank 485 Aug 31 2021 rc.local~ -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -r--r--r-- 1 frank frank 73 Jan 8 2020 robots-site.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt -rw-r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml -r--r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml.txt -rwxr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config -r-xr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config~ -rwxr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate -r-xr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate~ -rwxr-xr-- 1 frank frank 136 Apr 22 17:00 thttpd.sh -r-xr-xr-- 1 frank frank 136 Apr 22 17:02 thttpd.sh~ -rwxr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper -r-xr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper~ drwxr-xr-x 4 frank frank 4096 Jul 12 13:39 vhost-DN-test frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat /etc/rc.local ### 1965 #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi exit 0 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat rc.local ### 1990 #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi # Start thttpd echo "Starting thttpd. \n" . /etc/thttpd.sh # exit 0 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -av rc.local /etc/rc.local ### sudo 2019 'rc.local' -> '/etc/rc.local' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -l /etc/rc.local ### 2025 -rwxr-xr-- 1 frank frank 485 Aug 31 2021 /etc/rc.local frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ # (rc.local is still 0754) 2027 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -av thttpd.sh /etc/ ### sudo 2032 'thttpd.sh' -> '/etc/thttpd.sh' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -l /etc/thttpd.sh ### 2038 -rwxr-xr-- 1 frank frank 136 Apr 22 17:00 /etc/thttpd.sh frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ # (thttpd.sh is still 0754) 2040 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat thttpd.sh ### 2045 #!/bin/sh # thttpd.sh if [ -x /home/local/sbin/thttpd_wrapper ] ; then echo " thttpd " /home/local/sbin/thttpd_wrapper & fi # exit 0 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -av thttpd_wrapper ../ ### sudo 2064 'thttpd_wrapper' -> '../thttpd_wrapper' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -l /home/local/sbin ### 2069 total 136 -rwxr-xr-x 1 root root 13692 Jul 12 14:37 htpasswd -rwxr-sr-x 1 root www 12996 Jul 12 14:37 makeweb -r-xr-xr-x 1 root root 2878 Jul 12 14:37 syslogtocern -r-xr-xr-x 1 bin bin 91232 Jul 12 14:37 thttpd drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 thttpd-extras -rwxr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat thttpd_wrapper ### 2087 #!/bin/sh # thttpd_wrapper while true ; do /home/local/sbin/thttpd -D -C /home/local/www/thttpd_config sleep 10 done # frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat /etc/crontab ### 2105 # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -av thttpd-rotate /etc/cron.daily/ ### sudo 2132 'thttpd-rotate' -> '/etc/cron.daily/thttpd-rotate' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -al /etc/cron.daily ### 2137 total 40 drwxr-xr-x 2 root root 4096 Jul 12 14:55 . drwxr-xr-x 129 root root 12288 Jul 12 14:53 .. -rwxr-xr-x 1 root root 1478 Jun 10 2021 apt-compat -rwxr-xr-x 1 root root 1298 Apr 29 2021 dpkg -rwxr-xr-x 1 root root 377 Feb 28 2021 logrotate -rwxr-xr-x 1 root root 1123 Feb 19 2021 man-db -rw-r--r-- 1 root root 102 Feb 22 2021 .placeholder -rwxr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ### (thttpd_rotate is still 0754) 2148 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat thttpd-rotate ### 2156 #!/bin/sh # /etc/cron.daily/thttpd-rotate cd /home/local/www/logs rm -f thttpd_log.50 mv thttpd_log.49 thttpd_log.50 mv thttpd_log.48 thttpd_log.49 mv thttpd_log.47 thttpd_log.48 mv thttpd_log.46 thttpd_log.47 mv thttpd_log.45 thttpd_log.46 mv thttpd_log.44 thttpd_log.45 mv thttpd_log.43 thttpd_log.44 mv thttpd_log.42 thttpd_log.43 mv thttpd_log.41 thttpd_log.42 mv thttpd_log.40 thttpd_log.41 mv thttpd_log.39 thttpd_log.40 mv thttpd_log.38 thttpd_log.39 mv thttpd_log.37 thttpd_log.38 mv thttpd_log.36 thttpd_log.37 mv thttpd_log.35 thttpd_log.36 mv thttpd_log.34 thttpd_log.35 mv thttpd_log.33 thttpd_log.34 mv thttpd_log.32 thttpd_log.33 mv thttpd_log.31 thttpd_log.32 mv thttpd_log.30 thttpd_log.31 mv thttpd_log.29 thttpd_log.30 mv thttpd_log.28 thttpd_log.29 mv thttpd_log.27 thttpd_log.28 mv thttpd_log.26 thttpd_log.27 mv thttpd_log.25 thttpd_log.26 mv thttpd_log.24 thttpd_log.25 mv thttpd_log.23 thttpd_log.24 mv thttpd_log.22 thttpd_log.23 mv thttpd_log.21 thttpd_log.22 mv thttpd_log.20 thttpd_log.21 mv thttpd_log.19 thttpd_log.20 mv thttpd_log.18 thttpd_log.19 mv thttpd_log.17 thttpd_log.18 mv thttpd_log.16 thttpd_log.17 mv thttpd_log.15 thttpd_log.16 mv thttpd_log.14 thttpd_log.15 mv thttpd_log.13 thttpd_log.14 mv thttpd_log.12 thttpd_log.13 mv thttpd_log.11 thttpd_log.12 mv thttpd_log.10 thttpd_log.11 mv thttpd_log.09 thttpd_log.10 mv thttpd_log.08 thttpd_log.09 mv thttpd_log.07 thttpd_log.08 mv thttpd_log.06 thttpd_log.07 mv thttpd_log.05 thttpd_log.06 mv thttpd_log.04 thttpd_log.05 mv thttpd_log.03 thttpd_log.04 mv thttpd_log.02 thttpd_log.03 mv thttpd_log.01 thttpd_log.02 date >> thttpd_log w >> thttpd_log mv thttpd_log thttpd_log.01 date > thttpd_log w >> thttpd_log kill -usr1 `cat /var/run/thttpd.pid` # frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -av thttpd_config* /home/local/www/ ### sudo 2258 'thttpd_config' -> '/home/local/www/thttpd_config' 'thttpd_config~' -> '/home/local/www/thttpd_config~' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -al /home/local/www/ ### 2264 total 28 drwxr-xr-x 5 root www 4096 Jul 12 14:56 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. drwxr-xr-x 2 root www 4096 Jul 12 14:37 cgi-bin drwxr-xr-x 2 root www 4096 Jul 12 14:39 logs -rwxr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config -r-xr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config~ drwxrwxr-x 3 root www 4096 Jul 12 14:45 users frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat thttpd_config ### 2277 # /home/local/www/thttpd_config dir=/home/local/www chroot #chroot jail data_dir=users #vhost # if you use a domain name you will have to uncomment (remove the # at the beginning) and then make a "user" directory using your external IPv4 address (xxx.xxx.xxx.xxx) and inside this directory make symbolic links back up to your other files in "users" (ln -rs ../"user-name"), see: "vhost-DN-test". cgipat=**.cgi logfile=/home/local/www/logs/thttpd_log pidfile=/var/run/thttpd.pid # frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ date ### 2304 Tue 12 Jul 2022 02:57:38 PM MDT frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cd ../ ### 2309 frank@raspberrypi:/home/local/sbin $ frank@raspberrypi:/home/local/sbin $ cat thttpd_wrapper ### 2317 #!/bin/sh # thttpd_wrapper while true ; do /home/local/sbin/thttpd -D -C /home/local/www/thttpd_config sleep 10 done # frank@raspberrypi:/home/local/sbin $ frank@raspberrypi:/home/local/sbin $ # ***** Start a new terminal here! ****** ### 2330 frank@raspberrypi:/home/local/sbin $ frank@raspberrypi:/home/local/sbin $ cd ### We are changing to pi home and will need to start a new terminal since it is going to lock up as soon as thttpd starts. 2334 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 2344 Tue 12 Jul 2022 03:02:59 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ # At this point the new terminal will be locked up! 2352 frank@raspberrypi:~ $ frank@raspberrypi:~ $ ### On the busy terminal, Control C or Control X won't stop the program. The only way to stop it is by going to a different terminal and find "thttpd" in "ps -e" then "sudo kill (program number), in this case it was xxxx for sudo, and xxxx for thttpd. 2353 frank@raspberrypi:~ $ elinks http://localhost/ ### 2377 Index of / Index of / mode links bytes last-changed name ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dr-x 3 4096 Jul 12 20:45 ./ dr-x 5 4096 Jul 12 20:56 ../ dr-x 2 4096 Jul 12 20:45 a0/ http://localhost/ frank@raspberrypi:~ $ ps -e PID TTY TIME CMD 1 ? 00:00:03 systemd 2 ? 00:00:00 kthreadd 3 ? 00:00:00 rcu_gp 4 ? 00:00:00 rcu_par_gp 8 ? 00:00:00 mm_percpu_wq 9 ? 00:00:00 rcu_tasks_rude_ 10 ? 00:00:00 rcu_tasks_trace 11 ? 00:00:00 ksoftirqd/0 12 ? 00:00:01 rcu_sched 13 ? 00:00:00 migration/0 14 ? 00:00:00 cpuhp/0 15 ? 00:00:00 cpuhp/1 16 ? 00:00:00 migration/1 17 ? 00:00:00 ksoftirqd/1 18 ? 00:00:00 kworker/1:0-events 20 ? 00:00:00 cpuhp/2 21 ? 00:00:00 migration/2 22 ? 00:00:00 ksoftirqd/2 25 ? 00:00:00 cpuhp/3 26 ? 00:00:00 migration/3 27 ? 00:00:00 ksoftirqd/3 30 ? 00:00:00 kdevtmpfs 31 ? 00:00:00 netns 32 ? 00:00:00 inet_frag_wq 33 ? 00:00:00 kworker/2:1-mm_percpu_wq 37 ? 00:00:00 kauditd 38 ? 00:00:00 khungtaskd 39 ? 00:00:00 oom_reaper 40 ? 00:00:00 writeback 41 ? 00:00:00 kcompactd0 61 ? 00:00:00 kblockd 62 ? 00:00:00 blkcg_punt_bio 63 ? 00:00:00 watchdogd 64 ? 00:00:02 kworker/u8:1-events_unbound 65 ? 00:00:00 kworker/2:1H-kblockd 66 ? 00:00:00 rpciod 67 ? 00:00:00 kworker/u9:0-hci0 68 ? 00:00:00 xprtiod 70 ? 00:00:00 kswapd0 71 ? 00:00:00 nfsiod 72 ? 00:00:00 kthrotld 74 ? 00:00:00 iscsi_eh 75 ? 00:00:00 iscsi_conn_clea 76 ? 00:00:00 nvme-wq 77 ? 00:00:00 nvme-reset-wq 78 ? 00:00:00 nvme-delete-wq 80 ? 00:00:00 DWC Notificatio 81 ? 00:00:00 uas 82 ? 00:00:00 vchiq-slot/0 83 ? 00:00:00 vchiq-recy/0 84 ? 00:00:00 vchiq-sync/0 85 ? 00:00:00 zswap-shrink 87 ? 00:00:00 sdhci 88 ? 00:00:00 irq/62-mmc0 89 ? 00:00:00 mmc_complete 90 ? 00:00:00 kworker/0:1H-mmc_complete 91 ? 00:00:00 jbd2/mmcblk0p2- 92 ? 00:00:00 ext4-rsv-conver 97 ? 00:00:00 mld 98 ? 00:00:00 ipv6_addrconf 102 ? 00:00:00 kworker/3:1H-kblockd 140 ? 00:00:01 systemd-journal 163 ? 00:00:01 systemd-udevd 200 ? 00:00:00 vchiq-keep/0 203 ? 00:00:00 SMIO 210 ? 00:00:00 mmal-vchiq 215 ? 00:00:00 mmal-vchiq 216 ? 00:00:00 mmal-vchiq 219 ? 00:00:00 mmal-vchiq 220 ? 00:00:00 mmal-vchiq 230 ? 00:00:00 mmal-vchiq 246 ? 00:00:00 mmal-vchiq 263 ? 00:00:07 v3d_bin 267 ? 00:00:08 v3d_render 271 ? 00:00:00 v3d_tfu 273 ? 00:00:00 v3d_csd 278 ? 00:00:00 v3d_cache_clean 352 ? 00:00:00 cfg80211 353 ? 00:00:00 brcmf_wq/mmc1:0 359 ? 00:00:00 brcmf_wdog/mmc1 367 ? 00:00:00 avahi-daemon 369 ? 00:00:00 cron 372 ? 00:00:00 dbus-daemon 373 ? 00:00:00 avahi-daemon 374 ? 00:00:00 kworker/u9:1-brcmf_wq/mmc1:0001:1 420 ? 00:00:00 polkitd 456 ? 00:00:00 rsyslogd 459 ? 00:00:00 systemd-logind 464 ? 00:00:03 thd 469 ? 00:00:00 udisksd 470 ? 00:00:00 dhcpcd 474 ? 00:00:00 wpa_supplicant 528 ? 00:00:00 irq/53-vc4 hdmi 529 ? 00:00:00 irq/54-vc4 hdmi 530 ? 00:00:00 cec-vc4 531 ? 00:00:00 irq/50-vc4 hdmi 537 ? 00:00:00 irq/49-vc4 hdmi 542 ? 00:00:00 irq/59-vc4 hdmi 545 ? 00:00:00 irq/60-vc4 hdmi 546 ? 00:00:00 ModemManager 547 ? 00:00:00 rngd 548 ? 00:00:00 cec-vc4 556 ? 00:00:00 cupsd 557 ? 00:00:00 irq/56-vc4 hdmi 558 ? 00:00:00 irq/55-vc4 hdmi 561 ? 00:00:00 card0-crtc0 562 ? 00:00:00 epmd 563 ? 00:00:00 card0-crtc1 564 ? 00:00:00 card0-crtc2 565 ? 00:00:00 card0-crtc3 568 ? 00:00:00 card0-crtc4 569 ? 00:00:00 card0-crtc5 578 ? 00:00:00 lightdm 586 ? 00:00:00 cups-browsed 608 tty7 00:02:42 Xorg 609 tty1 00:00:00 login 635 ? 00:00:00 wpa_supplicant 649 ? 00:00:00 lightdm 654 ? 00:00:00 systemd 655 ? 00:00:00 (sd-pam) 669 ? 00:00:00 pipewire 670 ? 00:00:00 pulseaudio 671 ? 00:00:00 lxsession 679 ? 00:00:00 rtkit-daemon 689 ? 00:00:00 dbus-daemon 690 ? 00:00:00 hciattach 708 ? 00:00:00 bluetoothd 711 tty1 00:00:00 bash 725 ? 00:00:00 pipewire-media- 729 ? 00:00:00 cryptd 789 ? 00:00:00 ssh-agent 814 ? 00:00:00 krfcommd 822 ? 00:00:00 gvfsd 827 ? 00:00:00 gvfsd-fuse 837 ? 00:00:49 mutter 841 ? 00:00:00 lxpolkit 842 ? 00:00:18 lxpanel 843 ? 00:00:01 pcmanfm 850 ? 00:00:00 agent 852 ? 00:00:00 ssh-agent 856 ? 00:00:00 applet.py 915 ? 00:00:00 menu-cached 922 ? 00:00:00 gvfs-udisks2-vo 927 ? 00:00:00 gvfs-goa-volume 931 ? 00:00:00 gvfs-gphoto2-vo 935 ? 00:00:00 gvfs-afc-volume 940 ? 00:00:00 gvfs-mtp-volume 966 ? 00:00:00 gvfsd-trash 1109 ? 00:00:05 packagekitd 1308 ? 00:00:00 systemd-timesyn 1313 ? 00:01:28 geany 1332 pts/0 00:00:00 bash 2349 ? 00:00:00 kworker/1:0H-kblockd 4626 ? 00:00:00 kworker/1:1H 5642 ? 00:00:01 kworker/u8:0-events_unbound 5916 ? 00:00:00 kworker/1:2-events 6575 ? 00:00:00 kworker/0:0-events 6826 ? 00:00:00 kworker/3:2-events 6850 ? 00:00:00 kworker/2:0-events 7022 ? 00:00:00 kworker/3:2H 7167 ? 00:00:00 kworker/u8:3-events_unbound 7168 ? 00:00:00 kworker/2:0H 7372 ? 00:00:01 lxterminal 7378 pts/1 00:00:00 bash 7582 ? 00:00:00 kworker/3:0-events 7641 ? 00:00:00 kworker/0:2H 7645 ? 00:00:00 kworker/1:1-mm_percpu_wq 7858 pts/1 00:00:00 sudo 7859 ? 00:00:03 thttpd 7890 ? 00:00:00 kworker/0:1-events 7925 ? 00:00:00 kworker/2:3-events 8070 ? 00:00:00 kworker/u8:2-events_unbound 8209 ? 00:00:00 kworker/3:1-mm_percpu_wq 8260 ? 00:00:00 kworker/2:2H 8271 ? 00:00:00 kworker/0:0H 8374 ? 00:00:00 kworker/3:3-events 8507 ? 00:00:00 kworker/0:2-events 8595 pts/0 00:00:00 ps frank@raspberrypi:~ $ frank@raspberrypi:~ $ ps p 7858 7859 PID TTY STAT TIME COMMAND 7858 pts/1 S+ 0:00 sudo /home/local/sbin/thttpd -D -C /home/local/www/thttpd_config 7859 ? Ss 0:03 /home/local/sbin/thttpd -D -C /home/local/www/thttpd_config frank@raspberrypi:~ $ frank@raspberrypi:~ $ sudo kill 7858 7859 frank@raspberrypi:~ $ sudo kill 7858 7859 kill: (7858): No such process kill: (7859): No such process frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 2638 Tue 12 Jul 2022 03:10:10 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 2638 Tue 12 Jul 2022 03:15:46 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /home/local/www/logs ### 2643 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ ls -al ### 2648 total 12 drwxr-xr-x 2 root www 4096 Jul 12 15:02 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. -rw-r--r-- 1 nobody nogroup 282 Jul 12 15:06 thttpd_log frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log ### 2653 ::1 - - [12/Jul/2022:21:05:50 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" ::1 - - [12/Jul/2022:21:06:04 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://localhost/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" frank@raspberrypi:/home/local/www/logs $ ### The program thttpd is working OK. 2659 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cd /home/local/sbin/thttpd-extras/ ### 2668 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -al ### 2672 total 80 drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 . drwxr-xr-x 3 root root 4096 Jul 12 14:54 .. -r--r--r-- 1 frank frank 533 Jan 8 2020 anvil_thttpd.gif -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico -rwxr-xr-- 1 frank frank 485 Aug 31 2021 rc.local -r-xr-xr-- 1 frank frank 485 Aug 31 2021 rc.local~ -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -r--r--r-- 1 frank frank 73 Jan 8 2020 robots-site.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt -rw-r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml -r--r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml.txt -rwxr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config -r-xr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config~ -rwxr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate -r-xr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate~ -rwxr-xr-- 1 frank frank 136 Apr 22 17:00 thttpd.sh -r-xr-xr-- 1 frank frank 136 Apr 22 17:02 thttpd.sh~ -rwxr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper -r-xr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper~ drwxr-xr-x 4 frank frank 4096 Jul 12 13:39 vhost-DN-test frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -iav favicon.ico /home/local/www/users/ ### sudo 2698 'favicon.ico' -> '/home/local/www/users/favicon.ico' frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -iav readme.txt /home/local/www/users/ ### sudo 2703 'readme.txt' -> '/home/local/www/users/readme.txt' frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo cp -iav robots.txt /home/local/www/users/ ### sudo 2708 'robots.txt' -> '/home/local/www/users/robots.txt' frank@raspberrypi:/home/local/sbin/thttpd-extras $ sudo ls -al /home/local/www/users/ ### sudo 2713 total 24 total 24 drwxrwxr-x 3 root www 4096 Jul 12 15:20 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt bash: total: command not found frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ date ### 2723 Tue 12 Jul 2022 03:21:16 PM MDT frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat robots-site.txt ### 2729 User-agent: * Disallow: Sitemap: http://xxx.xxx.xxx.xxx/sitemap.xml/ frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat sitemap.xml ### 2737 http://xxx.xxx.xxx.xxx/ frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cd /etc ### 2759 frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ date ### 2765 Tue 12 Jul 2022 03:22:31 PM MDT frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ sudo ./rc.local ### sudo (Starting thttpd from rc.local, REMEMBER the sudo!!!!!!) 2771 My IP address is 192.168.1.187 192.168.1.86 Starting thttpd. thttpd frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ elinks 192.168.1.187 ### 2783 Index of / Index of / mode links bytes last-changed name ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dr-x 3 4096 Jul 12 21:20 ./ dr-x 5 4096 Jul 12 20:56 ../ dr-x 2 4096 Jul 12 20:45 a0/ -r-- 1 533 Jan 9 2020 favicon.ico -r-- 1 308 Aug 14 2021 readme.txt -r-- 1 27 Jan 9 2020 robots.txt http://192.168.1.187/ Index of / Index of / mode links bytes last-changed name ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dr-x 3 4096 Jul 12 21:20 ./ dr-x 5 4096 Jul 12 20:56 ../ dr-x 2 4096 Jul 12 20:45 a0/ -r-- 1 533 Jan 9 2020 favicon.ico -r-- 1 308 Aug 14 2021 readme.txt -r-- 1 27 Jan 9 2020 robots.txt http://192.168.1.187/ Index of / Index of / mode links bytes last-changed name ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dr-x 3 4096 Jul 12 21:20 ./ dr-x 5 4096 Jul 12 20:56 ../ dr-x 2 4096 Jul 12 20:45 a0/ -r-- 1 533 Jan 9 2020 favicon.ico -r-- 1 308 Aug 14 2021 readme.txt -r-- 1 27 Jan 9 2020 robots.txt http://192.168.1.187/a0/ frank@raspberrypi:/etc $ elinks 192.168.1.86 ### 2783 Index of / Index of / mode links bytes last-changed name ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dr-x 3 4096 Jul 12 21:20 ./ dr-x 5 4096 Jul 12 20:56 ../ dr-x 2 4096 Jul 12 20:45 a0/ -r-- 1 533 Jan 9 2020 favicon.ico -r-- 1 308 Aug 14 2021 readme.txt -r-- 1 27 Jan 9 2020 robots.txt http://192.168.1.86/a0/ frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cat /home/local/www/logs/*log ### 2841 ::1 - - [12/Jul/2022:21:05:50 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" ::1 - - [12/Jul/2022:21:06:04 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://localhost/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:27 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:41 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:44 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:48 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:52 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:09 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:11 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:14 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:18 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:21 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" frank@raspberrypi:/etc $ frank@raspberrypi:/etc $ cd cron.daily ### 2863 frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ ls -al ### 2867 total 40 drwxr-xr-x 2 root root 4096 Jul 12 14:55 . drwxr-xr-x 129 root root 12288 Jul 12 14:53 .. -rwxr-xr-x 1 root root 1478 Jun 10 2021 apt-compat -rwxr-xr-x 1 root root 1298 Apr 29 2021 dpkg -rwxr-xr-x 1 root root 377 Feb 28 2021 logrotate -rwxr-xr-x 1 root root 1123 Feb 19 2021 man-db -rw-r--r-- 1 root root 102 Feb 22 2021 .placeholder -rwxr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo ./thttpd-rotate ### # These files do not exist yet because we do not have 50 log files. 2884 mv: cannot stat 'thttpd_log.49': No such file or directory mv: cannot stat 'thttpd_log.48': No such file or directory mv: cannot stat 'thttpd_log.47': No such file or directory mv: cannot stat 'thttpd_log.46': No such file or directory mv: cannot stat 'thttpd_log.45': No such file or directory mv: cannot stat 'thttpd_log.44': No such file or directory mv: cannot stat 'thttpd_log.43': No such file or directory mv: cannot stat 'thttpd_log.42': No such file or directory mv: cannot stat 'thttpd_log.41': No such file or directory mv: cannot stat 'thttpd_log.40': No such file or directory mv: cannot stat 'thttpd_log.39': No such file or directory mv: cannot stat 'thttpd_log.38': No such file or directory mv: cannot stat 'thttpd_log.37': No such file or directory mv: cannot stat 'thttpd_log.36': No such file or directory mv: cannot stat 'thttpd_log.35': No such file or directory mv: cannot stat 'thttpd_log.34': No such file or directory mv: cannot stat 'thttpd_log.33': No such file or directory mv: cannot stat 'thttpd_log.32': No such file or directory mv: cannot stat 'thttpd_log.31': No such file or directory mv: cannot stat 'thttpd_log.30': No such file or directory mv: cannot stat 'thttpd_log.29': No such file or directory mv: cannot stat 'thttpd_log.28': No such file or directory mv: cannot stat 'thttpd_log.27': No such file or directory mv: cannot stat 'thttpd_log.26': No such file or directory mv: cannot stat 'thttpd_log.25': No such file or directory mv: cannot stat 'thttpd_log.24': No such file or directory mv: cannot stat 'thttpd_log.23': No such file or directory mv: cannot stat 'thttpd_log.22': No such file or directory mv: cannot stat 'thttpd_log.21': No such file or directory mv: cannot stat 'thttpd_log.20': No such file or directory mv: cannot stat 'thttpd_log.19': No such file or directory mv: cannot stat 'thttpd_log.18': No such file or directory mv: cannot stat 'thttpd_log.17': No such file or directory mv: cannot stat 'thttpd_log.16': No such file or directory mv: cannot stat 'thttpd_log.15': No such file or directory mv: cannot stat 'thttpd_log.14': No such file or directory mv: cannot stat 'thttpd_log.13': No such file or directory mv: cannot stat 'thttpd_log.12': No such file or directory mv: cannot stat 'thttpd_log.11': No such file or directory mv: cannot stat 'thttpd_log.10': No such file or directory mv: cannot stat 'thttpd_log.09': No such file or directory mv: cannot stat 'thttpd_log.08': No such file or directory mv: cannot stat 'thttpd_log.07': No such file or directory mv: cannot stat 'thttpd_log.06': No such file or directory mv: cannot stat 'thttpd_log.05': No such file or directory mv: cannot stat 'thttpd_log.04': No such file or directory mv: cannot stat 'thttpd_log.03': No such file or directory mv: cannot stat 'thttpd_log.02': No such file or directory mv: cannot stat 'thttpd_log.01': No such file or directory frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ cat /home/local/www/logs/*log ### 2939 Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ cat /home/local/www/logs/*log.01 ### 2949 ::1 - - [12/Jul/2022:21:05:50 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" ::1 - - [12/Jul/2022:21:06:04 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://localhost/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:27 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:41 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:44 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:48 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:52 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:09 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:11 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:14 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:18 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:21 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ cd ### Change to (frank) home. 2971 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man makeweb ### 2973 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man htpasswd ### 2975 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man syslogtocern ### 2977 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man thttpd ### 2979 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man redirect ### 2981 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man ssi ### 2983 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man strftime ### 2985 frank@raspberrypi:~ $ frank@raspberrypi:~ $ man weblog_parse ### 2987 No manual entry for weblog_parse frank@raspberrypi:~ $ frank@raspberrypi:~ $ man http_get ### 2990 No manual entry for http_get frank@raspberrypi:~ $ frank@raspberrypi:~ $ ### It looks like all of the man pages that come with thttpd are working. Some systems will not find the path to the man pages and those systems can use: sudo cp -iav /home/local/man/* /usr/local/man # to copy them over into "/usr/local/man" (see below). 2996 frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd ### 3042 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 3046 Tue 12 Jul 2022 03:32:51 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ ###****************************make log entries using different machines or phones. 3051 frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 3046 Tue 12 Jul 2022 03:54:02 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 3059 Tue 12 Jul 2022 03:54:22 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /home/local/www/logs ### 3069 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ ls -al ### 3073 total 16 drwxr-xr-x 2 root www 4096 Jul 12 15:27 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. -rw-r--r-- 1 nobody nogroup 3277 Jul 12 15:53 thttpd_log -rw-r--r-- 1 nobody nogroup 2239 Jul 12 15:27 thttpd_log.01 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log.01 ### 3083 ::1 - - [12/Jul/2022:21:05:50 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" ::1 - - [12/Jul/2022:21:06:04 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://localhost/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:27 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:41 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:44 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:48 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:52 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:09 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:11 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:14 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:18 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:21 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log ### 3105 Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash 192.168.1.241 - - [12/Jul/2022:21:42:42 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:18 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:32 +0000] "GET / HTTP/1.1" 200 25000 "http://192.168.1.86/a0/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:59 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:44:21 +0000] "UNKNOWN UNKNOWN" 400 0 "" "" 192.168.1.241 - - [12/Jul/2022:21:45:29 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:45:56 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:46:02 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.219 - - [12/Jul/2022:21:47:08 +0000] "GET / HTTP/1.1" 200 25000 "http://192.168.1.187/a0/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:47:12 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.3.0) Gecko/68.3.0 Firefox/68.3.0" 192.168.1.219 - - [12/Jul/2022:21:47:33 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:48:05 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:48:11 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:52:58 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:52:59 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.3.0) Gecko/68.3.0 Firefox/68.3.0" 192.168.1.219 - - [12/Jul/2022:21:53:05 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:53:09 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:53:14 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" frank@raspberrypi:/home/local/www/logs $ ##### 2200 - 2300 I missed a "sudo" and "frank@raspberrypi:~/freedom $ sudo cp -av os-debug /home/local/sbin/ ### sudo 1919" did not copy! frank@raspberrypi:/home/local/www/logs $ cd /home/local/sbin/os-debug/ ### 3140 bash: cd: /home/local/sbin/os-debug/: No such file or directory frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cd ~/freedom ### (The directory "freedom" should be in "/home/(pi)/"). 1853 frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ sudo cp -av thttpd-extras /home/local/sbin/ ### sudo 1890 'thttpd-extras/thttpd.sh' -> '/home/local/sbin/thttpd-extras/thttpd.sh' 'thttpd-extras/thttpd_config' -> '/home/local/sbin/thttpd-extras/thttpd_config' 'thttpd-extras/anvil_thttpd.gif' -> '/home/local/sbin/thttpd-extras/anvil_thttpd.gif' 'thttpd-extras/readme.txt' -> '/home/local/sbin/thttpd-extras/readme.txt' 'thttpd-extras/thttpd-rotate~' -> '/home/local/sbin/thttpd-extras/thttpd-rotate~' 'thttpd-extras/thttpd.sh~' -> '/home/local/sbin/thttpd-extras/thttpd.sh~' 'thttpd-extras/thttpd_config~' -> '/home/local/sbin/thttpd-extras/thttpd_config~' 'thttpd-extras/sitemap.xml' -> '/home/local/sbin/thttpd-extras/sitemap.xml' 'thttpd-extras/thttpd-rotate' -> '/home/local/sbin/thttpd-extras/thttpd-rotate' 'thttpd-extras/sitemap.xml.txt' -> '/home/local/sbin/thttpd-extras/sitemap.xml.txt' 'thttpd-extras/favicon.ico' -> '/home/local/sbin/thttpd-extras/favicon.ico' 'thttpd-extras/rc.local~' -> '/home/local/sbin/thttpd-extras/rc.local~' 'thttpd-extras/thttpd_wrapper' -> '/home/local/sbin/thttpd-extras/thttpd_wrapper' 'thttpd-extras/robots-site.txt' -> '/home/local/sbin/thttpd-extras/robots-site.txt' 'thttpd-extras/robots.txt' -> '/home/local/sbin/thttpd-extras/robots.txt' 'thttpd-extras/rc.local' -> '/home/local/sbin/thttpd-extras/rc.local' 'thttpd-extras/thttpd_wrapper~' -> '/home/local/sbin/thttpd-extras/thttpd_wrapper~' removed '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/a0' 'thttpd-extras/vhost-DN-test/192.168.1.128/a0' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/a0' 'thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' 'thttpd-extras/vhost-DN-test/a0/test' -> '/home/local/sbin/thttpd-extras/vhost-DN-test/a0/test' frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ sudo cp -av os-debug /home/local/sbin/ ### sudo 1919 'os-debug' -> '/home/local/sbin/os-debug' 'os-debug/readme.txt~' -> '/home/local/sbin/os-debug/readme.txt~' 'os-debug/readme.txt' -> '/home/local/sbin/os-debug/readme.txt' 'os-debug/dead-thttpd' -> '/home/local/sbin/os-debug/dead-thttpd' 'os-debug/thttpd-rotate~' -> '/home/local/sbin/os-debug/thttpd-rotate~' 'os-debug/thttpd-rotate' -> '/home/local/sbin/os-debug/thttpd-rotate' 'os-debug/datelog~' -> '/home/local/sbin/os-debug/datelog~' 'os-debug/dead-thttpd~' -> '/home/local/sbin/os-debug/dead-thttpd~' 'os-debug/thttpd_wrapper' -> '/home/local/sbin/os-debug/thttpd_wrapper' 'os-debug/datelog' -> '/home/local/sbin/os-debug/datelog' 'os-debug/thttpd_wrapper~' -> '/home/local/sbin/os-debug/thttpd_wrapper~' frank@raspberrypi:~/freedom $ frank@raspberrypi:~/freedom $ cd /home/local/sbin/thttpd-extras ### 1935 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ls -al ### 1939 total 80 drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 . drwxr-xr-x 4 root root 4096 Jul 12 16:04 .. -r--r--r-- 1 frank frank 533 Jan 8 2020 anvil_thttpd.gif -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico -rwxr-xr-- 1 frank frank 485 Aug 31 2021 rc.local -r-xr-xr-- 1 frank frank 485 Aug 31 2021 rc.local~ -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -r--r--r-- 1 frank frank 73 Jan 8 2020 robots-site.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt -rw-r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml -r--r--r-- 1 frank frank 186 Jan 8 2020 sitemap.xml.txt -rwxr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config -r-xr-xr-- 1 frank frank 501 Jun 7 16:20 thttpd_config~ -rwxr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate -r-xr-xr-- 1 frank frank 1746 Aug 31 2021 thttpd-rotate~ -rwxr-xr-- 1 frank frank 136 Apr 22 17:00 thttpd.sh -r-xr-xr-- 1 frank frank 136 Apr 22 17:02 thttpd.sh~ -rwxr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper -r-xr-xr-- 1 frank frank 122 Aug 31 2021 thttpd_wrapper~ drwxr-xr-x 4 frank frank 4096 Jul 12 13:39 vhost-DN-test frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ cat /etc/rc.local ### 1965 #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi # Start thttpd echo "Starting thttpd. \n" . /etc/thttpd.sh # exit 0 frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ frank@raspberrypi:/home/local/sbin/thttpd-extras $ ##### Return to where Ileft off from missing a directory copy, because I missed a "sudo". frank@raspberrypi:/home/local/sbin/thttpd-extras $ cd /home/local/sbin/os-debug/ ### 3140 frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ ls -al ### 3147 total 48 drwxr-xr-x 2 frank frank 4096 Jul 12 13:39 . drwxr-xr-x 4 root root 4096 Jul 12 16:04 .. -rwxr-xr-- 1 frank frank 185 Aug 31 2021 datelog -r-xr-xr-- 1 frank frank 185 Aug 31 2021 datelog~ -rwxr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd -r-xr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd~ -r--r--r-- 1 frank frank 792 Apr 22 17:17 readme.txt -r--r--r-- 1 frank frank 792 Apr 22 17:17 readme.txt~ -rwxr-xr-- 1 frank frank 1965 Aug 31 2021 thttpd-rotate -r-xr-xr-- 1 frank frank 1965 Aug 31 2021 thttpd-rotate~ -rwxr-xr-- 1 frank frank 153 Aug 31 2021 thttpd_wrapper -r-xr-xr-- 1 frank frank 153 Aug 31 2021 thttpd_wrapper~ frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cat readme.txt ### 3165 #readme.txt # # The files in os-debug have additional thttpd pid numbers to help with OS problems. # #pi@AC0XL-Pi-400:~$ #pi@AC0XL-Pi-400:~$ cd /home/local/sbin/os-debug/ ### #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ sudo cp -av d* thttp*r ../ ### sudo #'datelog' -> '../datelog' #'dead-thttpd' -> '../dead-thttpd' #'thttpd_wrapper' -> '../thttpd_wrapper' #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ # # Now we have to replace thttpd-rotate in /etc/cron.daily. # #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ sudo cp -av thttpd-rotate /etc/cron.daily ### sudo - we are adding lines for thttpd pid information. #pi@AC0XL-Pi-400:/home/local/sbin/os-debug $ # frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ sudo cp -av d* thttp*r ../ ### sudo 3189 'datelog' -> '../datelog' 'datelog~' -> '../datelog~' 'dead-thttpd' -> '../dead-thttpd' 'dead-thttpd~' -> '../dead-thttpd~' 'thttpd_wrapper' -> '../thttpd_wrapper' frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ sudo cp -av thttpd-rotate /etc/cron.daily ### sudo - we are adding lines for thttpd PID information. 3203 'thttpd-rotate' -> '/etc/cron.daily/thttpd-rotate' frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cat thttpd_wrapper ### 3211 #!/bin/sh # thttpd_wrapper while true ; do /home/local/sbin/thttpd -D -C /home/local/www/thttpd_config /home/local/sbin/dead-thttpd sleep 10 done # frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cat thttpd-rotate ### 3226 #!/bin/sh # /etc/cron.daily/thttpd-rotate cd /home/local/www/logs rm -f thttpd_log.50 mv thttpd_log.49 thttpd_log.50 mv thttpd_log.48 thttpd_log.49 mv thttpd_log.47 thttpd_log.48 mv thttpd_log.46 thttpd_log.47 mv thttpd_log.45 thttpd_log.46 mv thttpd_log.44 thttpd_log.45 mv thttpd_log.43 thttpd_log.44 mv thttpd_log.42 thttpd_log.43 mv thttpd_log.41 thttpd_log.42 mv thttpd_log.40 thttpd_log.41 mv thttpd_log.39 thttpd_log.40 mv thttpd_log.38 thttpd_log.39 mv thttpd_log.37 thttpd_log.38 mv thttpd_log.36 thttpd_log.37 mv thttpd_log.35 thttpd_log.36 mv thttpd_log.34 thttpd_log.35 mv thttpd_log.33 thttpd_log.34 mv thttpd_log.32 thttpd_log.33 mv thttpd_log.31 thttpd_log.32 mv thttpd_log.30 thttpd_log.31 mv thttpd_log.29 thttpd_log.30 mv thttpd_log.28 thttpd_log.29 mv thttpd_log.27 thttpd_log.28 mv thttpd_log.26 thttpd_log.27 mv thttpd_log.25 thttpd_log.26 mv thttpd_log.24 thttpd_log.25 mv thttpd_log.23 thttpd_log.24 mv thttpd_log.22 thttpd_log.23 mv thttpd_log.21 thttpd_log.22 mv thttpd_log.20 thttpd_log.21 mv thttpd_log.19 thttpd_log.20 mv thttpd_log.18 thttpd_log.19 mv thttpd_log.17 thttpd_log.18 mv thttpd_log.16 thttpd_log.17 mv thttpd_log.15 thttpd_log.16 mv thttpd_log.14 thttpd_log.15 mv thttpd_log.13 thttpd_log.14 mv thttpd_log.12 thttpd_log.13 mv thttpd_log.11 thttpd_log.12 mv thttpd_log.10 thttpd_log.11 mv thttpd_log.09 thttpd_log.10 mv thttpd_log.08 thttpd_log.09 mv thttpd_log.07 thttpd_log.08 mv thttpd_log.06 thttpd_log.07 mv thttpd_log.05 thttpd_log.06 mv thttpd_log.04 thttpd_log.05 mv thttpd_log.03 thttpd_log.04 mv thttpd_log.02 thttpd_log.03 mv thttpd_log.01 thttpd_log.02 date >> thttpd_log echo "log rotate end, thttpd pid = " `ps -C thttpd` >> thttpd_log w >> thttpd_log mv thttpd_log thttpd_log.01 date > thttpd_log echo "old log rotate end, old thttpd pid = " `ps -C thttpd` >> thttpd_log kill -usr1 `cat /var/run/thttpd.pid` sleep 15 echo "log rotate new, thttpd pid = " `ps -C thttpd` >> thttpd_log w >> thttpd_log # frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cat dead-thttpd ### 3305 #!/bin/sh # dead-thttpd echo "old dead-thttpd pid = " `cat /var/run/thttpd.pid` >> /home/local/www/logs/thttpd_log date >> /home/local/www/logs/thttpd_log w >> /home/local/www/logs/thttpd_log # sleep 15 # echo "dead-thttpd, new thttpd pid = " `ps -C thttpd` >> /home/local/www/logs/thttpd_log # date >> /home/local/www/logs/thttpd_log # w >> /home/local/www/logs/thttpd_log # frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cat datelog ### 3325 #!/bin/sh # datelog echo "datelog, thttpd pid = " `ps -C thttpd` >> /home/local/www/logs/thttpd_log date >> /home/local/www/logs/thttpd_log w >> /home/local/www/logs/thttpd_log # frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ date ### 3340 Tue 12 Jul 2022 04:12:44 PM MDT frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ ### sudo datelog is entered at the command prompt and there has been a problem with the system finding it, which I will test. When the commands are run from the system they all work but there seems to be a bug with them coming from the command line. 3346 frank@raspberrypi:/home/local/sbin/os-debug $ frank@raspberrypi:/home/local/sbin/os-debug $ cd /etc/cron.daily ### 3352 frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ ls -al ### 3356 total 40 drwxr-xr-x 2 root root 4096 Jul 12 14:55 . drwxr-xr-x 129 root root 12288 Jul 12 14:53 .. -rwxr-xr-x 1 root root 1478 Jun 10 2021 apt-compat -rwxr-xr-x 1 root root 1298 Apr 29 2021 dpkg -rwxr-xr-x 1 root root 377 Feb 28 2021 logrotate -rwxr-xr-x 1 root root 1123 Feb 19 2021 man-db -rw-r--r-- 1 root root 102 Feb 22 2021 .placeholder -rwxr-xr-- 1 frank frank 1965 Aug 31 2021 thttpd-rotate frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ cat thttpd-rotate ### 3370 #!/bin/sh # /etc/cron.daily/thttpd-rotate cd /home/local/www/logs rm -f thttpd_log.50 mv thttpd_log.49 thttpd_log.50 mv thttpd_log.48 thttpd_log.49 mv thttpd_log.47 thttpd_log.48 mv thttpd_log.46 thttpd_log.47 mv thttpd_log.45 thttpd_log.46 mv thttpd_log.44 thttpd_log.45 mv thttpd_log.43 thttpd_log.44 mv thttpd_log.42 thttpd_log.43 mv thttpd_log.41 thttpd_log.42 mv thttpd_log.40 thttpd_log.41 mv thttpd_log.39 thttpd_log.40 mv thttpd_log.38 thttpd_log.39 mv thttpd_log.37 thttpd_log.38 mv thttpd_log.36 thttpd_log.37 mv thttpd_log.35 thttpd_log.36 mv thttpd_log.34 thttpd_log.35 mv thttpd_log.33 thttpd_log.34 mv thttpd_log.32 thttpd_log.33 mv thttpd_log.31 thttpd_log.32 mv thttpd_log.30 thttpd_log.31 mv thttpd_log.29 thttpd_log.30 mv thttpd_log.28 thttpd_log.29 mv thttpd_log.27 thttpd_log.28 mv thttpd_log.26 thttpd_log.27 mv thttpd_log.25 thttpd_log.26 mv thttpd_log.24 thttpd_log.25 mv thttpd_log.23 thttpd_log.24 mv thttpd_log.22 thttpd_log.23 mv thttpd_log.21 thttpd_log.22 mv thttpd_log.20 thttpd_log.21 mv thttpd_log.19 thttpd_log.20 mv thttpd_log.18 thttpd_log.19 mv thttpd_log.17 thttpd_log.18 mv thttpd_log.16 thttpd_log.17 mv thttpd_log.15 thttpd_log.16 mv thttpd_log.14 thttpd_log.15 mv thttpd_log.13 thttpd_log.14 mv thttpd_log.12 thttpd_log.13 mv thttpd_log.11 thttpd_log.12 mv thttpd_log.10 thttpd_log.11 mv thttpd_log.09 thttpd_log.10 mv thttpd_log.08 thttpd_log.09 mv thttpd_log.07 thttpd_log.08 mv thttpd_log.06 thttpd_log.07 mv thttpd_log.05 thttpd_log.06 mv thttpd_log.04 thttpd_log.05 mv thttpd_log.03 thttpd_log.04 mv thttpd_log.02 thttpd_log.03 mv thttpd_log.01 thttpd_log.02 date >> thttpd_log echo "log rotate end, thttpd pid = " `ps -C thttpd` >> thttpd_log w >> thttpd_log mv thttpd_log thttpd_log.01 date > thttpd_log echo "old log rotate end, old thttpd pid = " `ps -C thttpd` >> thttpd_log kill -usr1 `cat /var/run/thttpd.pid` sleep 15 echo "log rotate new, thttpd pid = " `ps -C thttpd` >> thttpd_log w >> thttpd_log # frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo ./thttpd-rotate ### sudo 3458 mv: cannot stat 'thttpd_log.49': No such file or directory mv: cannot stat 'thttpd_log.48': No such file or directory mv: cannot stat 'thttpd_log.47': No such file or directory mv: cannot stat 'thttpd_log.46': No such file or directory mv: cannot stat 'thttpd_log.45': No such file or directory mv: cannot stat 'thttpd_log.44': No such file or directory mv: cannot stat 'thttpd_log.43': No such file or directory mv: cannot stat 'thttpd_log.42': No such file or directory mv: cannot stat 'thttpd_log.41': No such file or directory mv: cannot stat 'thttpd_log.40': No such file or directory mv: cannot stat 'thttpd_log.39': No such file or directory mv: cannot stat 'thttpd_log.38': No such file or directory mv: cannot stat 'thttpd_log.37': No such file or directory mv: cannot stat 'thttpd_log.36': No such file or directory mv: cannot stat 'thttpd_log.35': No such file or directory mv: cannot stat 'thttpd_log.34': No such file or directory mv: cannot stat 'thttpd_log.33': No such file or directory mv: cannot stat 'thttpd_log.32': No such file or directory mv: cannot stat 'thttpd_log.31': No such file or directory mv: cannot stat 'thttpd_log.30': No such file or directory mv: cannot stat 'thttpd_log.29': No such file or directory mv: cannot stat 'thttpd_log.28': No such file or directory mv: cannot stat 'thttpd_log.27': No such file or directory mv: cannot stat 'thttpd_log.26': No such file or directory mv: cannot stat 'thttpd_log.25': No such file or directory mv: cannot stat 'thttpd_log.24': No such file or directory mv: cannot stat 'thttpd_log.23': No such file or directory mv: cannot stat 'thttpd_log.22': No such file or directory mv: cannot stat 'thttpd_log.21': No such file or directory mv: cannot stat 'thttpd_log.20': No such file or directory mv: cannot stat 'thttpd_log.19': No such file or directory mv: cannot stat 'thttpd_log.18': No such file or directory mv: cannot stat 'thttpd_log.17': No such file or directory mv: cannot stat 'thttpd_log.16': No such file or directory mv: cannot stat 'thttpd_log.15': No such file or directory mv: cannot stat 'thttpd_log.14': No such file or directory mv: cannot stat 'thttpd_log.13': No such file or directory mv: cannot stat 'thttpd_log.12': No such file or directory mv: cannot stat 'thttpd_log.11': No such file or directory mv: cannot stat 'thttpd_log.10': No such file or directory mv: cannot stat 'thttpd_log.09': No such file or directory mv: cannot stat 'thttpd_log.08': No such file or directory mv: cannot stat 'thttpd_log.07': No such file or directory mv: cannot stat 'thttpd_log.06': No such file or directory mv: cannot stat 'thttpd_log.05': No such file or directory mv: cannot stat 'thttpd_log.04': No such file or directory mv: cannot stat 'thttpd_log.03': No such file or directory mv: cannot stat 'thttpd_log.02': No such file or directory frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo datelog ### 3512 sudo: datelog: command not found frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ # This is the problem when the command is entered from the command line and it is not in "/usr/local/sbin/" even though all of the other commands ran from "/home/local/sbin/"! 3514 frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo ls -al /home/local/sbin ### 3518 total 164 drwxr-xr-x 4 root root 4096 Jul 12 16:08 . drwxr-xr-x 5 root root 4096 Jul 12 14:37 .. -rwxr-xr-- 1 frank frank 185 Aug 31 2021 datelog -r-xr-xr-- 1 frank frank 185 Aug 31 2021 datelog~ -rwxr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd -r-xr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd~ -rwxr-xr-x 1 root root 13692 Jul 12 14:37 htpasswd -rwxr-sr-x 1 root www 12996 Jul 12 14:37 makeweb drwxr-xr-x 2 frank frank 4096 Jul 12 13:39 os-debug -r-xr-xr-x 1 root root 2878 Jul 12 14:37 syslogtocern -r-xr-xr-x 1 bin bin 91232 Jul 12 14:37 thttpd drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 thttpd-extras -rwxr-xr-- 1 frank frank 153 Aug 31 2021 thttpd_wrapper frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo cp -iav /home/local/sbin/* /usr/local/sbin ### sudo 3537 '/home/local/sbin/datelog' -> '/usr/local/sbin/datelog' '/home/local/sbin/datelog~' -> '/usr/local/sbin/datelog~' '/home/local/sbin/dead-thttpd' -> '/usr/local/sbin/dead-thttpd' '/home/local/sbin/dead-thttpd~' -> '/usr/local/sbin/dead-thttpd~' '/home/local/sbin/htpasswd' -> '/usr/local/sbin/htpasswd' '/home/local/sbin/makeweb' -> '/usr/local/sbin/makeweb' '/home/local/sbin/os-debug' -> '/usr/local/sbin/os-debug' '/home/local/sbin/os-debug/readme.txt~' -> '/usr/local/sbin/os-debug/readme.txt~' '/home/local/sbin/os-debug/readme.txt' -> '/usr/local/sbin/os-debug/readme.txt' '/home/local/sbin/os-debug/dead-thttpd' -> '/usr/local/sbin/os-debug/dead-thttpd' '/home/local/sbin/os-debug/thttpd-rotate~' -> '/usr/local/sbin/os-debug/thttpd-rotate~' '/home/local/sbin/os-debug/thttpd-rotate' -> '/usr/local/sbin/os-debug/thttpd-rotate' '/home/local/sbin/os-debug/datelog~' -> '/usr/local/sbin/os-debug/datelog~' '/home/local/sbin/os-debug/dead-thttpd~' -> '/usr/local/sbin/os-debug/dead-thttpd~' '/home/local/sbin/os-debug/thttpd_wrapper' -> '/usr/local/sbin/os-debug/thttpd_wrapper' '/home/local/sbin/os-debug/datelog' -> '/usr/local/sbin/os-debug/datelog' '/home/local/sbin/os-debug/thttpd_wrapper~' -> '/usr/local/sbin/os-debug/thttpd_wrapper~' '/home/local/sbin/syslogtocern' -> '/usr/local/sbin/syslogtocern' '/home/local/sbin/thttpd' -> '/usr/local/sbin/thttpd' '/home/local/sbin/thttpd-extras' -> '/usr/local/sbin/thttpd-extras' '/home/local/sbin/thttpd-extras/thttpd.sh' -> '/usr/local/sbin/thttpd-extras/thttpd.sh' '/home/local/sbin/thttpd-extras/thttpd_config' -> '/usr/local/sbin/thttpd-extras/thttpd_config' '/home/local/sbin/thttpd-extras/anvil_thttpd.gif' -> '/usr/local/sbin/thttpd-extras/anvil_thttpd.gif' '/home/local/sbin/thttpd-extras/readme.txt' -> '/usr/local/sbin/thttpd-extras/readme.txt' '/home/local/sbin/thttpd-extras/thttpd-rotate~' -> '/usr/local/sbin/thttpd-extras/thttpd-rotate~' '/home/local/sbin/thttpd-extras/thttpd.sh~' -> '/usr/local/sbin/thttpd-extras/thttpd.sh~' '/home/local/sbin/thttpd-extras/thttpd_config~' -> '/usr/local/sbin/thttpd-extras/thttpd_config~' '/home/local/sbin/thttpd-extras/sitemap.xml' -> '/usr/local/sbin/thttpd-extras/sitemap.xml' '/home/local/sbin/thttpd-extras/thttpd-rotate' -> '/usr/local/sbin/thttpd-extras/thttpd-rotate' '/home/local/sbin/thttpd-extras/sitemap.xml.txt' -> '/usr/local/sbin/thttpd-extras/sitemap.xml.txt' '/home/local/sbin/thttpd-extras/favicon.ico' -> '/usr/local/sbin/thttpd-extras/favicon.ico' '/home/local/sbin/thttpd-extras/rc.local~' -> '/usr/local/sbin/thttpd-extras/rc.local~' '/home/local/sbin/thttpd-extras/thttpd_wrapper' -> '/usr/local/sbin/thttpd-extras/thttpd_wrapper' '/home/local/sbin/thttpd-extras/robots-site.txt' -> '/usr/local/sbin/thttpd-extras/robots-site.txt' '/home/local/sbin/thttpd-extras/robots.txt' -> '/usr/local/sbin/thttpd-extras/robots.txt' '/home/local/sbin/thttpd-extras/rc.local' -> '/usr/local/sbin/thttpd-extras/rc.local' '/home/local/sbin/thttpd-extras/thttpd_wrapper~' -> '/usr/local/sbin/thttpd-extras/thttpd_wrapper~' '/home/local/sbin/thttpd-extras/vhost-DN-test' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test' '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128' '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/a0' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/a0' '/home/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test/192.168.1.128/sample.txt' '/home/local/sbin/thttpd-extras/vhost-DN-test/a0' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test/a0' '/home/local/sbin/thttpd-extras/vhost-DN-test/a0/test' -> '/usr/local/sbin/thttpd-extras/vhost-DN-test/a0/test' '/home/local/sbin/thttpd_wrapper' -> '/usr/local/sbin/thttpd_wrapper' frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ ls -al /usr/local/sbin ### 3586 total 164 drwxr-xr-x 4 root root 4096 Jul 12 16:24 . drwxr-xr-x 10 root root 4096 Apr 4 05:45 .. -rwxr-xr-- 1 frank frank 185 Aug 31 2021 datelog -r-xr-xr-- 1 frank frank 185 Aug 31 2021 datelog~ -rwxr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd -r-xr-xr-- 1 frank frank 385 Aug 31 2021 dead-thttpd~ -rwxr-xr-x 1 root root 13692 Jul 12 14:37 htpasswd -rwxr-sr-x 1 root www 12996 Jul 12 14:37 makeweb drwxr-xr-x 2 frank frank 4096 Jul 12 13:39 os-debug -r-xr-xr-x 1 root root 2878 Jul 12 14:37 syslogtocern -r-xr-xr-x 1 bin bin 91232 Jul 12 14:37 thttpd drwxr-xr-x 3 frank frank 4096 Jul 12 13:39 thttpd-extras -rwxr-xr-- 1 frank frank 153 Aug 31 2021 thttpd_wrapper frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ sudo datelog ### 3605 frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ ### Magic!! Now sudo datelog works!!! The only thing different is the command is coming from the command line and not from a program which all of the other commands come from and work without being under /usr/local/sbin/!!! 3607 frank@raspberrypi:/etc/cron.daily $ frank@raspberrypi:/etc/cron.daily $ cd /home/local/www/logs ### 3613 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ ls -al ### 3617 total 20 drwxr-xr-x 2 root www 4096 Jul 12 16:14 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. -rw-r--r-- 1 nobody nogroup 882 Jul 12 16:25 thttpd_log -rw-r--r-- 1 nobody nogroup 3682 Jul 12 16:14 thttpd_log.01 -rw-r--r-- 1 nobody nogroup 2239 Jul 12 15:27 thttpd_log.02 frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log.02 ### 3628 ::1 - - [12/Jul/2022:21:05:50 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" ::1 - - [12/Jul/2022:21:06:04 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://localhost/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:27 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x16-2)" 192.168.1.187 - - [12/Jul/2022:21:23:41 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:44 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:48 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.187 - - [12/Jul/2022:21:23:52 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:09 +0000] "GET / HTTP/1.1" 200 25000 "" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:11 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:14 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:18 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" 192.168.1.86 - - [12/Jul/2022:21:25:21 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "ELinks/0.13.2 (textmode; Linux 5.15.32-v7l+ armv7l; 134x18-2)" Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log.01 ### 3650 Tue 12 Jul 2022 03:27:31 PM MDT 15:27:31 up 1:07, 2 users, load average: 0.51, 0.28, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:07m 3:53 0.53s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:07m 0.08s 0.06s -bash 192.168.1.241 - - [12/Jul/2022:21:42:42 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:18 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:32 +0000] "GET / HTTP/1.1" 200 25000 "http://192.168.1.86/a0/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:43:59 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.86/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:44:21 +0000] "UNKNOWN UNKNOWN" 400 0 "" "" 192.168.1.241 - - [12/Jul/2022:21:45:29 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:45:56 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "http://192.168.1.187/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.241 - - [12/Jul/2022:21:46:02 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "Mozilla/5.0 (Android 6.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0" 192.168.1.219 - - [12/Jul/2022:21:47:08 +0000] "GET / HTTP/1.1" 200 25000 "http://192.168.1.187/a0/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:47:12 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.3.0) Gecko/68.3.0 Firefox/68.3.0" 192.168.1.219 - - [12/Jul/2022:21:47:33 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:48:05 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:48:11 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.187/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:52:58 +0000] "GET / HTTP/1.1" 200 25000 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:52:59 +0000] "GET /favicon.ico HTTP/1.1" 200 533 "" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.3.0) Gecko/68.3.0 Firefox/68.3.0" 192.168.1.219 - - [12/Jul/2022:21:53:05 +0000] "GET /robots.txt HTTP/1.1" 200 27 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:53:09 +0000] "GET /readme.txt HTTP/1.1" 200 308 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" 192.168.1.219 - - [12/Jul/2022:21:53:14 +0000] "GET /a0/ HTTP/1.1" 200 25000 "http://192.168.1.86/" "Mozilla/5.0 (Android 4.4.2; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0" Tue 12 Jul 2022 04:14:59 PM MDT log rotate end, thttpd pid = PID TTY TIME CMD 11406 ? 00:00:26 thttpd 16:14:59 up 1:54, 2 users, load average: 0.29, 0.22, 0.14 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:54m 5:33 0.76s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:54m 0.08s 0.06s -bash frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cat *log ### 3686 Tue 12 Jul 2022 04:14:59 PM MDT old log rotate end, old thttpd pid = PID TTY TIME CMD 11406 ? 00:00:26 thttpd log rotate new, thttpd pid = PID TTY TIME CMD 17442 ? 00:00:00 thttpd 16:15:14 up 1:54, 2 users, load average: 0.23, 0.21, 0.14 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 1:54m 5:33 0.76s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 1:54m 0.08s 0.06s -bash datelog, thttpd pid = PID TTY TIME CMD 17442 ? 00:00:05 thttpd Tue 12 Jul 2022 04:25:47 PM MDT 16:25:47 up 2:05, 2 users, load average: 0.27, 0.23, 0.18 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT frank tty7 :0 14:20 2:05m 6:03 0.82s /usr/bin/lxsession -s LXDE-pi -e LXDE frank tty1 - 14:20 2:05m 0.08s 0.06s -bash frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ date ### 3713 Tue 12 Jul 2022 04:28:08 PM MDT frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ date ### 3713 Tue 12 Jul 2022 04:30:41 PM MDT frank@raspberrypi:/home/local/www/logs $ frank@raspberrypi:/home/local/www/logs $ cd /home/ ### 3725 frank@raspberrypi:/home $ frank@raspberrypi:/home $ addgroup --help ### 3738 adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a normal user adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a system user adduser --group [--gid ID] GROUP addgroup [--gid ID] GROUP Add a user group addgroup --system [--gid ID] GROUP Add a system group adduser USER GROUP Add an existing user to an existing group general options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX configuration variable --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file frank@raspberrypi:/home $ frank@raspberrypi:/home $ cat ~/freedom/list.txt ### 3793 list.txt a0 documents downloads memes music notices pictures videos frank@raspberrypi:/home $ frank@raspberrypi:/home $ date ### 3801 Tue 12 Jul 2022 04:32:08 PM MDT frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www documents ### sudo 3807 Adding user `documents' ... Adding new user `documents' (1002) with group `www' ... Creating home directory `/home/documents' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for documents Enter the new value, or press ENTER for the default Full Name []: documents Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su documents ### 3827 Password: documents@raspberrypi:/home $ documents@raspberrypi:/home $ cd ### 3831 documents@raspberrypi:~ $ documents@raspberrypi:~ $ touch .1002 ### 3834 documents@raspberrypi:~ $ documents@raspberrypi:~ $ makeweb ### 3837 Created web directory /home/local/www/users/documents Created symbolic link /home/documents/public_html documents@raspberrypi:~ $ documents@raspberrypi:~ $ ls -al ### 3842 total 24 drwxr-xr-x 2 documents www 4096 Jul 12 16:34 . drwxr-xr-x 6 root root 4096 Jul 12 16:32 .. -rw-r--r-- 1 documents www 0 Jul 12 16:33 .1002 -rw-r--r-- 1 documents www 220 Jul 12 16:32 .bash_logout -rw-r--r-- 1 documents www 3523 Jul 12 16:32 .bashrc -rw-r--r-- 1 documents www 1670 Jul 12 16:32 .mkshrc -rw-r--r-- 1 documents www 807 Jul 12 16:32 .profile lrwxrwxrwx 1 documents www 31 Jul 12 16:34 public_html -> /home/local/www/users/documents documents@raspberrypi:~ $ documents@raspberrypi:~ $ exit ### 3854 exit frank@raspberrypi:/home $ date ### 3860 Tue 12 Jul 2022 04:34:56 PM MDT frank@raspberrypi:/home $ frank@raspberrypi:/home $ $ sudo adduser --ingroup www downloads ### sudo 3867 bash: $: command not found frank@raspberrypi:/home $ sudo adduser --ingroup www downloads ### sudo 3867 Adding user `downloads' ... Adding new user `downloads' (1003) with group `www' ... Creating home directory `/home/downloads' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for downloads Enter the new value, or press ENTER for the default Full Name []: downloads Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su downloads ### 3887 Password: downloads@raspberrypi:/home $ downloads@raspberrypi:/home $ cd ### 3891 downloads@raspberrypi:~ $ downloads@raspberrypi:~ $ touch .1003 ### 3894 downloads@raspberrypi:~ $ downloads@raspberrypi:~ $ makeweb ### 3897 Created web directory /home/local/www/users/downloads Created symbolic link /home/downloads/public_html downloads@raspberrypi:~ $ downloads@raspberrypi:~ $ ls -al ### 3902 total 24 drwxr-xr-x 2 downloads www 4096 Jul 12 16:38 . drwxr-xr-x 7 root root 4096 Jul 12 16:36 .. -rw-r--r-- 1 downloads www 0 Jul 12 16:37 .1003 -rw-r--r-- 1 downloads www 220 Jul 12 16:36 .bash_logout -rw-r--r-- 1 downloads www 3523 Jul 12 16:36 .bashrc -rw-r--r-- 1 downloads www 1670 Jul 12 16:36 .mkshrc -rw-r--r-- 1 downloads www 807 Jul 12 16:36 .profile lrwxrwxrwx 1 downloads www 31 Jul 12 16:38 public_html -> /home/local/www/users/downloads downloads@raspberrypi:~ $ downloads@raspberrypi:~ $ exit ### 3914 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ date ### 3920 Tue 12 Jul 2022 04:38:43 PM MDT frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www memes ### sudo 3927 Adding user `memes' ... Adding new user `memes' (1004) with group `www' ... Creating home directory `/home/memes' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for memes Enter the new value, or press ENTER for the default Full Name []: memes Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su memes ### 3947 Password: memes@raspberrypi:/home $ memes@raspberrypi:/home $ cd ### 3951 memes@raspberrypi:~ $ memes@raspberrypi:~ $ touch .1004 ### 3954 memes@raspberrypi:~ $ memes@raspberrypi:~ $ makeweb ### 3957 Created web directory /home/local/www/users/memes Created symbolic link /home/memes/public_html memes@raspberrypi:~ $ memes@raspberrypi:~ $ ls -al ### 3962 total 24 drwxr-xr-x 2 memes www 4096 Jul 12 16:40 . drwxr-xr-x 8 root root 4096 Jul 12 16:38 .. -rw-r--r-- 1 memes www 0 Jul 12 16:40 .1004 -rw-r--r-- 1 memes www 220 Jul 12 16:38 .bash_logout -rw-r--r-- 1 memes www 3523 Jul 12 16:38 .bashrc -rw-r--r-- 1 memes www 1670 Jul 12 16:38 .mkshrc -rw-r--r-- 1 memes www 807 Jul 12 16:38 .profile lrwxrwxrwx 1 memes www 27 Jul 12 16:40 public_html -> /home/local/www/users/memes memes@raspberrypi:~ $ memes@raspberrypi:~ $ exit ### 3974 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www music ### sudo 3981 Adding user `music' ... Adding new user `music' (1005) with group `www' ... Creating home directory `/home/music' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for music Enter the new value, or press ENTER for the default Full Name []: music Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su music ### 4001 Password: music@raspberrypi:/home $ music@raspberrypi:/home $ cd ### 4005 music@raspberrypi:~ $ music@raspberrypi:~ $ touch .1005 ### 4008 music@raspberrypi:~ $ music@raspberrypi:~ $ makeweb ### 4011 Created web directory /home/local/www/users/music Created symbolic link /home/music/public_html music@raspberrypi:~ $ music@raspberrypi:~ $ ls -al ### 4016 total 24 drwxr-xr-x 2 music www 4096 Jul 12 16:46 . drwxr-xr-x 9 root root 4096 Jul 12 16:41 .. -rw-r--r-- 1 music www 0 Jul 12 16:46 .1005 -rw-r--r-- 1 music www 220 Jul 12 16:41 .bash_logout -rw-r--r-- 1 music www 3523 Jul 12 16:41 .bashrc -rw-r--r-- 1 music www 1670 Jul 12 16:41 .mkshrc -rw-r--r-- 1 music www 807 Jul 12 16:41 .profile lrwxrwxrwx 1 music www 27 Jul 12 16:46 public_html -> /home/local/www/users/music music@raspberrypi:~ $ music@raspberrypi:~ $ exit ### 4028 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www notices ### sudo 4035 Adding user `notices' ... Adding new user `notices' (1006) with group `www' ... Creating home directory `/home/notices' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for notices Enter the new value, or press ENTER for the default Full Name []: notices Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su notices ### 4055 Password: notices@raspberrypi:/home $ notices@raspberrypi:/home $ cd ### 4059 notices@raspberrypi:~ $ notices@raspberrypi:~ $ touch .1006 ### 4062 notices@raspberrypi:~ $ notices@raspberrypi:~ $ makeweb ### 4065 Created web directory /home/local/www/users/notices Created symbolic link /home/notices/public_html notices@raspberrypi:~ $ notices@raspberrypi:~ $ ls -al ### 4070 total 24 drwxr-xr-x 2 notices www 4096 Jul 12 16:49 . drwxr-xr-x 10 root root 4096 Jul 12 16:47 .. -rw-r--r-- 1 notices www 0 Jul 12 16:48 .1006 -rw-r--r-- 1 notices www 220 Jul 12 16:47 .bash_logout -rw-r--r-- 1 notices www 3523 Jul 12 16:47 .bashrc -rw-r--r-- 1 notices www 1670 Jul 12 16:47 .mkshrc -rw-r--r-- 1 notices www 807 Jul 12 16:47 .profile lrwxrwxrwx 1 notices www 29 Jul 12 16:49 public_html -> /home/local/www/users/notices notices@raspberrypi:~ $ notices@raspberrypi:~ $ exit ### 4082 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www pictures ### sudo 4089 Adding user `pictures' ... Adding new user `pictures' (1007) with group `www' ... Creating home directory `/home/pictures' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for pictures Enter the new value, or press ENTER for the default Full Name []: pictures Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su pictures ### 4109 Password: pictures@raspberrypi:/home $ pictures@raspberrypi:/home $ cd ### 4113 pictures@raspberrypi:~ $ pictures@raspberrypi:~ $ touch .1007 ### 4116 pictures@raspberrypi:~ $ pictures@raspberrypi:~ $ makeweb ### 4119 Created web directory /home/local/www/users/pictures Created symbolic link /home/pictures/public_html pictures@raspberrypi:~ $ pictures@raspberrypi:~ $ ls -al ### 4124 total 24 drwxr-xr-x 2 pictures www 4096 Jul 12 16:51 . drwxr-xr-x 11 root root 4096 Jul 12 16:49 .. -rw-r--r-- 1 pictures www 0 Jul 12 16:51 .1007 -rw-r--r-- 1 pictures www 220 Jul 12 16:49 .bash_logout -rw-r--r-- 1 pictures www 3523 Jul 12 16:49 .bashrc -rw-r--r-- 1 pictures www 1670 Jul 12 16:49 .mkshrc -rw-r--r-- 1 pictures www 807 Jul 12 16:49 .profile lrwxrwxrwx 1 pictures www 30 Jul 12 16:51 public_html -> /home/local/www/users/pictures pictures@raspberrypi:~ $ pictures@raspberrypi:~ $ exit ### 4136 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo adduser --ingroup www videos ### sudo 4143 Adding user `videos' ... Adding new user `videos' (1008) with group `www' ... Creating home directory `/home/videos' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for videos Enter the new value, or press ENTER for the default Full Name []: videos Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y frank@raspberrypi:/home $ frank@raspberrypi:/home $ su videos ### 4163 Password: videos@raspberrypi:/home $ videos@raspberrypi:/home $ cd ### 4167 videos@raspberrypi:~ $ videos@raspberrypi:~ $ touch .1008 ### 4170 videos@raspberrypi:~ $ videos@raspberrypi:~ $ makeweb ### 4173 Created web directory /home/local/www/users/videos Created symbolic link /home/videos/public_html videos@raspberrypi:~ $ videos@raspberrypi:~ $ ls -al ### 4178 total 24 drwxr-xr-x 2 videos www 4096 Jul 12 16:53 . drwxr-xr-x 12 root root 4096 Jul 12 16:52 .. -rw-r--r-- 1 videos www 0 Jul 12 16:53 .1008 -rw-r--r-- 1 videos www 220 Jul 12 16:52 .bash_logout -rw-r--r-- 1 videos www 3523 Jul 12 16:52 .bashrc -rw-r--r-- 1 videos www 1670 Jul 12 16:52 .mkshrc -rw-r--r-- 1 videos www 807 Jul 12 16:52 .profile lrwxrwxrwx 1 videos www 28 Jul 12 16:53 public_html -> /home/local/www/users/videos videos@raspberrypi:~ $ videos@raspberrypi:~ $ exit ### 4190 exit frank@raspberrypi:/home $ frank@raspberrypi:/home $ ls -al ### 4197 total 48 drwxr-xr-x 12 root root 4096 Jul 12 16:52 . drwxr-xr-x 21 root root 4096 Jul 12 14:23 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 drwxr-xr-x 2 documents www 4096 Jul 12 16:34 documents drwxr-xr-x 2 downloads www 4096 Jul 12 16:38 downloads drwxr-xr-x 17 frank frank 4096 Jul 12 15:05 frank drwxr-xr-x 5 root root 4096 Jul 12 14:37 local drwxr-xr-x 2 memes www 4096 Jul 12 16:40 memes drwxr-xr-x 2 music www 4096 Jul 12 16:47 music drwxr-xr-x 2 notices www 4096 Jul 12 16:49 notices drwxr-xr-x 2 pictures www 4096 Jul 12 16:51 pictures drwxr-xr-x 2 videos www 4096 Jul 12 16:54 videos frank@raspberrypi:/home $ frank@raspberrypi:/home $ sudo chown -Rv a0:www a0 ### 4216 ownership of 'a0/public_html' retained as a0:www ownership of 'a0/.profile' retained as a0:www ownership of 'a0/.mkshrc' retained as a0:www ownership of 'a0/.bash_history' retained as a0:www ownership of 'a0/.bashrc' retained as a0:www ownership of 'a0/.bash_logout' retained as a0:www ownership of 'a0/.1001' retained as a0:www ownership of 'a0' retained as a0:www frank@raspberrypi:/home $ frank@raspberrypi:/home $ ls -al ### 4229 total 48 drwxr-xr-x 12 root root 4096 Jul 12 16:52 . drwxr-xr-x 21 root root 4096 Jul 12 14:23 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 drwxr-xr-x 2 documents www 4096 Jul 12 16:34 documents drwxr-xr-x 2 downloads www 4096 Jul 12 16:38 downloads drwxr-xr-x 17 frank frank 4096 Jul 12 15:05 frank drwxr-xr-x 5 root root 4096 Jul 12 14:37 local drwxr-xr-x 2 memes www 4096 Jul 12 16:40 memes drwxr-xr-x 2 music www 4096 Jul 12 16:47 music drwxr-xr-x 2 notices www 4096 Jul 12 16:49 notices drwxr-xr-x 2 pictures www 4096 Jul 12 16:51 pictures drwxr-xr-x 2 videos www 4096 Jul 12 16:54 videos frank@raspberrypi:/home $ frank@raspberrypi:/home $ cd /home/local/www/users ### 4247 frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ ls -al ### 4252 total 52 drwxrwxr-x 10 root www 4096 Jul 12 16:53 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 drwxr-xr-x 2 documents www 4096 Jul 12 16:34 documents drwxr-xr-x 2 downloads www 4096 Jul 12 16:38 downloads -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico drwxr-xr-x 2 memes www 4096 Jul 12 16:40 memes drwxr-xr-x 2 music www 4096 Jul 12 16:46 music drwxr-xr-x 2 notices www 4096 Jul 12 16:49 notices drwxr-xr-x 2 pictures www 4096 Jul 12 16:51 pictures -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt drwxr-xr-x 2 videos www 4096 Jul 12 16:53 videos frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ date ### 4271 Tue 12 Jul 2022 04:55:55 PM MDT frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ df -H ### 4277 Filesystem Size Used Avail Use% Mounted on /dev/root 31G 9.0G 21G 31% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.3M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 37k 403M 1% /run/user/1000 frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ date ### 4290 Tue 12 Jul 2022 04:56:29 PM MDT frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ cd ### 4296 frank@raspberrypi:~ $ frank@raspberrypi:~ $ ps -e ### 4300 PID TTY TIME CMD 1 ? 00:00:03 systemd 2 ? 00:00:00 kthreadd 3 ? 00:00:00 rcu_gp 4 ? 00:00:00 rcu_par_gp 8 ? 00:00:00 mm_percpu_wq 9 ? 00:00:00 rcu_tasks_rude_ 10 ? 00:00:00 rcu_tasks_trace 11 ? 00:00:00 ksoftirqd/0 12 ? 00:00:06 rcu_sched 13 ? 00:00:00 migration/0 14 ? 00:00:00 cpuhp/0 15 ? 00:00:00 cpuhp/1 16 ? 00:00:00 migration/1 17 ? 00:00:00 ksoftirqd/1 20 ? 00:00:00 cpuhp/2 21 ? 00:00:00 migration/2 22 ? 00:00:00 ksoftirqd/2 25 ? 00:00:00 cpuhp/3 26 ? 00:00:00 migration/3 27 ? 00:00:00 ksoftirqd/3 30 ? 00:00:00 kdevtmpfs 31 ? 00:00:00 netns 32 ? 00:00:00 inet_frag_wq 37 ? 00:00:00 kauditd 38 ? 00:00:00 khungtaskd 39 ? 00:00:00 oom_reaper 40 ? 00:00:00 writeback 41 ? 00:00:00 kcompactd0 61 ? 00:00:00 kblockd 62 ? 00:00:00 blkcg_punt_bio 63 ? 00:00:00 watchdogd 65 ? 00:00:00 kworker/2:1H-kblockd 66 ? 00:00:00 rpciod 67 ? 00:00:00 kworker/u9:0-hci0 68 ? 00:00:00 xprtiod 70 ? 00:00:00 kswapd0 71 ? 00:00:00 nfsiod 72 ? 00:00:00 kthrotld 74 ? 00:00:00 iscsi_eh 75 ? 00:00:00 iscsi_conn_clea 76 ? 00:00:00 nvme-wq 77 ? 00:00:00 nvme-reset-wq 78 ? 00:00:00 nvme-delete-wq 80 ? 00:00:00 DWC Notificatio 81 ? 00:00:00 uas 82 ? 00:00:01 vchiq-slot/0 83 ? 00:00:00 vchiq-recy/0 84 ? 00:00:00 vchiq-sync/0 85 ? 00:00:00 zswap-shrink 87 ? 00:00:00 sdhci 88 ? 00:00:00 irq/62-mmc0 89 ? 00:00:00 mmc_complete 90 ? 00:00:01 kworker/0:1H-mmc_complete 91 ? 00:00:00 jbd2/mmcblk0p2- 92 ? 00:00:00 ext4-rsv-conver 97 ? 00:00:00 mld 98 ? 00:00:00 ipv6_addrconf 102 ? 00:00:00 kworker/3:1H-kblockd 140 ? 00:00:01 systemd-journal 163 ? 00:00:01 systemd-udevd 200 ? 00:00:00 vchiq-keep/0 203 ? 00:00:00 SMIO 210 ? 00:00:00 mmal-vchiq 215 ? 00:00:00 mmal-vchiq 216 ? 00:00:00 mmal-vchiq 219 ? 00:00:00 mmal-vchiq 220 ? 00:00:00 mmal-vchiq 230 ? 00:00:00 mmal-vchiq 246 ? 00:00:00 mmal-vchiq 263 ? 00:00:23 v3d_bin 267 ? 00:00:27 v3d_render 271 ? 00:00:00 v3d_tfu 273 ? 00:00:00 v3d_csd 278 ? 00:00:00 v3d_cache_clean 352 ? 00:00:00 cfg80211 353 ? 00:00:00 brcmf_wq/mmc1:0 359 ? 00:00:00 brcmf_wdog/mmc1 367 ? 00:00:00 avahi-daemon 369 ? 00:00:00 cron 372 ? 00:00:00 dbus-daemon 373 ? 00:00:00 avahi-daemon 374 ? 00:00:02 kworker/u9:1-brcmf_wq/mmc1:0001:1 420 ? 00:00:00 polkitd 456 ? 00:00:00 rsyslogd 459 ? 00:00:00 systemd-logind 464 ? 00:00:11 thd 469 ? 00:00:00 udisksd 470 ? 00:00:00 dhcpcd 474 ? 00:00:00 wpa_supplicant 528 ? 00:00:00 irq/53-vc4 hdmi 529 ? 00:00:00 irq/54-vc4 hdmi 530 ? 00:00:00 cec-vc4 531 ? 00:00:00 irq/50-vc4 hdmi 537 ? 00:00:00 irq/49-vc4 hdmi 542 ? 00:00:00 irq/59-vc4 hdmi 545 ? 00:00:00 irq/60-vc4 hdmi 546 ? 00:00:00 ModemManager 547 ? 00:00:00 rngd 548 ? 00:00:00 cec-vc4 556 ? 00:00:00 cupsd 557 ? 00:00:00 irq/56-vc4 hdmi 558 ? 00:00:00 irq/55-vc4 hdmi 561 ? 00:00:00 card0-crtc0 562 ? 00:00:00 epmd 563 ? 00:00:00 card0-crtc1 564 ? 00:00:00 card0-crtc2 565 ? 00:00:00 card0-crtc3 568 ? 00:00:00 card0-crtc4 569 ? 00:00:00 card0-crtc5 578 ? 00:00:00 lightdm 586 ? 00:00:00 cups-browsed 608 tty7 00:08:03 Xorg 609 tty1 00:00:00 login 635 ? 00:00:00 wpa_supplicant 649 ? 00:00:00 lightdm 654 ? 00:00:00 systemd 655 ? 00:00:00 (sd-pam) 669 ? 00:00:00 pipewire 670 ? 00:00:03 pulseaudio 671 ? 00:00:01 lxsession 679 ? 00:00:00 rtkit-daemon 689 ? 00:00:00 dbus-daemon 690 ? 00:00:00 hciattach 708 ? 00:00:00 bluetoothd 711 tty1 00:00:00 bash 725 ? 00:00:00 pipewire-media- 729 ? 00:00:00 cryptd 789 ? 00:00:00 ssh-agent 814 ? 00:00:00 krfcommd 822 ? 00:00:00 gvfsd 827 ? 00:00:00 gvfsd-fuse 837 ? 00:02:36 mutter 841 ? 00:00:00 lxpolkit 842 ? 00:00:54 lxpanel 843 ? 00:00:01 pcmanfm 850 ? 00:00:00 agent 852 ? 00:00:00 ssh-agent 856 ? 00:00:00 applet.py 915 ? 00:00:00 menu-cached 922 ? 00:00:00 gvfs-udisks2-vo 927 ? 00:00:00 gvfs-goa-volume 931 ? 00:00:00 gvfs-gphoto2-vo 935 ? 00:00:00 gvfs-afc-volume 940 ? 00:00:00 gvfs-mtp-volume 966 ? 00:00:00 gvfsd-trash 1109 ? 00:00:05 packagekitd 1308 ? 00:00:00 systemd-timesyn 1313 ? 00:04:24 geany 1332 pts/0 00:00:02 bash 2349 ? 00:00:00 kworker/1:0H-kblockd 7372 ? 00:00:03 lxterminal 7378 pts/1 00:00:00 bash 8996 ? 00:00:24 mousepad 9007 ? 00:00:00 xfconfd 9017 ? 00:00:00 dconf-service 9030 ? 00:00:00 gvfsd-network 9037 ? 00:00:00 gvfsd-smb-brows 9049 ? 00:00:00 gvfsd-dnssd 10738 pts/0 00:00:00 thttpd_wrapper 11619 ? 00:00:03 kworker/u8:0-events_unbound 15095 pts/2 00:00:00 bash 17442 ? 00:00:22 thttpd 18049 ? 00:00:01 kworker/u8:2+events_unbound 19083 ? 00:00:00 kworker/1:1-events 19407 ? 00:00:00 kworker/2:3-mm_percpu_wq 20159 ? 00:00:00 kworker/1:1H 20169 ? 00:00:00 kworker/3:1-events 21161 ? 00:00:00 kworker/2:2H 21187 ? 00:00:00 kworker/0:2H 21320 ? 00:00:00 kworker/0:2-events 21392 ? 00:00:00 kworker/2:0-events 21599 ? 00:00:00 kworker/u8:1-events_unbound 21649 ? 00:00:00 kworker/2:2-mm_percpu_wq 21656 ? 00:00:00 kworker/0:3-events 21711 ? 00:00:00 kworker/3:0H 21771 ? 00:00:00 kworker/1:0-mm_percpu_wq 21997 ? 00:00:00 kworker/3:3-events 22124 ? 00:00:00 kworker/2:0H 22361 ? 00:00:00 kworker/u8:3-events_unbound 22375 ? 00:00:00 kworker/0:0-events 22462 ? 00:00:00 kworker/1:2-events 22477 ? 00:00:00 kworker/1:2H 22623 ? 00:00:00 kworker/0:1-events 22652 ? 00:00:00 kworker/3:0-mm_percpu_wq 22769 pts/0 00:00:00 ps frank@raspberrypi:~ $ frank@raspberrypi:~ $ date ### 4489 Tue 12 Jul 2022 04:57:19 PM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ df -H ### 4495 Filesystem Size Used Avail Use% Mounted on /dev/root 31G 9.0G 21G 31% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.3M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 37k 403M 1% /run/user/1000 frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ ls -al ### This is to check if anything got added here like a touch number or the public_html symbolic link. 4508 total 96 drwxr-xr-x 17 frank frank 4096 Jul 12 15:05 . drwxr-xr-x 12 root root 4096 Jul 12 16:52 .. -rw------- 1 frank frank 428 Jul 12 14:20 .bash_history -rw-r--r-- 1 frank frank 220 Apr 4 05:48 .bash_logout -rw-r--r-- 1 frank frank 3523 Apr 4 05:48 .bashrc drwxr-xr-x 2 frank frank 4096 Apr 4 05:57 Bookshelf drwxr-xr-x 5 frank frank 4096 Jul 12 15:16 .cache drwx------ 16 frank frank 4096 Jul 12 15:14 .config drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Desktop drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Documents drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Downloads drwx------ 2 frank frank 4096 Jul 12 15:25 .elinks drwxr-xr-x 7 frank frank 4096 Jul 12 17:00 freedom drwxr-xr-x 3 frank frank 4096 Apr 4 05:57 .local drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Music drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Pictures drwx------ 3 frank frank 4096 Jul 12 11:30 .pp_backup -rw-r--r-- 1 frank frank 807 Apr 4 05:48 .profile drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Public drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Templates drwxr-xr-x 2 frank frank 4096 Jul 12 11:29 Videos -rw------- 1 frank frank 56 Jul 12 14:20 .Xauthority -rw------- 1 frank frank 2555 Jul 12 14:20 .xsession-errors -rw------- 1 frank frank 2522 Jul 12 11:32 .xsession-errors.old frank@raspberrypi:~ $ frank@raspberrypi:~ $ # Stop the computer, then start the computer to see where "thttpd_wrapper" ends up, by using ps -e, as the computer loads from scratch! 4585 frank@raspberrypi:~ $ frank@raspberrypi:~ $ 2022-07-13-Pi-400-U1-32GB-SDHC-rpdiags.txt Raspberry Pi Diagnostics - version 0.10 Wed Jul 13 09:24:22 2022 Test : SD Card Speed Test Run 1 prepare-file;0;0;40255;78 seq-write;0;0;34896;68 rand-4k-write;0;0;5128;1282 rand-4k-read;11797;2949;0;0 Sequential write speed 34896 KB/sec (target 10000) - PASS Random write speed 1282 IOPS (target 500) - PASS Random read speed 2949 IOPS (target 1500) - PASS Test PASS frank@raspberrypi:~ $ date Wed 13 Jul 2022 09:32:51 AM MDT frank@raspberrypi:~ $ frank@raspberrypi:~ $ df -H Filesystem Size Used Avail Use% Mounted on /dev/root 31G 9.0G 21G 31% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.3M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 37k 403M 1% /run/user/1000 frank@raspberrypi:~ $ frank@raspberrypi:~ $ cd /media/frank/rootfs/home/ac0xl/ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ sudo du -bd9 www/ 147566454 www/2005-museumarchives/Charlotte/2005-07-13 120194889 www/2005-museumarchives/Charlotte/2005-07-01 126225066 www/2005-museumarchives/Charlotte/2005-06-30 126073711 www/2005-museumarchives/Charlotte/2005-06-11 119059038 www/2005-museumarchives/Charlotte/2005-05-22 639128529 www/2005-museumarchives/Charlotte 254575299 www/2005-museumarchives/Elgin-Cemetery/2004-11-15 254581353 www/2005-museumarchives/Elgin-Cemetery 33619762 www/2005-museumarchives/Raw-Data/1962.GRHS.YrBk 61137857 www/2005-museumarchives/Raw-Data/0-Raw-Data/Wilcox.Collection 44561264 www/2005-museumarchives/Raw-Data/0-Raw-Data/Nelsons 67692363 www/2005-museumarchives/Raw-Data/0-Raw-Data/Museum.pics 55010021 www/2005-museumarchives/Raw-Data/0-Raw-Data/Heritage.Days.07-24-2004 18261708 www/2005-museumarchives/Raw-Data/0-Raw-Data/Gray.W. 10632179 www/2005-museumarchives/Raw-Data/0-Raw-Data/B.Families 28628 www/2005-museumarchives/Raw-Data/0-Raw-Data/Policies-Procedures 8730905 www/2005-museumarchives/Raw-Data/0-Raw-Data/0-old-logs 21843852 www/2005-museumarchives/Raw-Data/0-Raw-Data/Church.Pic 53572764 www/2005-museumarchives/Raw-Data/0-Raw-Data/Building.Survey 371836 www/2005-museumarchives/Raw-Data/0-Raw-Data/They.Were.Here.Index.2005 42833 www/2005-museumarchives/Raw-Data/0-Raw-Data/Quilt.Blocks 132230969 www/2005-museumarchives/Raw-Data/0-Raw-Data/Gillis.old.Green.River.photos.2.text 43129219 www/2005-museumarchives/Raw-Data/0-Raw-Data/gallery-pictures 19029 www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.Lib.Pic.bk2 56484292 www/2005-museumarchives/Raw-Data/0-Raw-Data/Powell-Mary-Recording 9992487 www/2005-museumarchives/Raw-Data/0-Raw-Data/C.Families 49231222 www/2005-museumarchives/Raw-Data/0-Raw-Data/Olsens 158660057 www/2005-museumarchives/Raw-Data/0-Raw-Data/Hurst.Range.Ck.SLC.Museum.Other.stuff 310845012 www/2005-museumarchives/Raw-Data/0-Raw-Data/Grandma.Dumas.scrap.book.1 44495 www/2005-museumarchives/Raw-Data/0-Raw-Data/R.Families 63870011 www/2005-museumarchives/Raw-Data/0-Raw-Data/Joseph.Buck.Kiely.Tomlinson 380741883 www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim_Ramsay_II 86223947 www/2005-museumarchives/Raw-Data/0-Raw-Data/Hillers 110170997 www/2005-museumarchives/Raw-Data/0-Raw-Data/Old.GR.Pics 414117 www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.Post.Office.pre.1910.UT.map 52155546 www/2005-museumarchives/Raw-Data/0-Raw-Data/F.Families 534586337 www/2005-museumarchives/Raw-Data/0-Raw-Data/JR.Misc.3 49539348 www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.misc.pics 111876332 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-04 (Apr) 24634524 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-03 (Mar) 23146016 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2003-04 (Apr) 57997722 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-05 (May) 32964023 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-01 (Jan) 250622713 www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures 43217315 www/2005-museumarchives/Raw-Data/0-Raw-Data/GRHS.Nwsp.65-66 177055560 www/2005-museumarchives/Raw-Data/0-Raw-Data/JW_Powell 27573504 www/2005-museumarchives/Raw-Data/0-Raw-Data/Boyd.Hunt 2156841 www/2005-museumarchives/Raw-Data/0-Raw-Data/Howard.Lawrence.Hastings.Water.Wheel 703541 www/2005-museumarchives/Raw-Data/0-Raw-Data/Junk.Stuff 17040878 www/2005-museumarchives/Raw-Data/0-Raw-Data/D.Families 1841541 www/2005-museumarchives/Raw-Data/0-Raw-Data/Museum.boats 141057257 www/2005-museumarchives/Raw-Data/0-Raw-Data/Grandma.Dumas.scrap.book.2 42374672 www/2005-museumarchives/Raw-Data/0-Raw-Data/more.old.pic 4192 www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay_1950s 38525 www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/images 116724464 www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/sound 681027 www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/Audio 136090251 www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/real 253561658 www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings 41115210 www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay.Relief.Society 155975778 www/2005-museumarchives/Raw-Data/0-Raw-Data/More_old_gr_pics 32120546 www/2005-museumarchives/Raw-Data/0-Raw-Data/Burnett 202097800 www/2005-museumarchives/Raw-Data/0-Raw-Data/Sylvia.Harris.Ekker 444050921 www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim.Misc.2 3529855 www/2005-museumarchives/Raw-Data/0-Raw-Data/Thompsons 10304997 www/2005-museumarchives/Raw-Data/0-Raw-Data/Silliman 62571923 www/2005-museumarchives/Raw-Data/0-Raw-Data/Gillis.old.Green.River.photos.2 10419240 www/2005-museumarchives/Raw-Data/0-Raw-Data/Old.GR.Photos.vol.2 904666 www/2005-museumarchives/Raw-Data/0-Raw-Data/Pasco.Spatafore 266211 www/2005-museumarchives/Raw-Data/0-Raw-Data/They.Were.Here.Index.12-03-04 17720076 www/2005-museumarchives/Raw-Data/0-Raw-Data/Verna.Holloway.Perrin 19622031 www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay.mis.file 341130318 www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim.Ramsay 25733334 www/2005-museumarchives/Raw-Data/0-Raw-Data/This.is.the.Legend.Melon.Days.1947 4705001929 www/2005-museumarchives/Raw-Data/0-Raw-Data 518262215 www/2005-museumarchives/Raw-Data/1960.GR.Yearbook 43129219 www/2005-museumarchives/Raw-Data/gallery-pictures 38525 www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/images 116724464 www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/sound 681027 www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/Audio 136090251 www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/real 253561658 www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings 674784774 www/2005-museumarchives/Raw-Data/1946.Green.River.Yearbook 28552863 www/2005-museumarchives/Raw-Data/1909.GR.News 6256916533 www/2005-museumarchives/Raw-Data 127170961 www/2005-museumarchives/River-History/Tejas_Edwards 127177227 www/2005-museumarchives/River-History 4096 www/2005-museumarchives/James-Ramsay/Student_Papers/Griffard_Mike 35890245 www/2005-museumarchives/James-Ramsay/Student_Papers/Marsing_Barbara 35899594 www/2005-museumarchives/James-Ramsay/Student_Papers 9816372 www/2005-museumarchives/James-Ramsay/Green-River-Articles/Utah_Historical_Quarterly_Spring_1964 66661659 www/2005-museumarchives/James-Ramsay/Green-River-Articles/Green_River_Dispatch_1919 76483394 www/2005-museumarchives/James-Ramsay/Green-River-Articles 112388339 www/2005-museumarchives/James-Ramsay 152689236 www/2005-museumarchives/Missile-Base 40303552 www/2005-museumarchives/Green-River-History/Green_River_History_Book 28809051 www/2005-museumarchives/Green-River-History/GreenRiver-Bacon 69125980 www/2005-museumarchives/Green-River-History 7612359073 www/2005-museumarchives 7066 www/2009-GreenRiver.UT/johnwesleypowell.com/images/exhibits 165230 www/2009-GreenRiver.UT/johnwesleypowell.com/images/sanrafael 152573 www/2009-GreenRiver.UT/johnwesleypowell.com/images/jwp 342611 www/2009-GreenRiver.UT/johnwesleypowell.com/images/giftshop 520217 www/2009-GreenRiver.UT/johnwesleypowell.com/images/rivergallery 8267 www/2009-GreenRiver.UT/johnwesleypowell.com/images/archives 873969 www/2009-GreenRiver.UT/johnwesleypowell.com/images/canyons 6258 www/2009-GreenRiver.UT/johnwesleypowell.com/images/travel 44191 www/2009-GreenRiver.UT/johnwesleypowell.com/images/museum 47884 www/2009-GreenRiver.UT/johnwesleypowell.com/images/gunnison 171657 www/2009-GreenRiver.UT/johnwesleypowell.com/images/river 2390680 www/2009-GreenRiver.UT/johnwesleypowell.com/images 4468132 www/2009-GreenRiver.UT/johnwesleypowell.com 4610164 www/2009-GreenRiver.UT/sterling.webiness.com/law2 10579907 www/2009-GreenRiver.UT/sterling.webiness.com/law 8601986 www/2009-GreenRiver.UT/sterling.webiness.com/codebook 23792057 www/2009-GreenRiver.UT/sterling.webiness.com/Green River,UT 47589278 www/2009-GreenRiver.UT/sterling.webiness.com 41376 www/2009-GreenRiver.UT/greenriverutah.com/images/area attractions 51114 www/2009-GreenRiver.UT/greenriverutah.com/images/melon days 08 291338 www/2009-GreenRiver.UT/greenriverutah.com/images 30821023 www/2009-GreenRiver.UT/greenriverutah.com/brochures 26609 www/2009-GreenRiver.UT/greenriverutah.com/calendar 4894858 www/2009-GreenRiver.UT/greenriverutah.com/Melon Days 29657 www/2009-GreenRiver.UT/greenriverutah.com/archives/images/history 54569 www/2009-GreenRiver.UT/greenriverutah.com/archives/images 12196 www/2009-GreenRiver.UT/greenriverutah.com/archives/pics/album/res 20898 www/2009-GreenRiver.UT/greenriverutah.com/archives/pics/album 24994 www/2009-GreenRiver.UT/greenriverutah.com/archives/pics 230429 www/2009-GreenRiver.UT/greenriverutah.com/archives 110999 www/2009-GreenRiver.UT/greenriverutah.com/agenda/city council 139539 www/2009-GreenRiver.UT/greenriverutah.com/agenda/p_z 355659 www/2009-GreenRiver.UT/greenriverutah.com/agenda 12125 www/2009-GreenRiver.UT/greenriverutah.com/Scripts 36405 www/2009-GreenRiver.UT/greenriverutah.com/minutes 37809992 www/2009-GreenRiver.UT/greenriverutah.com 89871518 www/2009-GreenRiver.UT 17628 www/Web-demo~1994/maze/rooms 549951 www/Web-demo~1994/maze/pix 575460 www/Web-demo~1994/maze 590886 www/Web-demo~1994 88696 www/SlackBook14-1/html/installation 28886 www/SlackBook14-1/html/basic-network-commands 14697 www/SlackBook14-1/html/package-management 5524 www/SlackBook14-1/html/imagelib/admon 9620 www/SlackBook14-1/html/imagelib 11938 www/SlackBook14-1/html/emacs 10517 www/SlackBook14-1/html/system-configuration 30052 www/SlackBook14-1/html/x-window-system 16906 www/SlackBook14-1/html/booting 7611 www/SlackBook14-1/html/vi 1469105 www/SlackBook14-1/html 3336239 www/SlackBook14-1 188684 www/Slackware Linux Essentials_files 2190959 www/Slack8Book_files 1998169 www/1999-ArchHunterBooks/images 60918 www/1999-ArchHunterBooks/old.htm 2239340 www/1999-ArchHunterBooks 88696 www/slackbook/installation 28886 www/slackbook/basic-network-commands 14697 www/slackbook/package-management 5524 www/slackbook/imagelib/admon 9620 www/slackbook/imagelib 11938 www/slackbook/emacs 10517 www/slackbook/system-configuration 30052 www/slackbook/x-window-system 16906 www/slackbook/booting 7611 www/slackbook/vi 1469105 www/slackbook 26644 www/The Revised Slackware Book Project_files 12517101 www/2003-ArchHunterBooks/images 12728178 www/2003-ArchHunterBooks 526765 www/2001-ArchHunterBooks/images 3221739 www/2001-ArchHunterBooks/SJSlides 3767622 www/2001-ArchHunterBooks 526765 www/2002-ArchHunterBooks/images 3221739 www/2002-ArchHunterBooks/SJSlides 3767949 www/2002-ArchHunterBooks 7735795810 www/ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ sudo cp -ia www /home/local/www/users/ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ frank@raspberrypi:/media/frank/rootfs/home/ac0xl $ cd /home/local/www/users/ frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ ls -al total 56 drwxrwxr-x 11 root www 4096 Jul 13 09:38 . drwxr-xr-x 5 root www 4096 Jul 12 14:56 .. drwxr-xr-x 2 a0 www 4096 Jul 12 14:45 a0 drwxr-xr-x 2 documents www 4096 Jul 12 16:34 documents drwxr-xr-x 2 downloads www 4096 Jul 12 16:38 downloads -rw-r--r-- 1 frank frank 533 Jan 8 2020 favicon.ico drwxr-xr-x 2 memes www 4096 Jul 12 16:40 memes drwxr-xr-x 2 music www 4096 Jul 12 16:46 music drwxr-xr-x 2 notices www 4096 Jul 12 16:49 notices drwxr-xr-x 2 pictures www 4096 Jul 12 16:51 pictures -rw-r--r-- 1 frank frank 308 Aug 13 2021 readme.txt -rw-r--r-- 1 frank frank 27 Jan 8 2020 robots.txt drwxr-xr-x 2 videos www 4096 Jul 12 16:53 videos drwxr-xr-x 14 a0 epmd 4096 Nov 10 2021 www frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ df -H Filesystem Size Used Avail Use% Mounted on /dev/root 31G 17G 13G 57% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.1G 0 2.1G 0% /dev/shm tmpfs 806M 1.4M 804M 1% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 403M 37k 403M 1% /run/user/1000 /dev/sdb1 265M 32M 233M 12% /media/frank/boot /dev/sdb2 123G 117G 797M 100% /media/frank/rootfs frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ sudo du -bd9 4096 ./downloads 4096 ./memes 5524 ./www/slackbook/imagelib/admon 9620 ./www/slackbook/imagelib 7611 ./www/slackbook/vi 16906 ./www/slackbook/booting 11938 ./www/slackbook/emacs 10517 ./www/slackbook/system-configuration 88696 ./www/slackbook/installation 30052 ./www/slackbook/x-window-system 14697 ./www/slackbook/package-management 28886 ./www/slackbook/basic-network-commands 1469105 ./www/slackbook 12517101 ./www/2003-ArchHunterBooks/images 12728178 ./www/2003-ArchHunterBooks 188684 ./www/Slackware Linux Essentials_files 26644 ./www/The Revised Slackware Book Project_files 549951 ./www/Web-demo~1994/maze/pix 17628 ./www/Web-demo~1994/maze/rooms 575460 ./www/Web-demo~1994/maze 590886 ./www/Web-demo~1994 5524 ./www/SlackBook14-1/html/imagelib/admon 9620 ./www/SlackBook14-1/html/imagelib 7611 ./www/SlackBook14-1/html/vi 16906 ./www/SlackBook14-1/html/booting 11938 ./www/SlackBook14-1/html/emacs 10517 ./www/SlackBook14-1/html/system-configuration 88696 ./www/SlackBook14-1/html/installation 30052 ./www/SlackBook14-1/html/x-window-system 14697 ./www/SlackBook14-1/html/package-management 28886 ./www/SlackBook14-1/html/basic-network-commands 1469105 ./www/SlackBook14-1/html 3336239 ./www/SlackBook14-1 120194889 ./www/2005-museumarchives/Charlotte/2005-07-01 126225066 ./www/2005-museumarchives/Charlotte/2005-06-30 147570550 ./www/2005-museumarchives/Charlotte/2005-07-13 119054942 ./www/2005-museumarchives/Charlotte/2005-05-22 126073711 ./www/2005-museumarchives/Charlotte/2005-06-11 639128529 ./www/2005-museumarchives/Charlotte 4096 ./www/2005-museumarchives/James-Ramsay/Student_Papers/Griffard_Mike 35890245 ./www/2005-museumarchives/James-Ramsay/Student_Papers/Marsing_Barbara 35899594 ./www/2005-museumarchives/James-Ramsay/Student_Papers 66661659 ./www/2005-museumarchives/James-Ramsay/Green-River-Articles/Green_River_Dispatch_1919 9816372 ./www/2005-museumarchives/James-Ramsay/Green-River-Articles/Utah_Historical_Quarterly_Spring_1964 76483394 ./www/2005-museumarchives/James-Ramsay/Green-River-Articles 112388339 ./www/2005-museumarchives/James-Ramsay 40303552 ./www/2005-museumarchives/Green-River-History/Green_River_History_Book 28809051 ./www/2005-museumarchives/Green-River-History/GreenRiver-Bacon 69125980 ./www/2005-museumarchives/Green-River-History 127170961 ./www/2005-museumarchives/River-History/Tejas_Edwards 127177227 ./www/2005-museumarchives/River-History 254575299 ./www/2005-museumarchives/Elgin-Cemetery/2004-11-15 254581353 ./www/2005-museumarchives/Elgin-Cemetery 152689236 ./www/2005-museumarchives/Missile-Base 518262215 ./www/2005-museumarchives/Raw-Data/1960.GR.Yearbook 33619762 ./www/2005-museumarchives/Raw-Data/1962.GRHS.YrBk 3529855 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Thompsons 18261708 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Gray.W. 141057257 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Grandma.Dumas.scrap.book.2 19622031 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay.mis.file 444050921 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim.Misc.2 2156841 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Howard.Lawrence.Hastings.Water.Wheel 53572764 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Building.Survey 4192 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay_1950s 19029 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.Lib.Pic.bk2 44561264 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Nelsons 371836 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/They.Were.Here.Index.2005 1841541 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Museum.boats 43217315 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/GRHS.Nwsp.65-66 904666 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Pasco.Spatafore 10419240 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Old.GR.Photos.vol.2 414117 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.Post.Office.pre.1910.UT.map 177055560 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/JW_Powell 155975778 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/More_old_gr_pics 266211 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/They.Were.Here.Index.12-03-04 28628 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Policies-Procedures 67692363 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Museum.pics 21843852 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Church.Pic 25733334 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/This.is.the.Legend.Melon.Days.1947 310845012 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Grandma.Dumas.scrap.book.1 116724464 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/sound 136090251 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/real 38525 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/images 681027 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings/Audio 253561658 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Harris-Ekker-Recordings 132230969 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Gillis.old.Green.River.photos.2.text 42374672 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/more.old.pic 55010021 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Heritage.Days.07-24-2004 49231222 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Olsens 44495 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/R.Families 10304997 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Silliman 42833 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Quilt.Blocks 158660057 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Hurst.Range.Ck.SLC.Museum.Other.stuff 341130318 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim.Ramsay 534586337 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/JR.Misc.3 10632179 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/B.Families 9992487 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/C.Families 63870011 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Joseph.Buck.Kiely.Tomlinson 110170997 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Old.GR.Pics 32120546 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Burnett 86223947 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Hillers 24634524 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-03 (Mar) 111876332 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-04 (Apr) 57997722 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-05 (May) 32964023 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2005-01 (Jan) 23146016 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures/2003-04 (Apr) 250622713 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/My-Pictures 703541 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Junk.Stuff 52155546 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/F.Families 61137857 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Wilcox.Collection 380741883 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Jim_Ramsay_II 8730905 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/0-old-logs 41115210 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Ramsay.Relief.Society 17720076 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Verna.Holloway.Perrin 62571923 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Gillis.old.Green.River.photos.2 49539348 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/GR.misc.pics 43129219 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/gallery-pictures 202097800 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Sylvia.Harris.Ekker 17040878 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/D.Families 56484292 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Powell-Mary-Recording 27573504 ./www/2005-museumarchives/Raw-Data/0-Raw-Data/Boyd.Hunt 4705001929 ./www/2005-museumarchives/Raw-Data/0-Raw-Data 674784774 ./www/2005-museumarchives/Raw-Data/1946.Green.River.Yearbook 116724464 ./www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/sound 136090251 ./www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/real 38525 ./www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/images 681027 ./www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings/Audio 253561658 ./www/2005-museumarchives/Raw-Data/Harris-Ekker-Recordings 28552863 ./www/2005-museumarchives/Raw-Data/1909.GR.News 43129219 ./www/2005-museumarchives/Raw-Data/gallery-pictures 6256916533 ./www/2005-museumarchives/Raw-Data 7612359073 ./www/2005-museumarchives 2190959 ./www/Slack8Book_files 526765 ./www/2001-ArchHunterBooks/images 3221739 ./www/2001-ArchHunterBooks/SJSlides 3767622 ./www/2001-ArchHunterBooks 60918 ./www/1999-ArchHunterBooks/old.htm 1998169 ./www/1999-ArchHunterBooks/images 2239340 ./www/1999-ArchHunterBooks 152573 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/jwp 342611 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/giftshop 6258 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/travel 8267 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/archives 873969 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/canyons 44191 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/museum 47884 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/gunnison 7066 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/exhibits 171657 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/river 520217 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/rivergallery 165230 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images/sanrafael 2390680 ./www/2009-GreenRiver.UT/johnwesleypowell.com/images 4468132 ./www/2009-GreenRiver.UT/johnwesleypowell.com 26609 ./www/2009-GreenRiver.UT/greenriverutah.com/calendar 139539 ./www/2009-GreenRiver.UT/greenriverutah.com/agenda/p_z 110999 ./www/2009-GreenRiver.UT/greenriverutah.com/agenda/city council 355659 ./www/2009-GreenRiver.UT/greenriverutah.com/agenda 29657 ./www/2009-GreenRiver.UT/greenriverutah.com/archives/images/history 54569 ./www/2009-GreenRiver.UT/greenriverutah.com/archives/images 12196 ./www/2009-GreenRiver.UT/greenriverutah.com/archives/pics/album/res 20898 ./www/2009-GreenRiver.UT/greenriverutah.com/archives/pics/album 24994 ./www/2009-GreenRiver.UT/greenriverutah.com/archives/pics 230429 ./www/2009-GreenRiver.UT/greenriverutah.com/archives 51114 ./www/2009-GreenRiver.UT/greenriverutah.com/images/melon days 08 41376 ./www/2009-GreenRiver.UT/greenriverutah.com/images/area attractions 291338 ./www/2009-GreenRiver.UT/greenriverutah.com/images 12125 ./www/2009-GreenRiver.UT/greenriverutah.com/Scripts 30821023 ./www/2009-GreenRiver.UT/greenriverutah.com/brochures 4894858 ./www/2009-GreenRiver.UT/greenriverutah.com/Melon Days 36405 ./www/2009-GreenRiver.UT/greenriverutah.com/minutes 37809992 ./www/2009-GreenRiver.UT/greenriverutah.com 10579907 ./www/2009-GreenRiver.UT/sterling.webiness.com/law 4610164 ./www/2009-GreenRiver.UT/sterling.webiness.com/law2 23792057 ./www/2009-GreenRiver.UT/sterling.webiness.com/Green River,UT 8601986 ./www/2009-GreenRiver.UT/sterling.webiness.com/codebook 47589278 ./www/2009-GreenRiver.UT/sterling.webiness.com 89871518 ./www/2009-GreenRiver.UT 526765 ./www/2002-ArchHunterBooks/images 3221739 ./www/2002-ArchHunterBooks/SJSlides 3767949 ./www/2002-ArchHunterBooks 7735795810 ./www 4096 ./videos 4096 ./a0 4096 ./documents 4096 ./pictures 4096 ./music 4096 ./notices 7735833542 . frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ frank@raspberrypi:/home/local/www/users $ Raspberry Pi Diagnostics - version 0.10 Wed Jul 13 09:50:37 2022 Test : SD Card Speed Test Run 1 prepare-file;0;0;40857;79 seq-write;0;0;23736;46 rand-4k-write;0;0;4335;1083 rand-4k-read;11673;2918;0;0 Sequential write speed 23736 KB/sec (target 10000) - PASS Random write speed 1083 IOPS (target 500) - PASS Random read speed 2918 IOPS (target 1500) - PASS Test PASS frank@raspberrypi:~ $ cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2835 Revision : 000e Serial : 0000000004ea4fb7 Model : Raspberry Pi Model B Rev 2 frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /proc/meminfo MemTotal: 439816 kB MemFree: 87444 kB MemAvailable: 179276 kB Buffers: 10604 kB Cached: 131212 kB SwapCached: 380 kB Active: 79964 kB Inactive: 219936 kB Active(anon): 22760 kB Inactive(anon): 145868 kB Active(file): 57204 kB Inactive(file): 74068 kB Unevictable: 16 kB Mlocked: 16 kB SwapTotal: 102396 kB SwapFree: 85244 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 157928 kB Mapped: 60636 kB Shmem: 10544 kB KReclaimable: 11232 kB Slab: 23000 kB SReclaimable: 11232 kB SUnreclaim: 11768 kB KernelStack: 1560 kB PageTables: 4164 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 322304 kB Committed_AS: 1274812 kB VmallocTotal: 573440 kB VmallocUsed: 4516 kB VmallocChunk: 0 kB Percpu: 64 kB CmaTotal: 262144 kB CmaFree: 65664 kB frank@raspberrypi:~ $ frank@raspberrypi:~ $ cat /proc/version Linux version 5.15.32+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 Thu Mar 31 19:37:58 BST 2022 frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ df -H Filesystem Size Used Avail Use% Mounted on /dev/root 31G 17G 13G 57% / devtmpfs 91M 0 91M 0% /dev tmpfs 226M 0 226M 0% /dev/shm tmpfs 91M 1.1M 89M 2% /run tmpfs 5.3M 4.1k 5.3M 1% /run/lock /dev/mmcblk0p1 265M 52M 213M 20% /boot tmpfs 46M 29k 46M 1% /run/user/1000 frank@raspberrypi:~ $ frank@raspberrypi:~ $ frank@raspberrypi:~ $ 2022-07-13-Pi-Model-B-Rev-2-U1-32GB-SDHC-rpdiags.txt Raspberry Pi Diagnostics - version 0.10 Wed Jul 13 10:29:12 2022 Test : SD Card Speed Test Run 1 prepare-file;0;0;16278;31 seq-write;0;0;15223;29 rand-4k-write;0;0;2290;572 rand-4k-read;2750;687;0;0 Sequential write speed 15223 KB/sec (target 10000) - PASS Random write speed 572 IOPS (target 500) - PASS Random read speed 687 IOPS (target 1500) - FAIL Run 2 prepare-file;0;0;15746;30 seq-write;0;0;16066;31 rand-4k-write;0;0;2198;549 rand-4k-read;2732;683;0;0 Sequential write speed 16066 KB/sec (target 10000) - PASS Random write speed 549 IOPS (target 500) - PASS Random read speed 683 IOPS (target 1500) - FAIL Run 3 prepare-file;0;0;11797;23 seq-write;0;0;8269;16 rand-4k-write;0;0;1572;393 rand-4k-read;2723;680;0;0 Sequential write speed 8269 KB/sec (target 10000) - FAIL Note that sequential write speed declines over time as a card is used - your card may require reformatting Random write speed 393 IOPS (target 500) - FAIL Random read speed 680 IOPS (target 1500) - FAIL Test FAIL