After altering the config file, try:
/etc/init.d/hostname.sh
I tried to change the hostname in /etc/hostname and /etc/hosts but after saving the configuration, and re-booting with floppyconfig the hostname still came up Knoppix. I even ran the hostname command, to no avail.
How do I change the hostname in Knoppix 3.2?
Thanks,
Lars
After altering the config file, try:
/etc/init.d/hostname.sh
There's also a line in the script /etc/init.d/knoppix-autoconfig you can change that will probably work. Its about line 1053 or so....

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00
External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25
EDILOCA EN880E 1TB M.2 NVMe PCIe Gen4 Internal SSD for Laptop/PC
$115.00
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99
Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Western Digital WD Blue 1TB SATA 3.5in 7200RPM 64MB Internal HDD WD10EZEX
$14.99
Seagate Desktop 1TB/1000GB SATA 3.5" HDD Hard Drive
$29.99
External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A
$100.00