Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

K2-NetBlock

A small service for K2 printers that blocks outside network connections

Install methods

You can get the project onto the printer in either of these ways:

  1. Git clone (k2-improvements required)
  2. Copy the release folder to the printer using Fluid, then run the install script over SSH

Option 1: Install from Git

From the printer or a connected shell:

git clone https://github.com/HurricanePrint/K2-NetBlock.git
cd K2-NetBlock
sh install.sh

Option 2: Install from a release folder via Fluid

  1. Download the Latest Release and extract the folder
  2. Copy the project folder or release folder to the printer using Fluid.
    • Open the "Configuration" Tab (keyboard shortcut X)
    • Click the + and select "Upload Folder"
    • Choose the K2-NetBlock folder you extracted from the release zip
  3. Open an SSH session to the printer.
    • ssh root@<your-printer-ip>
    • password: creality_2024
  4. Run:
cd mnt/UDISK/printer_data/config/K2-NetBlock
sh install-mdns.sh

Notes

  • This will break any outside monitoring like Obico or Octoanywhere

Useful commands

Start service:

/etc/init.d/K2-NetBlock start

Stop service:

/etc/init.d/K2-NetBlock stop

Enable at boot

/etc/init.d/K2-NetBlock enable

Disable at boot

/etc/init.d/K2-NetBlock disable

About

Service to block the K2 series printers from the internet

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages