Klipper WIFI Connect

cpu rk3566
klipperScreen v0.4.6-3
crowsnest v4.1.13-26
klipper v0.13.0-976
moonraker v0.9.3-244
Armbian 25.9.1 bookworm
timelapse v0.0.1-143

klippy.log (21.3 KB)

Happy New Year 2026!

The kilpper networking connection always reports errors
How can I solve it

Hi @942892828 ,

WiFi isn’t a function of Klipper. It belongs to the operating system and Klipper never interacts with the network.

We’ll also need some more information:

  • What printer is this?
  • What mainboard are you using?

According your log, you’re running a BTT CB2. Did you install the antenna?


On the Klipper side of things, it looks like you’re not even running legit Klipper:

Tracked URL: https://gitee.com/miroky/klipper

I would switch back to mainline (GitHub - Klipper3d/klipper: Klipper is a 3d-printer firmware) if you need any more help.

Sorry, the Klipper I am currently using is a memory card that someone burned for me. They asked me to help improve the WiFi function on this basis. I only know so much information. How can I improve the WiFi function of this system based on basic information? The current problem is that when switching to another WiFi, I cannot connect. The password is correct, and after half a day, it automatically switches to the WiFi I just connected to. The distance between these two routers is the same, so there should be no signal strength issue

You’ll have to rely on command line tools for networking in Debian.

This may be a good starting point.

Debian is moving from network-manager to netplan. Last I checked klipperscreen needs network manager if you want to manage WiFi from the touch screen. I run one of my machines off an x86 (Intel) pc. The current debian server release uses netplan. Klipper screen would load and function except would not display IP address or scan for wifi.

1 Like

Thank you for your reply. Your response is very accurate. It is indeed necessary to manage WiFi on the touch screen. Klipperscreen needs to configure the network connection in the system background. The installation configuration is included in the wiki webpage you sent. Is it feasible to install it according to the prompts? My level at the system level is limited, can you provide a case study prompt. I found the following command in the wiki, can I run it directly? The code is as follows:

Ubuntu/Debian

sudo apt install
htop glances nmon sysstat
iftop nethogs bmon
mtr-tiny tcpdump tshark
httpie curl
tmux screen
iotop atop
rsync

macOS (Homebrew)

brew install
htop glances nmon
iftop nethogs bmon
mtr tcpdump wireshark
httpie curl
tmux screen
rsync

You need to access the linux terminal on the host system. That is most commonly done via SSH. See the documentation for the OS you have installed for specific instructions.

If you in fact have a CB2 the instructions are at CB2/BIGTREETECH CB2 User Manual.pdf at master · bigtreetech/CB2 · GitHub

It is also possible to connect a HDMI display and a USB keyboard and interact directly with the CB2.

2 Likes

You have an [include] in your printer.conf targeting a file that does not exist:

configparser.Error: Include file '/home/huai/printer_data/config/generic-bigtreetech-xxx.cfg' does not exist

Probably want to change that to the one you actually have.

I see you are using a mirror inside the great firewall. Because folks are going to groan about that endlessly, here are two bits of info about that:

  • Normal github and pypi are unusable for most folks in china
  • The commit you are on is the same as upstream f04895f540d4a3cb0597535071e650e9f81c8c60 (v0.13.0-395-gf04895f5)
    • EXCEPT that pypi commands have been adjusted to use a pypi mirror provided by a university in china

This can be verified with git diff/git log –graph on a repo with upstream and gitee upstreams added. You may want to use –filter and –depth to clone gitee in stages, and use init+fetch instead of the automated clone, as trying to do it in one goes also fails (mostly due to great firewall)

Diff follows

diff --git a/scripts/install-debian.sh b/scripts/install-debian.sh
index 9c2cd3b4..1817e82c 100755
--- a/scripts/install-debian.sh
+++ b/scripts/install-debian.sh
@@ -40,7 +40,7 @@ create_virtualenv()
     [ ! -d ${PYTHONDIR} ] && virtualenv -p python2 ${PYTHONDIR}
 
     # Install/update dependencies
-    ${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
+    ${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
 }
 
 # Step 3: Install startup script
diff --git a/scripts/install-octopi.sh b/scripts/install-octopi.sh
index a7fb78c2..51cbf93d 100755
--- a/scripts/install-octopi.sh
+++ b/scripts/install-octopi.sh
@@ -37,7 +37,7 @@ create_virtualenv()
     [ ! -d ${PYTHONDIR} ] && virtualenv -p python2 ${PYTHONDIR}
 
     # Install/update dependencies
-    ${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
+    ${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
 }
 
 # Step 3: Install startup script

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.