I needed to assign a static ip to the K2 since our network does not have DHCP enabled - Creality’s wiki says to set a static IP via MAC adress reservation in router settings, but without DHCP enabled, reservations do not work. I was surprised there was no way to enter an IP manually in printer settings - I hope Creality integrates this feature in future updates. If you need this, follow along.
First, enable root on the printer (required to accept the disclaimer…), this gives a username/password. I used a temporary router with DHCP enabled and looked up printer’s IP via its settings menu. In command prompt, typed “ssh root@yourprinterIP”, enter the password given earlier. Once you’re in, type “vi /etc/config/network” - you are now in a text editor - press “i” to to start typing - your config should end up looking similar to this (with your IPs, of course);
config interface ‘lan’
option ifname ‘eth0’
option proto ‘static’
option ipaddr ‘192.168.1.101’
option netmask ‘255.255.255.0’
option gateway ‘192.168.1.1’
option dns ‘1.1.1.1 8.8.8.8’
Once you’re done typing, press ‘Esc’, then type “:wq”, press ‘Enter’ (:=enter command mode, w=write, q=quit).
Close your CMD window, shut down the printer, connect it to your static ip network, turn your printer back on (it’s important to restart the printer for it to reload new nework configs). Under ethernet, if connected, the screen should show the assigned ip and configuration. Voilà!