View: 11224|Reply: 4

Installing hamachi on Armbian 5.1.4

[Copy link]

7

threads

20

posts

138

credits

Registered member

Rank: 2

credits
138
Published in 2016-9-1 02:30:00 | Show all floors |Read mode
I have trying to install hamachi on my orange pi
I use code below and get these errors

--------------------------------------------------------------------------------------------------------------------------------------
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install lsb-core
$ wget http://vpn.net/installers/logmein-hamachi_2.1.0.165-1_armhf.deb

$ sudo dpkg -i logmein-hamachi_2.1.0.165-1_armhf.deb
(Reading database ... 50726 files and directories currently installed.)
Preparing to unpack logmein-hamachi_2.1.0.165-1_armhf.deb ...
Stopping LogMeIn Hamachi VPN tunneling engine logmein-hamachihamachid: no process found

stopping - success
Traceback (most recent call last):
  File "/usr/lib/lsb/remove_initd", line 18, in <module>
    headers = initdutils.scan_initfile(initfile)
  File "/usr/lib/lsb/initdutils.py", line 79, in scan_initfile
    inheaders = RFC822Parser(strob=headerlines)
  File "/usr/lib/lsb/initdutils.py", line 24, in __init__
    fileob = StringIO(strob)
TypeError: initial_value must be unicode or None, not str
Unpacking logmein-hamachi (2.1.0.165-1) over (2.1.0.165-1) ...
Setting up logmein-hamachi (2.1.0.165-1) ...
mknod: ‘/dev/net/tun’: File exists
Traceback (most recent call last):
  File "/usr/lib/lsb/install_initd", line 46, in <module>
    headers = initdutils.scan_initfile(initfile)
  File "/usr/lib/lsb/initdutils.py", line 79, in scan_initfile
    inheaders = RFC822Parser(strob=headerlines)
  File "/usr/lib/lsb/initdutils.py", line 24, in __init__
    fileob = StringIO(strob)
TypeError: initial_value must be unicode or None, not str
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi
starting - success
/etc/init.d/logmein-hamachi: 46: /etc/init.d/logmein-hamachi: /opt/logmein-hamachi/bin/hamachid: not found
Processing triggers for systemd (215-17+deb8u4) ...


--------------------------------------------------------------------------------------------------------

I think some thing wrong with python code.
how can I solve the problem?

7

threads

20

posts

138

credits

Registered member

Rank: 2

credits
138
 Author| Published in 2016-9-2 00:20:30 | Show all floors
I find the solution.
this is because of compatibility of lsb-core to debian jessie.
get lsb-core.deb version and install it before installing hamachi.
I use these code :

sudo wget http://ftp.de.debian.org/debian/ ... n8+deb7u1_armhf.deb
sudo dpkg -i lsb-core_4.1+Debian8+deb7u1_armhf.deb

and then install hamachi as deb file.

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2016-9-2 15:20:34 | Show all floors
soroush_crazy replied at 2016-9-2 00:20
I find the solution.
this is because of compatibility of lsb-core to debian jessie.
get lsb-core.deb ...

Hi, thanks for your share!

7

threads

20

posts

138

credits

Registered member

Rank: 2

credits
138
 Author| Published in 2016-9-2 18:54:23 | Show all floors
some time when using command "sudo hamachi" it shows errors bellow

bash: /usr/bin/hamachi: No such file or directory

use bellow code to solve it.

"ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3"

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2016-9-3 10:03:02 | Show all floors
soroush_crazy replied at 2016-9-2 18:54
some time when using command "sudo hamachi" it shows errors bellow

bash: /usr/bin/hamachi: No such  ...

Thanks for your try and share!
It will be very useful!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list