Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Howto: Installing Hamachi on N800/N770/N810

    Reply
    Page 2 of 3 | Prev |   1   2   3   | Next
    overfloat | # 11 | 2008-07-09, 19:31 | Report

    thanks, yes it is gone, if i try to rm it again it gives me the "no such file or directory" message. but i still get the same error when i try "hamachi start" when not logged in as root

    i'm guessing the easiest way to fix this would be to run hamachi as root from the /etc/init.d/rcS script - can i do that?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    missaghi | # 12 | 2008-07-17, 20:49 | Report

    so any luck getting it to startup automaically in diablo? (i get the same .lock error when running hamachi start as a user) can i put sudo in the /etc/init.d/rcS like this?

    /sbin/tuncfg;/usr/bin/hamachi -c sudo /root/.hamachi start

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by missaghi; 2008-07-17 at 20:52.

     
    addisjon | # 13 | 2008-09-26, 19:59 | Report

    Not sure if anyone is still following this thread but I may have found a way around the .lock error on Diablo (sorry if this is a hack).

    It only took bricking my device yesterday to figure it out .

    I tried adding sudo to the /sbin/tuncfg;/usr/bin/... line as others have mentioned but some combination caused a reboot loop.

    So then I removed the "/usr/bin/hamachi -c /home/user/.hamachi start" and only left the /sbin/tuncfg in the rcS file. Then I created a new one-line script called hamachi in /etc/network/if-up.d which is below.

    Code:
    #!/bin/sh
    
    su - user -c "/usr/bin/hamachi -c /home/user/.hamachi start"
    Then chmod +x, and this script will run every time you connect to the internet. From what I understand this is also how ntpdate updates the system clock.

    Hope this helps someone, thanks to ddrager for the great HOWTO!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by addisjon; 2008-09-26 at 20:58.
    The Following User Says Thank You to addisjon For This Useful Post:
    missaghi

     
    missaghi | # 14 | 2008-10-03, 19:34 | Report

    FYI Diable apears to have updated libcrypto.so.0.9.7, which is called when you type hamachi-init. You need to make a symlink like this:

    ln /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7

    Edit | Forward | Quote | Quick Reply | Thanks

     
    missaghi | # 15 | 2008-10-08, 23:00 | Report

    I had to add

    user ALL = NOPASSWD: /usr/bin/hamachi

    to the file /etc/sudoers

    then make the line in the /etc/network/if-up.d/hamachi file be

    sudo hamachi start

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Laughing Man | # 16 | 2008-10-24, 15:12 | Report

    Is there a reason as to why all commands after tuncfg has to be run as root? Hamachi-init and all commands after that seem to work as user as well as root. Wouldn't there be security issues running hamachi as root?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fourstar | # 17 | 2009-02-27, 04:26 | Report

    Originally Posted by ddrager View Post
    Nokia-N800-51-3:~# hamachi-init
    Initializing Hamachi configuration (/root/.hamachi). Please wait ..
    On my new N810, in response to:
    Code:
    hamachi-init: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory
    I could execute an
    Code:
    Nokia-N810-43-7:~# apt-get install libssl0.9.7
    to take care of this.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nux | # 18 | 2009-12-14, 12:02 | Report

    Is it possible to get in on N900 also?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to nux For This Useful Post:
    Diko

     
    nux | # 19 | 2009-12-21, 13:08 | Report

    Originally Posted by nux View Post
    Is it possible to get in on N900 also?
    I got it to login and join network, but N900 appears as unreachable in my desktop hamachi.

    And I can not ping nor remote desktop to other machines on same network. But hamachi on N900 sees them and gets their nick-s also.

    There is route to 5.0.0.0 but without gateway on interface ham0.
    And my default gprs route is also without gateway.

    But OpenVPN creates routes with gateways and works just fine over gprs data.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ssjtoma | # 20 | 2010-01-12, 02:37 | Report

    I have the same issue. It works on wifi but when on the 3G network it says my desktop computer is unreachable.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to ssjtoma For This Useful Post:
    Diko

     
    Page 2 of 3 | Prev |   1   2   3   | Next
vBulletin® Version 3.8.8
Normal Logout