Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 5383|Reply: 4

Installing hamachi on Armbian 5.1.4

[Copy link]

7

Threads

20

Posts

138

Credits

Registered member

Rank: 2

Credits
138
Post time 2016-9-1 02:30:00 | Show all posts |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| Post time 2016-9-2 00:20:30 | Show all posts
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.

59

Threads

664

Posts

3853

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
3853
Post time 2016-9-2 15:20:34 | Show all posts
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| Post time 2016-9-2 18:54:23 | Show all posts
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"

59

Threads

664

Posts

3853

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
3853
Post time 2016-9-3 10:03:02 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-6-7 17:49 GMT+8 , Processed in 0.032890 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list