cancel
Showing results for 
Search instead for 
Did you mean: 
Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

Create docker folder, create inside:  build.sh, connect.sh, Dockerfile and tmp folder.

 

Inside tmp folder put logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26 and 27. (for Ubuntu deb file and also change yum with apt command in Dockerfile ). 

 

copy your /var/lib/logmein-hamachi inside tmp folder:

cp -r /var/lib/logmein-hamachi tmp

 

 

build.sh  :

docker build -t 'docker-hamachi:latest' .

 

connect.sh :

docker run --net=host --privileged=true -it docker-hamachi /bin/bash

 

Dockerfile :

FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>

ADD tmp /tmp/

RUN yum install -y glibc.i686 libstdc++.i686

RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib

RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

 

 then run:

./build

./connect 

 

you can create also docker-hamachi.desktop file and copy to ~/.local/share/applications folder...

 

docker-hamachi.desktop : (change path to your app and png file)

[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=docker-hamachi.desktop

 

Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

create docker-hamachi folder and inside tmp folder. Put in tmp folder logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26,27 (for Ubuntu .deb file and change yum with apt in Dockerfile). 

 

copy /var/lib/logmein-hamachi in tmp folder:

cp -r /var/lib/logmein-hamachi tmp

 

create in docker-hamachi folder:

 

build.sh : 

logmein-hamachi-2.1.0.174-1.i486.rpm

 

connect.sh :

docker run --net=host --privileged=true -it docker-hamachi /bin/bash

 

Dockerfile : 

FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>

ADD tmp /tmp/

RUN yum install -y glibc.i686 libstdc++.i686

RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib

RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

 

run:

./build.sh    - to build docker (only once)

./connect.sh    - to start docker 

 

You can create docker-hamachi.desktop and copy to ~/.local/share/applications.

 

docker-hamachi.destop : (change path to connect.sh and png file...)

[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=docker-hamachi.desktop

 

Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

create docker-hamachi folder and inside tmp folder. Put in tmp folder logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26,27 (for Ubuntu .deb file and change yum with apt in Dockerfile).

Copy /var/lib/logmein-hamachi in tmp folder:
cp -r /var/lib/logmein-hamachi tmp

create in docker-hamachi folder:

build.sh :
logmein-hamachi-2.1.0.174-1.i486.rpm

connect.sh :
docker run --net=host --privileged=true -it docker-hamachi /bin/bash

Dockerfile :
FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>
ADD tmp /tmp/
RUN yum install -y glibc.i686 libstdc++.i686
RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib
RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

run:
./build.sh - to build docker (only once)
./connect.sh - to start docker

You can create docker-hamachi.desktop and copy to ~/.local/share/applications.

docker-hamachi.destop : (change path to connect.sh and png file...)
[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=docker-hamachi.desktop
Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

create docker-hamachi folder and inside tmp folder. Put in tmp folder logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26,27 (for Ubuntu .deb file and change yum with apt in Dockerfile).

Copy /var/lib/logmein-hamachi in tmp folder:
cp -r /var/lib/logmein-hamachi tmp

create in docker-hamachi folder:

build.sh :
logmein-hamachi-2.1.0.174-1.i486.rpm

connect.sh :
docker run --net=host --privileged=true -it docker-hamachi /bin/bash

Dockerfile :
FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>
ADD tmp /tmp/
RUN yum install -y glibc.i686 libstdc++.i686
RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib
RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

run:
./build.sh - to build docker (only once)
./connect.sh - to start docker

You can create docker-hamachi.desktop and copy to ~/.local/share/applications.

docker-hamachi.destop : (change path to connect.sh and png file...)
[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=dockerhamachi.desktop
Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

I cannot post the solution for unknown reason. If you need docker files send me a private message.
Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

I will try again....

 

create docker-hamachi folder and inside tmp folder. Put in tmp folder logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26,27 (for Ubuntu .deb file and change yum with apt in Dockerfile).

Copy /var/lib/logmein-hamachi in tmp folder:
cp -r /var/lib/logmein-hamachi tmp

create in docker-hamachi folder:

build.sh :
logmein-hamachi-2.1.0.174-1.i486.rpm

connect.sh :
docker run --net=host --privileged=true -it docker-hamachi /bin/bash

Dockerfile :
FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>
ADD tmp /tmp/
RUN yum install -y glibc.i686 libstdc++.i686
RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib
RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

run:
./build.sh - to build docker (only once)
./connect.sh - to start docker

You can create docker-hamachi.desktop and copy to ~/.local/share/applications.

docker-hamachi.destop : (change path to connect.sh and png file...)
[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=docker-hamachi.desktop

LogMeIn Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

Martin,

I can follow up to see why, Can you DM me with any screenshots. Steps you took while posting and a copy of your post?

Best,

Vitor
Vitor is a member of the LogMeIn Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!
Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

create docker-hamachi folder and inside it tmp folder. Put in tmp folder logmein-hamachi-2.1.0.174-1.i486.rpm - for Fedora 26,27 (for Ubuntu .deb file and change yum with apt in Dockerfile).

copy /var/lib/logmein-hamachi in tmp folder:

cp -r /var/lib/logmein-hamachi tmp

 

create in docker-hamachi folder:

build.sh :
docker build -t 'docker-hamachi:latest' .

 

connect.sh :
docker run --net=host --privileged=true -it docker-hamachi /bin/bash

 

Dockerfile :
FROM centos:centos6
MAINTAINER Martin <yourname@gmail.com>
ADD tmp /tmp/
RUN yum install -y glibc.i686 libstdc++.i686
RUN cd /tmp && rpm --install logmein-hamachi-2.1.0.174-1.i486.rpm
RUN cp -f -r /tmp/logmein-hamachi /var/lib
RUN echo '/opt/logmein-hamachi/bin/hamachid &' >> ~/.bashrc
RUN echo '/etc/init.d/logmein-hamachi start' >> ~/.bashrc
RUN echo 'PS1="[\\u@hamachi:\\w] $"' >> ~/.bashrc

 

 

run:
./build.sh - to build docker (only once)
./connect.sh - to start docker

 

You can create docker-hamachi.desktop and copy to ~/.local/share/applications.

docker-hamachi.destop : (change path to connect.sh and png file...)
[Desktop Entry]
Version=1.0
Name=Docker hamachi
Comment=Docker hamachi
Comment[en]=Docker hamachi logmein
GenericName=Docker hamachi logmein
Exec=/home/martin/docker/docker-hamachi/connect.sh
Icon=/home/martin/docker/logmein-hamachi.png
StartupNotify=true
MimeType=text/x-utility;
Terminal=true
Type=Application
Categories=Network;Other
Name[en_US]=docker-hamachi.desktop

Active Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

Hamachi in docker solution:

 

download and unpack:

https://www.dropbox.com/s/6cq55ari82sqtzl/docker-hamachi.zip

 

copy /var/lib/logmein-hamaci/* to docker-hamachi/tmp/logmein-hamachi folder:

run:

./build.sh

./connect.sh

 

copy docker-hamachi.desktop to ~/.local/share/applications (change exec and icon path in file), if you want docker to bi in application launcher in Gnome shell.

 

It work if you want connect to client (ssh, mount), but on client side could be problem because you will end inside docker... In my case, after start docker I can connect to client even from host os (fedora 27), but hamachi list works only inside docker... It is temporarly solution if you need to connect to your clients until logmein do not fix hamchi to works with glibc 2.26...  

 

New Contributor

Re: Ubuntu 17.10 hamachid crashes on login (glibc 2.26)

Running Hamachi inside Docker is not a solution. It's practically the same as running it in a VM, which is useless because it defeats the whole purpose of Hamachi.