<p>Thanks to the repetier team on git hub, we found that the problem came from a permission issue on /dev/ttyUSB0, as the user <code>repetierserver</code> couldn't access it.</p>

<p>Other people reported that these commands solves the problem:<br>
<code>sudo adduser repetierserver dialout</code><br>
<code>sudo adduser repetierserver tty</code><br>
but in my case it seems I need to run :
<code>sudo chmod 777 /dev/ttyUSB0</code>
in order to solve this.</p>

CC BY-SA 3.0
2017-11-10T21:34:33.683Z
2017-11-10T21:34:33.683Z
Technico.top
<p>I'm struggling to connect a K8200 printer to a rpi3 running repetier-server 0.86.2 armhf.</p>

<p>Everything works fine on a PC with the 0.86.2 windows version, but on the Rpi i'm stuck on the second step of the printer setup : </p>

<p>I define my firmware, Marlin, my baudRate at 250000, then I tried every port that seems involved (/dev/serial/by-id/usb-FTDI_FT231X_USB_UART_DA00DDXD-if00-port0, /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0, /dev/tty/USB0, /dev/tty/AMA0, )
but whatever I may try, I'm stuck on "En attente de connexion", that forbids me to go to step 3, as to see my printer connected.</p>

<p>I tried to use the reset button on the printer board, as unplugging-plugging the USB, with no more luck.
/var/lib/Repetier-Server/logs/server.log don't shown any error.</p>

<p>Note : CartesianVirtual port still works fine...</p>

<p>What else can I do ? Is there other relevant logs anywhere ?</p>

<p>I'm unsure if this question should have been adressed to rpi, 3d printing or linux community, I'm sorry if I offend anyone :)</p>

CC BY-SA 3.0
2017-11-10T17:01:24.130Z
Have you tried OctoPrint? Set-up is easy using the OctoPi distribution.
Mick
CC BY-SA 3.0
2017-11-10T21:30:51.503Z
Thank you for the suggestion, but I already use a custom-image. Anyway, I found a fix for repetier-server, glory allelouia !
Technico.top
<marlin><repetier>
Can't connect printer to repetier-server on RPI3
Technico.top
# Can't connect printer to repetier-server on RPI3

(Asked by: username_0 on 2017-11-10)

I'm struggling to connect a K8200 printer to a rpi3 running repetier-server 0.86.2 armhf.

Everything works fine on a PC with the 0.86.2 windows version, but on the Rpi i'm stuck on the second step of the printer setup :

I define my firmware, Marlin, my baudRate at 250000, then I tried every port that seems involved (/dev/serial/by-id/usb-FTDI\_FT231X\_USB\_UART\_DA00DDXD-if00-port0, /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0, /dev/tty/USB0, /dev/tty/AMA0, )
but whatever I may try, I'm stuck on "En attente de connexion", that forbids me to go to step 3, as to see my printer connected.

I tried to use the reset button on the printer board, as unplugging-plugging the USB, with no more luck.
/var/lib/Repetier-Server/logs/server.log don't shown any error.

Note : CartesianVirtual port still works fine...

What else can I do ? Is there other relevant logs anywhere ?

I'm unsure if this question should have been adressed to rpi, 3d printing or linux community, I'm sorry if I offend anyone :)

**Tags:** marlin, repetier

> **Comments:**
> **username_1**: Have you tried OctoPrint? Set-up is easy using the OctoPi distribution.  
> **username_0**: Thank you for the suggestion, but I already use a custom-image. Anyway, I found a fix for repetier-server, glory allelouia !  

---

## 1 answers

### Answer by username_0 on 2017-11-10. Score: 2 | Accepted answer

Thanks to the repetier team on git hub, we found that the problem came from a permission issue on /dev/ttyUSB0, as the user `repetierserver` couldn't access it.

Other people reported that these commands solves the problem:  
`sudo adduser repetierserver dialout`  
`sudo adduser repetierserver tty`  
but in my case it seems I need to run :
`sudo chmod 777 /dev/ttyUSB0`
in order to solve this.


---

