public inbox for govpn-devel@lists.cypherpunks.ru
Atom feed
From: Alan Holt <berber.it@gmail•com>
To: Alan Holt <berber.it@gmail•com>, govpn-devel@lists.cypherpunks.ru
Subject: Re: [Govpn-devel] build from last tarball
Date: Wed, 13 May 2015 13:52:59 +0300	[thread overview]
Message-ID: <CAKw30nrXP1EDP+Ae94nSNMG=+X3ROnsZtoJthyKQSpX9BiLG-w@mail.gmail.com> (raw)
In-Reply-To: <20150513101452.GA8522@stargrave.org>

[-- Attachment #1: Type: text/plain, Size: 2631 bytes --]

Hi,

right! I installed GoLanguage on FreeBSD and now it fine.
But can I have your help with user manual?

I follow this instructions:
http://www.cypherpunks.ru/govpn/Example-usage.html#Example-usage

and there is not so clear explained how to run server and client.
I have:

Both VMs are Ubuntu Server:

*Server*: 172.25.60.62
*Client*: 172.25.60.63

I did run *server *successfully:
root@calvin:~/govpn# ./govpn-server -bind 172.25.60.62:1194 -mtu 1472
2015/05/13 10:28:29.548793 main.go:120: GoVPN version 3.2 built with go1.2.1
2015/05/13 10:28:29.549008 main.go:121: Max MTU on TAP interface: 1432
2015/05/13 10:28:29.549031 main.go:130: Server started

but when I start the *client*, I see this error:
root@farengeit:~/govpn# ./govpn-client -key key.txt -id CLIENTID -iface
tap10 -remote 172.25.60.62:1194 -mtu 1472
panic: ID is not specified

goroutine 1 [running]:
runtime.panic(0x536700, 0xc21001d4a0)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.main()
        /root/govpn/src/govpn/cmd/govpn-client/main.go:58 +0xc9

goroutine 3 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

What is it client id? How do I specify this?
I want to create clear and simple instructions for manual installation.

Another question, like this, why it need this: echo "echo tap10" >>
peers/CLIENTID/up.sh ?
So I created directory peers/CLIENTID on server and file up.sh with tap10

but I don't really understand why server needs it.
Thank you.


On Wed, May 13, 2015 at 1:14 PM, <stargrave@stargrave•org> wrote:

> *** Alan Holt [2015-05-13 13:03]:
> >For *FreeBSD *I've got next error:
> >
> >[root@freebsd ~/govpn]# make
> >...
> >HEAD is now at 36aebfe... changed license to BSD
> >GOPATH=/root/govpn go build -ldflags "-X govpn.Version 3.2"
> >govpn/cmd/govpn-client
> >go: not found
>
> You have to install Go programming language compiler first. GoVPN is not
> written on C: so Go compiler is a separate package as a rule. It is the
> only major dependency. On FreeBSD you can install lang/go port. Seems
> that Ubuntu and CentOS has it preinstalled.
>
> Thanks for the feedback! I will create an updated tarballs with
> Makefile-related fixes.
>
> --
> Happy hacking, Sergey Matveev
>



-- 
*בברכה, *
*אלכס ברבר*

*+9 72 54 285 952 3*
*www.linuxspace.org* <http://www.linuxspace.org>
*--*
*Best regards.*
*Alex Berber*
*+9 72 54 285 952 3*
*www.linuxspace.org* <http://www.linuxspace.org/>

[-- Attachment #2: Type: text/html, Size: 4078 bytes --]

  reply	other threads:[~2015-05-13 10:53 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13  7:59 [Govpn-devel] build from last tarball Alan Holt
2015-05-13  8:47 ` stargrave
2015-05-13  9:00   ` Alan Holt
2015-05-13  9:36     ` stargrave
2015-05-13 10:01       ` Alan Holt
2015-05-13 10:14         ` stargrave
2015-05-13 10:52           ` Alan Holt [this message]
2015-05-13 11:41             ` stargrave
2015-05-13 13:31               ` Alan Holt
2015-05-13 13:47                 ` Alan Holt
2015-05-13 14:09                   ` stargrave
2015-05-13 14:55                     ` Alan Holt
2015-05-13 16:52                       ` stargrave
2015-05-14  8:30                         ` Alan Holt
2015-05-14  9:22                           ` Alan Holt
2015-05-14 12:34                             ` stargrave
2015-05-14 13:25                           ` stargrave
2015-05-14 13:32                             ` Alan Holt
2015-05-14 14:11                               ` stargrave
2016-01-19 19:04                                 ` Alan Holt
2016-01-19 22:08                                   ` stargrave
2016-01-19 22:58                                     ` Alan Holt
2016-01-20  7:53                                       ` stargrave
2016-01-21  9:43                                       ` stargrave
2016-01-28 10:26                                         ` Alan Holt
2016-01-28 10:46                                           ` stargrave
2016-01-28 13:39                                             ` Alan Holt
2016-01-28 14:20                                               ` stargrave
2015-05-13 14:06                 ` stargrave