Active Topics

 



Notices


Reply
Thread Tools
overfloat's Avatar
Posts: 486 | Thanked: 173 times | Joined on Apr 2008
#11
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?
 
Posts: 30 | Thanked: 1 time | Joined on Dec 2007 @ Minneapolis
#12
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

Last edited by missaghi; 2008-07-17 at 20:52.
 
Posts: 30 | Thanked: 21 times | Joined on Aug 2008
#13
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!

Last edited by addisjon; 2008-09-26 at 20:58.
 

The Following User Says Thank You to addisjon For This Useful Post:
Posts: 30 | Thanked: 1 time | Joined on Dec 2007 @ Minneapolis
#14
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
 
Posts: 30 | Thanked: 1 time | Joined on Dec 2007 @ Minneapolis
#15
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
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#16
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?
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Posts: 2 | Thanked: 0 times | Joined on Feb 2009
#17
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.
 
Posts: 87 | Thanked: 26 times | Joined on Oct 2009
#18
Is it possible to get in on N900 also?
 

The Following User Says Thank You to nux For This Useful Post:
Posts: 87 | Thanked: 26 times | Joined on Oct 2009
#19
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.
 
Posts: 63 | Thanked: 23 times | Joined on Dec 2008
#20
I have the same issue. It works on wifi but when on the 3G network it says my desktop computer is unreachable.
 

The Following User Says Thank You to ssjtoma For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:21.