Commit Graph

148 Commits

Author SHA1 Message Date
PartialVolume
3b94392d3d Merge pull request #255 from PartialVolume/Ping_server_and_wait
Various fixes to do with tftp/ftp transfers.
Fixes #242 Pauses for upto 30 seconds before launching nwipe
if ftp/tftp transfers are being used. This is because if the
user specified shredos_config="..." on the kernel command line
in order to retrieve the nwipe.conf and nwipe_customers.csv
files from a local ftp/tftp server, the server needs to be
online before nwipe is launched. On some systems/networks the
ethernet hardware initialisation and then DHCP requests can be
slower than nwipe launching hence why we now ping the server
to makesure it's online before launching nwipe.

Lots of improvements to error detection and handling for tftp

Improvments to the "shredos_autoreboot=enable" option. When this
option is placed on the kernel command line shredos will reboot
upon completion of wipes. --nowait option is appled by the scipt
to nwipe so nwipe doesn't wait for user interaction before exiting.
If the shredos_config="..." or shredos_output="..." kernel command
line options have been added by the user, autoreboot and also
autoshutdown will wait after exiting nwipe if any ftp/tftp errors
occurred so the user can review the transfer log and decide on a
course of action if necessary.
2024-05-24 23:00:04 +01:00
PartialVolume
c78a73292d Merge pull request #255 from PartialVolume/Ping_server_and_wait
Various fixes to do with tftp/ftp transfers.
Fixes #242
2024-05-22 00:15:46 +01:00
PartialVolume
34eacfb576 Merge pull request #223 from ExaneServerTeam/bugfix/fix-kernel_cmdline_extractor-build
Fix kernel_cmdline_extractor build
2024-05-22 00:10:47 +01:00
PartialVolume
e28a7d6dad Various fixes to do with tftp/ftp transfers
1. Debug tftp transfers for restoring config files and outputing
pdfs and logs.

2. Added a ping status delay for the ftp/tftp that only proceeds
with launching nwipe if ftp/tftp servers have been configured on
the kernel command line. The delay has a 30 second timeout upon
which nwipe will launch. This fixes a problem where nwipe launches
before the ethernet hardware is active and a IP address had not
been obtained. This caused nwipe to not be able to read the
config files from the ftp/tftp server.

3. Removed 4 second countdown on restarting nwipe.
2024-05-21 23:52:53 +01:00
PartialVolume
174a967fe6 Update with the correct filename 2024-05-17 23:22:38 +01:00
PartialVolume
b52a2f6a57 Updated kernel config backup filename 2024-05-17 23:16:23 +01:00
PartialVolume
a9061850c9 Add missing images directory and contents 2024-05-17 22:30:33 +01:00
PartialVolume
b3a6142574 Merge pull request #253 from PartialVolume/Update_buildroot
Update buildroot to 2024.02.2, kernel to 6.6.2, drivers, firmware, nwipe to v0.37
2024-05-17 17:48:05 +01:00
PartialVolume
c000e2a83d Update buildroot to 2024.02.2, kernel to 6.6.2, GPU & DRM drivers, nwipe to v0.37 plus many others. 2024-05-17 17:42:31 +01:00
PartialVolume
b63324710c Merge pull request #248 from tlschenkjr/patch-1
Update nwipe_launcher fixing missing colons in transfer.log messages …
2024-05-09 18:41:27 +01:00
tlschenkjr
652ce98c2c Update nwipe_launcher fixing missing colons in transfer.log messages and changed lftp_file to incoming for consistency. 2024-05-09 09:46:46 -05:00
PartialVolume
139cf78654 Merge pull request #243 from rarzberger4/patch-1
Update README.md
2024-04-15 11:25:59 +01:00
rarzberger4
27304b8c20 Update README.md 2024-04-15 10:13:12 +02:00
PartialVolume
bb87d66c65 Merge pull request #230 from PartialVolume/new_shutdown_reboot_options
New shutdown and reboot options
2024-03-06 19:32:52 +00:00
PartialVolume
0c3cac944f New shutdown and reboot options
When the user types Control C to exit nwipe after the wipes
have completed or to abort nwipe before wipes complete, previously
ShredOS provided only one option which was press the spacebar to
restart nwipe. The user could also have pressed the power button to
shutdown the computer.

This commit now provides the option to reboot or shutdown using the
keyboard. The following message is displayed after nwipe exits.
"Paused, press r to reboot, s to shutdown, spacebar to restart nwipe"

As before if auto shutdown has been selected via the kernel command
line then auto shutdown overrides this new message.
2024-03-06 19:16:06 +00:00
PartialVolume
c1b59fa938 Update README.md
Update header url.
2024-03-04 20:25:11 +00:00
PartialVolume
bde2134bb5 Update README.md
Added instructions on how to exclude the ShredOS fat formatted boot drive from nwipe's interactive or autonuke modes.
2024-03-04 20:14:50 +00:00
PartialVolume
f8121f7886 Merge pull request #228 from PartialVolume/Exclude_shredos_boot_disc
Exclude FAT boot disc from erasure.
2024-03-02 22:23:21 +00:00
PartialVolume
e65a152014 Merge branch 'master' into Exclude_shredos_boot_disc 2024-03-02 22:22:58 +00:00
PartialVolume
ef2810ae64 Exclude FAT boot disc from erasure.
This commit allows the user to exclude the fat
formatted USB flash drive that ShredOS was booted from.

Reasons why the user might want to do this are:

a:) avoid the possibility of accidently selecting the
USB FAT formatted boot drive for erasure in interactive mode

b:) Stop the USB FAT formatted boot drive being erased in
autonuke mode.

There are two methods available to do this. You should currently
not manually add -e, --exclude=DEVICES on the kernel command line
if using either method described below as the results may be
unpredictable as nwipe doesn't currently combine two -e or --exclude
options. A patch to nwipe will fix this in due course. Further to
this, ShredOS will only exclude ONE FAT formatted USB drive. If you
plugged multiple FAT formatted drives into the system it will only
exclude the first drive it comes across that it either recognises
as a ShredOS boot drive or is explicitly excluded by using the empty
file /etc/shredos/shredos_exclude_disc. This file will take precedence
over ShredOS attempting to detect a boot drive by examining version
information.

The two methods to exclude a FAT formatted boot drive from being wiped
are described below. Even though a drive is excluded from the wipe it
will still have reports and logs transferred  to it unless some other
transfer method has been selected such as lftp.

1. The user can now place a empty file called
/etc/shredos/shredos_exclude_disc on the FAT formatted drive.
This will cause ShredOS to use the nwipe exclude option to
exclude the drive from being displayed in nwipe's interactive
mode or erased in nwipe's autonuke mode. This is particularly
userful for Ventoy users as they would not need to edit the
ShredOS .img file or build the modified ShredOS .iso as required
by method 2 below when making changes to grub.cfg.
However this method is not only limited to Ventoy users but can
also be used on a ShredOS USB created by dd or Rufus.

2. The user can place the text string shredos_exclude_boot_disc
on the kernel command line in /boot/grub/grub.cfg and /EFI/BOOT/grub.cfg
As with the first method this will cause ShredOS to exclude the FAT
formatted boot drive from appearing in nwipe's interactive mode or
being erased in nwipe's autonuke mode.

In addition to the above features various improvements were made to
the log messages include prefixing with date.
2024-03-02 21:55:31 +00:00
Frederic Brin
b6797896c6 Fix kernel_cmdline_extractor build
Currently the build of kernel_cmdline_extractor require
autoconf & automake installed on the host and do not
use the ones embedded in buildroot.

A simple use of autoreconf fix the build
2024-02-23 10:40:06 +01:00
PartialVolume
7a929001cc Merge branch 'master' of github.com:PartialVolume/shredos.x86_64 2024-02-22 21:33:37 +00:00
PartialVolume
447f1ac5d0 Merge branch 'master' of github.com:PartialVolume/shredos.x86_64
Add fat16 to existing fat32 & exfat disc formats

We now accept fat16 as well as fat32 and exfat formats for
USB devices that can have the config files restored from &
sent to as well as saving PDF files.
2024-02-22 21:26:42 +00:00
PartialVolume
38bbc1fd9e Merge branch 'master' of github.com:PartialVolume/shredos.x86_64 2024-02-22 19:41:44 +00:00
PartialVolume
2acaff5c3f Multiple loop device test mode for developers & testers.
The main purpose of this commit is to allow the developer
or tester the ability to specify /dev/loop0 .. /dev/loopn on the
kernel command line in /boot/grub/grub.cfg and /EFI/BOOT/grub.cfg
where n is unlimited, although it is recommended that no more
than 20-30 loop devices are specified. The loop devices are of a
fixed size alternating between 500Kbytes and 1 MByte in size. Due
to their small size you would typically select 500 or 1000 rounds
when testing. To create loop devices append the following to
grub.cfg nwipe_options='--nousb /dev/loop0 /dev/loop1 ... /dev/loopn'
loop devices should be sequential starting at loop0, any break in
the sequence will cause creation of loop devices to stop.

This commit also includes a ffmpeg module
+BR2_PACKAGE_FFMPEG_SWSCALE=y for creation of
videos of the display. This may be useful for creating
training material, youtube videos etc using the command
ffmpeg -f fbdev -framerate 30 -i /dev/fb0 output.mp4

Initial work was started on excluding the boot disc if
the following shredos_exclude_boot_disc is appended
to the kernel command line.
2024-02-22 19:39:08 +00:00
PartialVolume
67efa79c9c Update README.md
Update URL link to one of the .iso files
2024-02-20 16:36:06 +00:00
PartialVolume
13e968aef0 Update README.md
Updated link to i586_32bit .img https://github.com/PartialVolume/shredos.x86_64/releases/download/v2023.08.2_25.0_x86-64_0.35/shredos-2023.08.2_25.0_i586_0.35_20240219.img
2024-02-19 22:25:36 +00:00
PartialVolume
d1114b6be9 Merge pull request #217 from ExaneServerTeam/bugfix/doc-update-grub.cfg
Fix grub.cfg path for Bios on latest image
2024-02-13 18:05:37 +00:00
Frederic Brin
f8241bad14 Fix grub.cfg path for Bios on latest image
Config file moved from boot/grub.cfg to boot/grub/grub.cfg
2024-02-13 11:58:10 +01:00
PartialVolume
a7325c49db Added link to i586_32bit .iso
Added link to i586_32bit .iso
2024-02-10 21:39:39 +00:00
PartialVolume
989299f31e Update README.md
Minor textual changes to .img, iso release table
2024-02-09 16:16:11 +00:00
PartialVolume
4f50f508c3 Update README.md
Various changes to the table that contains links to .img & .iso releases.
2024-02-09 15:48:25 +00:00
PartialVolume
5782e81c9f Merge pull request #199 from PartialVolume/Add_read_write_nwipe_files_to_pxe_server
Changes mainly related to retrieving and saving config files and saving PDF, log and dmesg files via tftp and ftp
2024-01-01 22:24:58 +00:00
PartialVolume
c9346c1f16 1. Now searches through multiple drives looking for exfat/fat32 shredos boot
discs including Ventoy.
2. The delay ShredOS introduces while it waits for USB devices to initialise
   previously printed a period symbol every second to show somethink was
   happening, instead, it now counts down numerically from 30. Most USB
   devices have initialised after about 10-15 seconds.
3. Two new kernel command line options are introduced. The first allows the
   user to determine whether PDF, log and dmesg files are sent using tftp or
   ftp protocols.
   i.e shredos_config=ftp:192.168.0.2:/home/joe/ftpdata/:jo:488993d:d
4. The second kernel command line option is:
   shredos_output=ftp:192.168.0.2:/home/joe/ftpdata/:jo:488993d:d which
   determines where the nwipe config files are retrieved from on ShredOS boot
   and saved on nwipe exit.
5. Added package openssh for sftp support
6. Added package telnetd which had inadvertently been removed on the last update.
2024-01-01 22:20:20 +00:00
PartialVolume
c62fe70bed Merge pull request #198 from wibeasley/patch-1
space after period
2024-01-01 22:12:45 +00:00
Will Beasley
8eb8ddfe29 space after period 2024-01-01 16:04:41 -06:00
PartialVolume
f50def9346 Update README.md
Updated a few thing relevant to the latest release.
2023-12-13 18:31:10 +00:00
PartialVolume
f8d5e1a5b9 Update README.md
Update on how many drives can simultaneously wiped using ShredOS. Currently fifty per system.
2023-12-13 18:23:00 +00:00
PartialVolume
02ee9039cf Update README.md
Update to .img size and number of excluded drives increased from 10 to 30 from Rev. 25.1
2023-12-13 14:37:06 +00:00
PartialVolume
7c24827971 Update README.md
Fix spelling
2023-12-13 00:24:16 +00:00
PartialVolume
bea5a4e427 Update README.md
Fix two typos
2023-12-13 00:12:42 +00:00
PartialVolume
e5093abe16 Update README.md
Fix a typo
2023-12-12 23:14:03 +00:00
PartialVolume
0f4768ef9d Update README.md
Fix another typo.
2023-12-12 23:08:50 +00:00
PartialVolume
e871c67a7e Update README.md
Fix a typo
2023-12-12 23:06:57 +00:00
PartialVolume
88cf6caedd Correct some text formatting 2023-12-12 23:01:22 +00:00
PartialVolume
5c66536ed7 Update README.md
Update index link and remove bold text.
2023-12-12 22:52:32 +00:00
PartialVolume
adf21c4d93 Update README.md
Added a procedure for editing the ShredOS .img grub files and recreating the modified .img file.
2023-12-12 22:46:14 +00:00
PartialVolume
a0dc10c6d1 Update README.md
Update nwipe help, showing command line options as of release 0.35
2023-11-27 18:32:47 +00:00
PartialVolume
128f294799 Merge branch 'master' of github.com:PartialVolume/shredos.x86_64 2023-11-26 19:45:55 +00:00
PartialVolume
6acdce2eac ShredOS will now save & restore configuration files, dmesg.txt and PDF certificate files to Ventoy formatted USB flash drives. Instead of saving to the first FAT32 formatted disc found, it now examines the exFAT or FAT32 partition for version information that matches the currently booted version. The location of ../board/shredos/version.txt has been moved to board/shredos/fsoverlay/etc/shredos/version.txt. This file should be manually updated by the devs when new versions are released. The README.md file was updated with this new location for version.txt 2023-11-26 19:41:24 +00:00