Debian testing + M201 + Repetier-Host

Moderator: _kaktus_

Post Reply
User avatar
_kaktus_
Site Admin
Posts: 1255
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Debian testing + M201 + Repetier-Host

Post by _kaktus_ » Tue Aug 21, 2018 2:26 am

Hi
:mrgreen:

It's not that difficult to do to drive your printer with Repetier-Host from the Debian x64 environment.
There is even an advantage. We have the possibility to use 64-bit slicers. ;)

What we have to do in this regard:
1. downloading the program from your home page https://www.repetier.com/download-now/
When you create a description, you have the following versions to choose from
  • Repatier-Host Linux 2.1.3

  • Repatier-Host Linux AppImage 2.1.3

I, of course, chose the adventure version - the first one. :lol:

2. When you download the program files to your computer, unpack them in a location. I did it in the first place:

Code: Select all

/opt/RepetierHost
3. Next, We follow the instructions described here,
section Linux installation.

To make the task easier, I installed two packages:
mono-runtime
mono-devel


what causes the following action:

Code: Select all

root@programator:/opt/RepetierHost# aptitude install mono-runtime mono-devel
Następujące NOWE pakiety zostaną zainstalowane:   
  ca-certificates-mono{a} cli-common{a} libdpkg-perl{a} libfile-fcntllock-perl{a} libgdiplus{a} 
  libmono-2.0-dev{a} libmono-accessibility4.0-cil{a} libmono-cairo4.0-cil{a} libmono-cecil-private-cil{a} 
  libmono-cil-dev{a} libmono-codecontracts4.0-cil{a} libmono-compilerservices-symbolwriter4.0-cil{a} 
  libmono-corlib4.5-cil{a} libmono-cscompmgd0.0-cil{a} libmono-csharp4.0c-cil{a} 
  libmono-custommarshalers4.0-cil{a} libmono-data-tds4.0-cil{a} libmono-db2-1.0-cil{a} 
  libmono-debugger-soft4.0a-cil{a} libmono-http4.0-cil{a} libmono-i18n-cjk4.0-cil{a} 
  libmono-i18n-mideast4.0-cil{a} libmono-i18n-other4.0-cil{a} libmono-i18n-rare4.0-cil{a} 
  libmono-i18n-west4.0-cil{a} libmono-i18n4.0-all{a} libmono-i18n4.0-cil{a} libmono-ldap4.0-cil{a} 
  libmono-management4.0-cil{a} libmono-messaging-rabbitmq4.0-cil{a} libmono-messaging4.0-cil{a} 
  libmono-microsoft-build-engine4.0-cil{a} libmono-microsoft-build-framework4.0-cil{a} 
  libmono-microsoft-build-tasks-v4.0-4.0-cil{a} libmono-microsoft-build-utilities-v4.0-4.0-cil{a} 
  libmono-microsoft-build4.0-cil{a} libmono-microsoft-csharp4.0-cil{a} libmono-microsoft-visualc10.0-cil{a} 
  libmono-microsoft-web-infrastructure1.0-cil{a} libmono-oracle4.0-cil{a} libmono-parallel4.0-cil{a} 
  libmono-peapi4.0a-cil{a} libmono-posix4.0-cil{a} libmono-rabbitmq4.0-cil{a} libmono-relaxng4.0-cil{a} 
  libmono-security4.0-cil{a} libmono-sharpzip4.84-cil{a} libmono-simd4.0-cil{a} 
  libmono-smdiagnostics0.0-cil{a} libmono-sqlite4.0-cil{a} libmono-system-componentmodel-composition4.0-cil{a} 
  libmono-system-componentmodel-dataannotations4.0-cil{a} libmono-system-configuration-install4.0-cil{a} 
  libmono-system-configuration4.0-cil{a} libmono-system-core4.0-cil{a} 
  libmono-system-data-datasetextensions4.0-cil{a} libmono-system-data-entity4.0-cil{a} 
  libmono-system-data-linq4.0-cil{a} libmono-system-data-services-client4.0-cil{a} 
  libmono-system-data-services4.0-cil{a} libmono-system-data4.0-cil{a} libmono-system-deployment4.0-cil{a} 
  libmono-system-design4.0-cil{a} libmono-system-drawing-design4.0-cil{a} libmono-system-drawing4.0-cil{a} 
  libmono-system-dynamic4.0-cil{a} libmono-system-enterpriseservices4.0-cil{a} 
  libmono-system-identitymodel-selectors4.0-cil{a} libmono-system-identitymodel4.0-cil{a} 
  libmono-system-io-compression-filesystem4.0-cil{a} libmono-system-io-compression4.0-cil{a} 
  libmono-system-json-microsoft4.0-cil{a} libmono-system-json4.0-cil{a} 
  libmono-system-ldap-protocols4.0-cil{a} libmono-system-ldap4.0-cil{a} libmono-system-management4.0-cil{a} 
  libmono-system-messaging4.0-cil{a} libmono-system-net-http-formatting4.0-cil{a} 
  libmono-system-net-http-webrequest4.0-cil{a} libmono-system-net-http4.0-cil{a} libmono-system-net4.0-cil{a} 
  libmono-system-numerics-vectors4.0-cil{a} libmono-system-numerics4.0-cil{a} 
  libmono-system-reactive-core2.2-cil{a} libmono-system-reactive-debugger2.2-cil{a} 
  libmono-system-reactive-experimental2.2-cil{a} libmono-system-reactive-interfaces2.2-cil{a} 
  libmono-system-reactive-linq2.2-cil{a} libmono-system-reactive-observable-aliases0.0-cil{a} 
  libmono-system-reactive-platformservices2.2-cil{a} libmono-system-reactive-providers2.2-cil{a} 
  libmono-system-reactive-runtime-remoting2.2-cil{a} libmono-system-reactive-windows-forms2.2-cil{a} 
  libmono-system-reactive-windows-threading2.2-cil{a} libmono-system-reflection-context4.0-cil{a} 
  libmono-system-runtime-caching4.0-cil{a} libmono-system-runtime-durableinstancing4.0-cil{a} 
  libmono-system-runtime-interopservices-runtimeinformation4.0-cil{a} 
  libmono-system-runtime-serialization-formatters-soap4.0-cil{a} 
  libmono-system-runtime-serialization4.0-cil{a} libmono-system-runtime4.0-cil{a} 
  libmono-system-security4.0-cil{a} libmono-system-servicemodel-activation4.0-cil{a} 
  libmono-system-servicemodel-discovery4.0-cil{a} libmono-system-servicemodel-internals0.0-cil{a} 
  libmono-system-servicemodel-routing4.0-cil{a} libmono-system-servicemodel-web4.0-cil{a} 
  libmono-system-servicemodel4.0a-cil{a} libmono-system-serviceprocess4.0-cil{a} 
  libmono-system-threading-tasks-dataflow4.0-cil{a} libmono-system-transactions4.0-cil{a} 
  libmono-system-web-abstractions4.0-cil{a} libmono-system-web-applicationservices4.0-cil{a} 
  libmono-system-web-dynamicdata4.0-cil{a} libmono-system-web-extensions-design4.0-cil{a} 
  libmono-system-web-extensions4.0-cil{a} libmono-system-web-http-selfhost4.0-cil{a} 
  libmono-system-web-http-webhost4.0-cil{a} libmono-system-web-http4.0-cil{a} 
  libmono-system-web-mobile4.0-cil{a} libmono-system-web-mvc3.0-cil{a} libmono-system-web-razor2.0-cil{a} 
  libmono-system-web-regularexpressions4.0-cil{a} libmono-system-web-routing4.0-cil{a} 
  libmono-system-web-services4.0-cil{a} libmono-system-web-webpages-deployment2.0-cil{a} 
  libmono-system-web-webpages-razor2.0-cil{a} libmono-system-web-webpages2.0-cil{a} 
  libmono-system-web4.0-cil{a} libmono-system-windows-forms-datavisualization4.0a-cil{a} 
  libmono-system-windows-forms4.0-cil{a} libmono-system-windows4.0-cil{a} 
  libmono-system-workflow-activities4.0-cil{a} libmono-system-workflow-componentmodel4.0-cil{a} 
  libmono-system-workflow-runtime4.0-cil{a} libmono-system-xaml4.0-cil{a} libmono-system-xml-linq4.0-cil{a} 
  libmono-system-xml-serialization4.0-cil{a} libmono-system-xml4.0-cil{a} libmono-system4.0-cil{a} 
  libmono-tasklets4.0-cil{a} libmono-webbrowser4.0-cil{a} libmono-webmatrix-data4.0-cil{a} 
  libmono-windowsbase4.0-cil{a} libmono-xbuild-tasks4.0-cil{a} libmonosgen-2.0-1{a} libmonosgen-2.0-dev{a} 
  libnunit-cil-dev{a} libnunit-console-runner2.6.3-cil{a} libnunit-core-interfaces2.6.3-cil{a} 
  libnunit-core2.6.3-cil{a} libnunit-framework2.6.3-cil{a} libnunit-mocks2.6.3-cil{a} 
  libnunit-util2.6.3-cil{a} mono-4.0-gac{a} mono-csharp-shell{a} mono-devel mono-gac{a} mono-mcs{a} 
  mono-runtime mono-runtime-common{a} mono-runtime-sgen{a} mono-xbuild{a} pkg-config{a} 
0 pakietów aktualizowanych, 164 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 0 B/25,4 MB archiwów. Zajęte po rozpakowaniu: 89,6 MB.
Kontynuować? [Y/n/?] 
the mono-runtime installation itself is insufficient and generates a need for additional analysis of the test script's operation configureFirst.sh

Code: Select all

root@programator:/opt/RepetierHost# aptitude install mono-runtime
Następujące NOWE pakiety zostaną zainstalowane:   
  ca-certificates-mono{a} cli-common{a} libmono-corlib4.5-cil{a} libmono-i18n-west4.0-cil{a} 
  libmono-i18n4.0-cil{a} libmono-security4.0-cil{a} libmono-system-configuration4.0-cil{a} 
  libmono-system-security4.0-cil{a} libmono-system-xml4.0-cil{a} libmono-system4.0-cil{a} mono-4.0-gac{a} 
  mono-gac{a} mono-runtime mono-runtime-common{a} mono-runtime-sgen{a} 
0 pakietów aktualizowanych, 15 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 0 B/5 035 kB archiwów. Zajęte po rozpakowaniu: 17,2 MB.
Kontynuować? [Y/n/?] 
This has an impact on the following messages:

Code: Select all

root@programator:/opt/RepetierHost# ./configureFirst.sh          
System: x86_64
Using 64 bit CuraEngine
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Pakiet libmono-winforms2.0-cil nie ma dostępnej wersji, ale odnosi się do niego inny pakiet.
Zazwyczaj oznacza to, że pakietu brakuje, został zastąpiony przez inny
pakiet lub nie jest dostępny przy pomocy obecnie ustawionych źródeł.
Jednak następujące pakiety go zastępują:
  mono-reference-assemblies-2.0 mono-devel

E: Pakiet libmono-winforms2.0-cil nie ma kandydata do instalacji
E: Nie udało się odnaleźć pakietu monodevelop
Checking if you are in the dialout group.
1
User already in dialout group. Adding not required.
Compiling helper software to allow non ansi baud rates for some boards
depending on the used serial driver.
SetBaudrate.cpp: In function ‘int set_baudrate(int, int)’:
SetBaudrate.cpp:73:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Configuration finished.
IMPORTANT: In addition to the bundled CuraEngine, the host also
supports Slic3r, Slic3r Prusa Edition and Skeinforge. These slicers are not bundled, so
need to install them according to their docs and then set the path
to them in Repetier-Host.
For Slic3r simply unpack the tar you get on http://slic3r.org in this directory.
For Slic3r Prusa Edition check https://github.com/prusa3d/Slic3r/releases
The host will then register and add it automatically on next restart.

IMPORTANT: You need a recent mono version since the host uses .NET 4.0
If you see the following error message, your mono is too old!
>>> System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize <<<
sudo: desktop-file-install: nie znaleziono polecenia
This folder now contains a repetier-RepetierHost.desktop file
Copy it to your desktop to get a launch icon there
root@programator:/opt/RepetierHost# 
The test script showed that my user belongs to a group that has access to serial devices. :D
And the need to search for additional packages for installation...

Once we get through the shortcomings of the test script, you can enjoy the working program.
Don't forget to add your user to a dialout group when you haven't done it before.

After running Repetier-Host we carry out its standard configuration.
Screenshot_20180820_202346.png
Screenshot_20180820_202346.png (205.3 KiB) Viewed 1854 times
from here we will download an alternative slicer to Repetier-Host:
For Slic3r https://dl.slic3r.org/linux/
For Slic3r Prusa Edition check https://github.com/prusa3d/Slic3r/releases

The downloaded archives must be extracted from the directory:

Code: Select all

/opt/RepetierHost/plugins
At the moment, this installation is really not complicated to carry out. So I encourage everyone to complete it.
:D
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests