Skip to content

Latest commit

 

History

History

p

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

example profiles (config overlays) which replace corresponding files inside sm and etc with their own at build time

  • usage example: ./build.sh -p uki
  • suitable for secureboot as it does full integrity verification of all resources
    • should be impossible (but probably isn't) to get a shell
  • includes a bunch of convenient software for debugging
    • ./obig/ is the same except smaller
  • adds a custom ./sm/post-build.sh to make ../build.sh download and insert r0c.py into the image, and
  • replaces the default asm.sh (the bootscript) with ./sm/asm.sh which:
    • sets up the first network interface with static ip 10.1.2.51
    • sets up an sshd with root password k
    • launches the r0c chat-server on ports 23 (telnet) and 531 (netcat)

r0cbox hardware requirements:

  • RAM: 128 MiB minimum, 192 MiB recommended
  • CPU: yes preferably
  • the classic
  • securely erase all detected harddrives by overwriting them with random data
    • no questions asked, it just GOES
    • also tries to blkdiscard for instant effect on SSD / NVMe drives
    • the "securely" part only applies to conventional magnetic drives (CMR), no guarantees for SMR / SSD / eMMC / NVMe
  • logs output to USB and the first serial-port
  • opens firefox in kiosk-mode
  • just a demo, not actually safe for deployment
    • will exit to an interactive shell if firefox crashes / exits
    • and by default there are other TTYs without password protection anyways
  • 1 GiB or more RAM is recommended depending on website contents
  • produces a 24 MiB iso and/or gzipped usb image:
    ./build.sh -i dl/alpine-virt-3.19.1-x86.iso -oi asm.iso -p min -s 0.06
    
    • (non-virt i386 is 33 MiB due to hw drivers)