Welcome! Log In Create A New Profile

Advanced

Repetier-Server su Raspberry-Pi

Posted by darkmorpheus 
Repetier-Server su Raspberry-Pi
February 09, 2015 09:48AM
Salve a tutti, sto cercando di installare il repetier server sul mio raspberry.
Ho creato tutte le cartelle varie (www, configs ecc..) ed ho copiato nel loro interno tutti i rispettivi file.
Il problema mi si pone quando devo impostare che il server si avvii in automatico quando il raspberry viene acceso.
Copio il file nella cartella di destinazione , gli do i permessi di esecuzione e lettura,
quando vado ad eseguire il comando per attivare lo script tramite il comando: "sudo update-rc.d Repetier-Server defaults" ottengo quest'errore:

update-rc.d: using dependency based boot sequencing
usage: update-rc.d [-n] [-f] remove
update-rc.d [-n] defaults [NN | SS KK]
update-rc.d [-n] start|stop NN runlvl [runlvl] [...] .
update-rc.d [-n] disable|enable [S|2|3|4|5]
-n: not really
-f: force

The disable|enable API is not stable and might change in the future.
Re: Repetier-Server su Raspberry-Pi
March 02, 2015 06:17AM
Quote
darkmorpheus
Salve a tutti, sto cercando di installare il repetier server sul mio raspberry.
Ho creato tutte le cartelle varie (www, configs ecc..) ed ho copiato nel loro interno tutti i rispettivi file.
Sapresti già indicarmi quali cartelle e files vanno creati e copiati ?

Alcune ho provato a farle ma mi ha dato errore di privilegio
Come utente ho usato user:pi pass:raspberry non so se esistono Utenti superiori come permessi tipo user:root ?
Ho Installato raspian da NOOBS 1.4.0

Inoltre mi confermi è questo che va scaricato è installato sul Lampone ?



Grazie
Re: Repetier-Server su Raspberry-Pi
March 02, 2015 08:07AM
Allora googleando ho trovato questa procedura:

Ma ho errore al settimo passaggio sad smiley

Ecco il messaggio d'errore che da che ovviamente essendo stata appena creata la dir chedo sia normale che sia vuoto ?
"""
pi@raspberrypi ~ $ cd build
pi@raspberrypi ~/build $ cmake ..
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLis ts.txt.
Specify --help for usage, or press the help button on the CMake GUI.
pi@raspberrypi ~/build $
"""
Queste le dir che ho sul mio lampone lavorando fino al passaggio 6





Questa la guida che stavo seguendo

Now type all these commands one by one to install RepetierServer on the RPi:
- sudo apt-get install cmake
- sudo apt-get install libboost-all-dev
- sudo apt-get install git
- git clone git://github.com/repetier/Repetier-Server.git
- mkdir build
- cd build
- cmake ..
- make (this will take about 30 minutes)
- sudo cp RepetierServer /usr/bin
- sudo cp ../linux/repetier-server.conf /etc
- sudo mkdir /var/lib/Repetier-Server /var/lib/Repetier-Server/configs /var/lib/Repetier-Server/www /var/lib/Repetier-Server/storage /var/lib/Repetier-Server/languages
- sudo cp -r ../www/* /var/lib/Repetier-Server/www
- sudo cp ../languages/* /var/lib/Repetier-Server/languages
- sudo cp ../linux/init_Repetier-Server_debian /etc/init.d/Repetier-Server
- sudo chmod 755 /etc/init.d/Repetier-Server
- sudo update-rc.d Repetier-Server defaults
Type:
- cd /dev
- ls
Plug in the USB cable from the Felix
Type ls again and try to see which one was added (mine was ttyUSB0, but your mileage my vary)
Now we need to add our Felix to RepetierServer. Since I don't know how to edit text files from the command line I used the GUI...
Install and start a VNC server on your RPi by typing
- sudo apt-get update
- sudo apt-get install vnc-server
- vncserver (next time you only meed to type this to statrt it)
Install and run this VNC client on Win7: TightVNC 32-bit (I used actually the 64-bit version)
Follow the instructions to add a server password confirm the password say no to the view only option
Log in to LXDE in your RPi with something like this 192.168.1.25:5901 (use your IP but keep the port number).
Double-click on the icon to the right of what would be the start icon (the File Manager)
Navigate to /home/pi/Repetier-Server/configs and double-click on a0-101.cfg to edit it as follows
- name="Felix"
- slugName="Felix"
- device="here you need to type the device name assigned to the Felix (mine was ttyUSB0)"
- baudrate=250000
- xmax=255.0
- ymax=205.0
- zmax=195.0
If you like you can edit the speed settings (these are for the manual controls, they do not influence your gcode)
Save the file as felix.cfg on the same directory
Copy felix.cfg to the working directory of RepetierServer by typing the following via your PuTTY terminal
- sudo cp /home/pi/Repetier-Server/configs/felix.cfg /var/lib/Repetier-Server/configs
Start RepetierServer with
- sudo /etc/init.d/Repetier-Server start
Note that the server will automatically start when you reboot the RPi
If you need, you can reedit the previous config file, stopping the server (same line above with "stop", overwriting the config file on the working directory and restarting the server
Re: Repetier-Server su Raspberry-Pi
March 04, 2015 03:03PM
Vediamo se ho capito ho mandato due volte il comando ls e la differenza è prima e dopo aver conesso la ramps al lampone la porta ttyACM0
Quindi USB che parla con arduino è la ttyACM0 Esatto ?


Re: Repetier-Server su Raspberry-Pi
March 17, 2015 06:49AM
Allora sono rimasto stallato qui nessuno mi sa aiutare sad smiley

Grazie
Sorry, only registered users may post in this forum.

Click here to login