maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Hamachi - secure VPN (https://talk.maemo.org/showthread.php?t=6532)

Bree 2007-05-29 23:37

Hamachi - secure VPN
 
Hi.

I've read the forums and being new to linux I still haven't figured it out...
I'm using ssh to access my 770 but when i type 'make install' it can't find make..
and yes i am accessing as root.....

why is it so?

anyone have luck with hamachi?

why can't xterm find root..... what am i doing wrong..

heavyt 2007-05-29 23:59

Re: Hamachi - secure VPN
 
Welcome, you will find a lot of info sometimes by doing a search on your problem. ;) This link maybe of some help. http://www.internettablettalk.com/fo...1&postcount=14

Bree 2007-05-30 00:03

Re: Hamachi - secure VPN
 
yeah found that one earlier...

when i try ./install it tels me ./install not found.....

i know its something simple but i'm new to command-line work...

help

luketoh 2007-05-30 02:15

Re: Hamachi - secure VPN
 
it's case sensitive

you also need to untar the downloaded file first...then cd into that folder where the "install" file is, before you can use the command "./install" .

the ./ part means you are in that folder where install is... so if you're not in that folder, the command won't work or you may end up running the install of some other software.



Luke

Bree 2007-05-30 02:46

Re: Hamachi - secure VPN
 
Cool.. that makes sense....
now for another stupid question..... how do i untar something with out a linux computer.... i run xp (hangs head in shame)...
can i untar on the n770?

heavyt 2007-05-30 03:04

Re: Hamachi - secure VPN
 
you find the command in the link I gave you earlier.

Bree 2007-05-30 04:20

Re: Hamachi - secure VPN
 
really?

I had a quick look but can't find it..... gotta go now so will come back later and look again....

is it possible to untar in xp?

luketoh 2007-05-30 06:23

Re: Hamachi - secure VPN
 
I use WinRAR to unzip, untar whatever....in Win XP.

Then if you like, transfer that directory's worth of stuff over to the N800 via Bluetooth etc. Then do that install thing that you wanted...

luketoh 2007-05-30 06:24

Re: Hamachi - secure VPN
 
Bree,

The command HeavyT was talking about is this one

tar -zxvf hamachi-0.9.9.9-20-lnx-n770.tar.gz


Luke

Bree 2007-05-30 07:28

Re: Hamachi - secure VPN
 
cheers luke....

I'd already downloaded the tar.gz file to both my computer and N770.....

just that no one told me that a tar file was pretty much the same as a rar file and i could use winRAR...... DOH!

Cheers again for the enlightenment....

so simple too.....don't know why i didn't think of it myself now..... hmmmmm...

Bree 2007-05-30 09:17

Re: Hamachi - secure VPN
 
hey luke...
do i need to install it using ssh from my desktop?
I'm in Xterm on the n770 and getting nowhere....

Bree 2007-05-31 00:24

Re: Hamachi - secure VPN
 
We'll I'm stumped...
in X terminal and the hamachi folder isn't findable.... I've used file manager to copy it to Documents folder but its not appearing in Xterm....

Close to giving up...

what am i doing wrong...

think i need some major linux education

Will Someone Pro please compile a .deb file for HAMACHI

djasmith 2007-05-31 00:41

Re: Hamachi - secure VPN
 
Hey Bree

I just ran thru the install of Hamachi on my N800 using the following as a guide:

http://hamachiwiki.com/Install_on_Nokia_N800

I got stumped briefly at the point of

"cp /hamachi/hamachi /usr/bin/hamachi"

No Hamachi folder was the response . . . . and then DING

When you unzip the tar it extracts to a folder name of the filename

eg.

hamachi-0.9.9.9-20-n770

Do an ls on your folders and try semi typing hamachi- and hitting tab for auto complete

Hope this helps

Ta

Dave

Bree 2007-05-31 02:16

Re: Hamachi - secure VPN
 
I'm on the n770 but will have another look
don't have time right now but will get to it after work...


cheers

Bree 2007-06-02 01:23

Re: Hamachi - secure VPN
 
well getting somewhere...

have followed the install wiki and think i have hamachi installed..
but think i missed something..
wasn't i supposed to do something with tuncfg....

if i type tuncfg in x terminal i get
/sbin/tuncfg: /sbin/tuncfg: 1: - - - not found
/sbin/tuncfg: /sbin/tuncfg: 2: +++not found
/sbin/tuncfg: /sbin/tuncfg: 3 @@: not found
/sbin/tuncfg: /sbin/tuncfg: 4: skip: : not found
/sbin/tuncfg: /sbin/tuncfg: 5: syntax error: Bad for loop variable



what did i do wrong now???? anyone got a clue?

if i type hamachi i get
/usr/bin/hamachi : shift: 17: can't shift that many



any clues?

luketoh 2007-06-02 03:23

Re: Hamachi - secure VPN
 
Hi Bree,

Sorry, unable to help you there....


Luke

Bree 2007-06-02 06:04

Re: Hamachi - secure VPN
 
No worries.... thru all my fun games i have already flashed to the hacker edition and now back again.... so i'm doing a clean install right now....
gong to have another shot at the hamachi install.... cheers for the help you gave......

keep ya poste....

Bree 2007-06-04 07:32

Re: Hamachi - secure VPN
 
tried a fresh install after reflashing my 770

still coming to same point

lost...........

TA-t3 2007-06-04 09:57

Re: Hamachi - secure VPN
 
Quote:

Originally Posted by Bree (Post 50681)
well getting somewhere...

have followed the install wiki and think i have hamachi installed..
but think i missed something..
wasn't i supposed to do something with tuncfg....

if i type tuncfg in x terminal i get
/sbin/tuncfg: /sbin/tuncfg: 1: - - - not found
/sbin/tuncfg: /sbin/tuncfg: 2: +++not found
/sbin/tuncfg: /sbin/tuncfg: 3 @@: not found
/sbin/tuncfg: /sbin/tuncfg: 4: skip: : not found
/sbin/tuncfg: /sbin/tuncfg: 5: syntax error: Bad for loop variable

I have not looked at the package so I don't know what's to be found there, but from the above it's clear that you somehow tried to execute a 'diff' file, that is, a text file showing the differences between an old version and a new version of a file. They typically contain lines starting with '---' to show lines removed, and '+++' showing lines added (compared to the original). '@@' are lines indicating line numbers etc. in the files.

Texrat 2007-06-05 19:13

Re: Hamachi - secure VPN
 
Wasn't someone going to Hildonize this?

If it was in that form, and as configurable as people say, I could use it to rationalize use of the N800 in our corporate environment, *possibly* helping shore up support for the device. As I noted in my N800 blog thread, the homegrown alpha VPN tool has problems. It would be nice to have one that WORKS.

TA-t3 2007-06-06 09:53

Re: Hamachi - secure VPN
 
I did some initial testing with hamachi but there must be something I haven't understood there yet.. I'm scratching my head a bit at least.

I have hamachi installed on my desktop (linux box). tuncfg is running at all times (as root). I start hamachi from my user account, hamachi-init, hamachi start, hamachi login, hamachi create, hamachi join.

Then I installed it on my n800, set it up the same way, then hamachi-init, hamachi start, hamachi login, hamachi join.
I can see stuff with 'hamachi list', including the 5.x.x.x. IP of my desktop computer.

I try to ping one from the other, or ssh, or 'telnet 22', anything. I always get 'no route to host'. My desktop is on the internal network, my N800 on an external wi-fi (outside the firewall). I don't see immediately how it _can_ work, actually.. unless it's tunneling through an external hamachi corp. box, but from the docu my understand is that it's not supposed to.

Anyway, apparently it works for others, so what am I doing wrong?

jurop88 2007-06-06 11:45

Re: Hamachi - secure VPN
 
You are missing hamachi go-online. I had same problem two days ago, solved that way.
btw, you can also use ghamaci from your desktop.
HTH

TA-t3 2007-06-06 14:22

Re: Hamachi - secure VPN
 
I've tried with go-online too (sorry I forgot to list it in my post), it still doesn't work.

Some more investigation: When I do 'hamachi list' on each device I see:
* [my network name]
x 5.x.y.z

on each device, with each other's 5.x.y.z address. Reading the docu 'x' means '.. the peer is unreachable, ie the mediation server failed to establish p2p tunnel between you and the peer.'.
So I guess that's where the problem is. I wonder what could cause this. Anyone found a FAQ for hamachi yet?

jurop88 2007-06-06 16:13

Re: Hamachi - secure VPN
 
Are you perhaps NATted with firewalls out of your control? Sorry, no FAQ. I looked a lot to solve my problem (behind a NAT with a 5.x.y.z internal address!) and found something interesting on Hamachi.cc forums. Nothing more than that.

TA-t3 2007-06-06 16:38

Re: Hamachi - secure VPN
 
I'm NAT'ed, but I thought it should be able to handle that - most networks that needs VPN are like that. I'm assuming that the way hamachi works is that each client is connected to an external hamachi server, then when two clients connect they use the info on the common server to negotiate an UDP tunnel directly between them. Or something like that. I'm guessing that these UDP packets are somehow being blocked in my firewall, although Skype (which does something similar) works fine on my nets, as far as I can tell.
So, I'm going to try hamachi between some other networks. I was hoping I could use it here though.

Bree 2007-06-06 17:09

Re: Hamachi - secure VPN
 
well i'm still having trouble...
hamachi wont start.
in xterm as user. hamachi-init. then hamachi start and it tells me no such file or directory.......?????

any clues?

geekboy 2007-06-06 17:23

Re: Hamachi - secure VPN
 
You need to start tuncfg in the /sbin first.

Good luck. I managed to get it working after 2 hours of playing round.

Quote:

Originally Posted by Bree (Post 51300)
well i'm still having trouble...
hamachi wont start.
in xterm as user. hamachi-init. then hamachi start and it tells me no such file or directory.......?????

any clues?


Bree 2007-06-06 17:48

Re: Hamachi - secure VPN
 
how do i start tuncfg though?


All times are GMT. The time now is 02:41.

vBulletin® Version 3.8.8