Alternative for revpi-tunnel?

Topics about the Software of Revolution Pi
Post Reply
cwsint
Posts: 7
Joined: 05 Oct 2018, 22:21

Alternative for revpi-tunnel?

Post by cwsint »

Hey guys,

a quick question about ssh-tunneling: The release-notes from Strech https://revolution.kunbus.de/tutorials/ ... s-stretch/ mention that revpi-tunnel is not installed by default, on Github https://github.com/RevolutionPi/imageba ... b022f8fe61 it says that users should migrate to VNC or TeamViewer. However, your tutorials etc. still reference to revpi-tunnel.

But neither VNC nor TeamViewer seem to give complete system access like a ssh connection. Which would be great if I want to update or somehow otherwise modify the configuration of many devices at once via some batch process. Are there alternatives you support or can recommend (without the need to operate my own server)?

Regards
Cord
Eduard
KUNBUS
Posts: 209
Joined: 18 Jun 2018, 16:16

Re: Alternative for revpi-tunnel?

Post by Eduard »

Hello Cord,

since last week it is possible to access the shell with TeamViewer.

Please update the TeamViewer Agent.
"sudo apt update"
"sudo apt install teamviewer-revpi"

Since the remote shell is switched off by default, it must be switched on by the user.
"teamviewer-iot-agent configure set EnableRemoteShell 1"
"teamviewer-iot-agent restart"

After that you can use the remote shell.
TeamViewer_RemoteTerminal.png
TeamViewer_RemoteTerminal.png (29.1 KiB) Viewed 6537 times
regards
Eduard
cwsint
Posts: 7
Joined: 05 Oct 2018, 22:21

Re: Alternative for revpi-tunnel?

Post by cwsint »

Hello Eduard,

that's great news, thank you! Can I also initiate the TeamViewer connection from bash (or any other console) or do I need to go through the TeamViewer GUI? In other words: how script-friendly is the shell-access you described?

Regards,
Cord
Eduard
KUNBUS
Posts: 209
Joined: 18 Jun 2018, 16:16

Re: Alternative for revpi-tunnel?

Post by Eduard »

I can't tell you if you can start the TeamViewer connection from bash as well.
I always started the remote shell connection via the TeamViewer GUI.
cwsint
Posts: 7
Joined: 05 Oct 2018, 22:21

Re: Alternative for revpi-tunnel?

Post by cwsint »

Ok, thank you. I will pass that info on to our devs.
User avatar
dirk
KUNBUS
Posts: 1976
Joined: 15 Dec 2016, 13:19

Re: Alternative for revpi-tunnel?

Post by dirk »

Hi, you may enable the daemon with the command

Code: Select all

sudo teamviewer-iot-agent enable daemon
And you may check the status with

Code: Select all

pi@RevPi8165:~ $ sudo teamviewer-iot-agent info
/*******************************************/
Package version: 1.1.1238
TeamViewer Id: xxxxxxxxxx
Device is assigned to: Dirk 
Status: Online
SystemHealthMonitoring: Stopped
/*******************************************/
Or

Code: Select all

service teamviewer-revpi status
A quickhack for status running could be like this ... but don't blame me if it won't work in further releases :)

Code: Select all

service teamviewer-revpi status | grep -q "Active: active (running)" && echo Running || echo Stopped
Post Reply