Mainsail and Klipperscreen on Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
shadow1901
Posts: 67
Joined: Wed Jan 15, 2014 4:03 pm

Mainsail and Klipperscreen on Joggler

Post by shadow1901 »

Hello everyone

I got Mainsail and Klipperscreen running on the Joggler OF2.
It can be used for 3d printing.

Here what I did:
First you have to use the instructions from:
viewtopic.php?f=2&t=5169
to install Debian bullseye.

Then install the kiauh tool:
either via https://github.com/dw-0/kiauh
or with the commands:
sudo apt-get update && sudo apt-get install git -y
cd ~ && git clone https://github.com/dw-0/kiauh.git
./kiauh/kiauh.sh

Then select the appropriate programs to install.

I had problems with Mainsail and Klipperscreen to start x-server.
Solution:
I had to add a start rule via crontab.
For me, nginx could not be started because the directory and files were always deleted after reboot from joggler in /var/log.

Therefore add the following start options in the crontab:
"sudo crontab -e" and insert this commands

sudo mkdir /var/log/nginx
sudo touch /var/log/nginx/error.log
sudo touch /var/log/nginx/access.log
sudo service nginx restart

For the x-server please use it from of-install script:
cd /usr/local/sbin
sudo of-install xserver

Afterwards everything should work.
Mainsail should be accessible via browser and IP address from the Joggler.

Unfortunately I couldn't get wireless to work on my OF2 device.

Have fun with it...
20231019_093854.jpg
User avatar
hawsey
Posts: 2074
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: Mainsail and Klipperscreen on Joggler

Post by hawsey »

shadow1901 wrote:Hello everyone

I got Mainsail and Klipperscreen running on the Joggler OF2.
It can be used for 3d printing.

Here what I did:
First you have to use the instructions from:
viewtopic.php?f=2&t=5169
to install Debian bullseye.

Then install the kiauh tool:
either via https://github.com/dw-0/kiauh
or with the commands:
sudo apt-get update && sudo apt-get install git -y
cd ~ && git clone https://github.com/dw-0/kiauh.git
./kiauh/kiauh.sh

Then select the appropriate programs to install.

I had problems with Mainsail and Klipperscreen to start x-server.
Solution:
I had to add a start rule via crontab.
For me, nginx could not be started because the directory and files were always deleted after reboot from joggler in /var/log.

Therefore add the following start options in the crontab:
"sudo crontab -e" and insert this commands

sudo mkdir /var/log/nginx
sudo touch /var/log/nginx/error.log
sudo touch /var/log/nginx/access.log
sudo service nginx restart

For the x-server please use it from of-install script:
cd /usr/local/sbin
sudo of-install xserver

Afterwards everything should work.
Mainsail should be accessible via browser and IP address from the Joggler.

Unfortunately I couldn't get wireless to work on my OF2 device.

Have fun with it...
20231019_093854.jpg
@shadow1901
There was this recent solution regarding WiFi on a a Hamclock build where we could not get WiFi to work , a solution was posted , maybe this can work for you Image

I am using WiFi whithout problems with these modifications:
wpa_passphrase your-ESSID your-wifi-passphrase | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf
And changing /boot/network.yaml

I solved the screen going blank:
Edit /etc/lightdm/lighdm.conf
Then change the line:
#xserver-command=X
to:
xserver-command=X -s 0 dpms

Sent from my 2107113SG using Tapatalk

Happy Joggling
Post Reply