Mainsail unable to connect to moonraker

I am trying to install Klipper with kaiuh and I’m not sure where I’ve gone wrong. after installing everything I’m trying to go login to mainsail only to be met with a unable to connect to moonraker sign. I’ve trying to see if Moonraker is active on Putty and it keeps saying is activating. I’ve tried some different scripts I found online off the Moonraker site and nothing seems to help, I’ve even tried re-installing just Moonrker and nothing. I’m using a Raspberry Pi 3 and I don’t have any idea what I’m doing if there’s anyone who can help I’d greatly appreciate it

Hello @Kadukong !

Did you follow a certain guide?

Hello I was watching the YouTube guide from this guy
https://youtu.be/h99vGPACB8M?si=sRoVNLB05Y07jPJc

Maybe you should try the genuine one:

1 Like

Do you think I should restart my entire installation process? Format sd card and everything? And when it’s asking me to use v6 of kiauh should I opt out of it??

It’s hard to say what went wrong with your first install.
So it may be more easy to start all over with the recent versions.

Or you just use the Mainsail/Klipper preinstall in the Raspberry Imager

hey thank you so much for your help I think didn’t format my SD card properly cause I ran into the same problem but then I did the long format process and reinstalled and it worked. it also definitely might have been that I didn’t install the lite version of the Pi OS. anyway, I got mainsail working for now and I very much appreciate your advice. if I run into any other issues would it be ok for me to message you again? either way, thank you

hey, I’m sorry to bother you again I am not a huge fan of talking to millions of people online with my problems just to be ridiculed for and my question not get answered. I’m running into another problem trying to set up my printer so I’ve gotten my firmware updated and I’ve copied over the mcu ID but now it’s giving me an error for a pin. I copied the configuration file right from their database and I’ve checked the pinout of the board which is correct. I don’t know I’m lost if you can help I would appreciate it. I’m running a pi3 and mks gen l the error coming up is Pin ‘P0.24’ is not a valid pin name on mcu 'mcu
the configuration I have is. also on another note I’m running tmc 2208 but in its normal mode should I change it on my configuration or leave the stock settings?

This file contains common pin mappings for the MKS SGEN_L board. To

use this config, the firmware should be compiled for the LPC1768.

See docs/Config_Reference.md for a description of parameters.

[stepper_x]
step_pin: P2.2
dir_pin: !P2.3
enable_pin: !P2.1
microsteps: 16
rotation_distance: 40
endstop_pin: ^P1.29 # ^P1.28 for X-max
position_endstop: 0
position_max: 320
homing_speed: 50

[stepper_y]
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
microsteps: 16
rotation_distance: 40
endstop_pin: ^P1.27 # ^P1.26 for Y-max
position_endstop: 0
position_max: 300
homing_speed: 50

[stepper_z]
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
microsteps: 16
rotation_distance: 8
endstop_pin: ^P1.25 # ^P1.24 for Z-max
position_endstop: 0.5
position_max: 400

[extruder]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.23
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 260

#[extruder1]
#step_pin: P0.1
#dir_pin: P0.0
#enable_pin: !P0.10
#heater_pin: P2.6
#sensor_pin: P0.25
#…

[heater_bed]
heater_pin: P2.5
sensor_type: ATC Semitec 104GT-2
sensor_pin: P0.24
control: watermark
min_temp: 0
max_temp: 130

[fan]
pin: P2.4

[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0

[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 2000
max_z_velocity: 25
max_z_accel: 100

Either upload your config as a file:

Upload

Or at least use the Preformatted Text feature of the editor.

Format

Just copy&pasting code leaves quite a mess behind.

1 Like

I tried uploading the file and nothing changed it’s still giving me the same error.
https://raw.githubusercontent.com/Klipper3d/klipper/refs/heads/master/config/generic-mks-sgenl.cfg
This is a link to the .cfg file. I’m stumped on this one. I’m also not sure what u meant by trying a preformatted test I thought it was already in that way or what software u have displayed there like I said in a novice. if u have any other ideas let me know I appreciate it