# Generate firmware

**URL:** <https://klipper.discourse.group/t/generate-firmware/4436>\
**Category:** General Discussion\
**Created:** [October 10, 2022, 9:30pm UTC](https://klipper.discourse.group/t/generate-firmware/4436 "2022-10-10T21:30:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BG01](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@BG01](https://klipper.discourse.group/u/BG01)\
**Post date:** [October 10, 2022, 9:30pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/1 "2022-10-10T21:30:13Z")

</div>

### Basic Information:

Printer Model: sapphire plus 1.1  
 MCU / Printerboard:  
 `klippy.log`

_Fill out above information and in all cases attach your_ `klippy.log` _file. Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue:make menuconfig cannot edit. I’m totally new to the whole Klipper eco system but I’ve used the preconfigured Pi writer to install Mainsail. I’ve just reinstalled it because of the inability to edit the config file. The program loads a preconfigured file and only the first option can be modified, am I just missing out on how to select fields or is this another sort of problem? Mainsail seems to be working and I can navigate to the pi by ssh. I’ve put the stock printer.cfg by copying the example for the sapphire to a new file in the config directory.

Suggestions would appreciated.

---

<div class="post-metadata">

**Author:** ![ams2121](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@ams2121](https://klipper.discourse.group/u/ams2121)\
**Post date:** [October 10, 2022, 11:22pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/2 "2022-10-10T23:22:48Z")

</div>

Printer Model: Ender3v2  
 Printer Board: Creality 4.2.2  
 UI: fluidd

I ended up compiling mine on an octo pi version, however assuming its similar, when I ran the “make menuconfig” command, I was presented with a command line “gui” where I could use the up/down arrow keys and enter / left / right arrow keys to navigate and change options. The printer.cfg appears to only be used as part of the runtime, not as part of the firmware build. Good Luck!

---

<div class="post-metadata">

**Author:** ![BG01](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@BG01](https://klipper.discourse.group/u/BG01)\
**Post date:** [October 11, 2022, 12:25am UTC](https://klipper.discourse.group/t/generate-firmware/4436/3 "2022-10-11T00:25:22Z")

</div>

> 

> Thanks Adam, that’s what is supposed to happen but I get a screen which can’t be edited. I tried octoklipper without success as well. Might be something to do with my internet I suppose.
> 
> I appreciate your input and support.

---

<div class="post-metadata">

**Author:** ![ams2121](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@ams2121](https://klipper.discourse.group/u/ams2121)\
**Post date:** [October 11, 2022, 2:38am UTC](https://klipper.discourse.group/t/generate-firmware/4436/4 "2022-10-11T02:38:59Z")

</div>

It shouldn’t be something online… are you dead set on octoprint? Having gone through the whole installer, I ended up using Fluidd. As an image its up to date (bullseye vs buster) and it seemed to have most of the needed libraries. If you have an extra SD card, you might try flashing a version of that and compiling on there.

---

<div class="post-metadata">

**Author:** ![BG01](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@BG01](https://klipper.discourse.group/u/BG01)\
**Post date:** [October 11, 2022, 12:12pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/5 "2022-10-11T12:12:52Z")

</div>

Thanks Adam. I had reflashed with Mainsail and did all updates. The only problem seems to be with running make menuconfig which brings up a screen which I can’t edit. Perhaps I’ll try Fluidd or maybe wait for the next update to Mainsail.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 11, 2022, 3:39pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/6 "2022-10-11T15:39:27Z")

</div>

> [@BG01](#):
>
> The only problem seems to be with running make menuconfig which brings up a screen which I can’t edit.

This is quite strange indeed. The “GUI” should look like  
 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/c/c080b35d89254b3233f4d4e36219fcb3e0832495.png)

Navigation is via curser keys, space bar and some letter short-cuts.  
What do you use as your SSH client? Maybe some weird SSH shell thingy or your user’s shell is set to something strange.

You could try executing

```auto
sudo chsh -s /bin/bash <username>

```

With `<username>` apparently being the user you want to use for Klipper. After the command log off and back in to make the change active.

---

<div class="post-metadata">

**Author:** ![BG01](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@BG01](https://klipper.discourse.group/u/BG01)\
**Post date:** [October 12, 2022, 11:18pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/7 "2022-10-12T23:18:48Z")

</div>

Thanks for the clue. After too much beating around the problem I found using Windows built-in Power Shell with SSH allowed me to edit the file. I’m ready to proceed, thanks to you and this community.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [November 5, 2023, 9:16pm UTC](https://klipper.discourse.group/t/generate-firmware/4436/8 "2023-11-05T21:16:33Z")

</div>


