From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1Erggs-0002Qx-5B
	for garchives@archives.gentoo.org; Wed, 28 Dec 2005 19:10:27 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBSJ9cdO002437;
	Wed, 28 Dec 2005 19:09:38 GMT
Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192])
	by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBSJ9aGq026552
	for <gentoo-embedded@lists.gentoo.org>; Wed, 28 Dec 2005 19:09:37 GMT
Received: by xproxy.gmail.com with SMTP id t10so1263364wxc
        for <gentoo-embedded@lists.gentoo.org>; Wed, 28 Dec 2005 11:09:36 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references;
        b=Gv3J/7LfZ75oF1cDmg3mRSN4mx2j2CXvYPvOs2unf/d2KAnuhm2WkFdFcqPhS3GbXvge733CcP6ahM5SzgCGG61/eBDWG+j0B8KIy4Npp8qcZBdoV/qOZ9TAhJNd0hI50ED1KleDJSBZYEsn8/9pa/vu45qyxW7Q5YFt+18TnMQ=
Received: by 10.70.15.6 with SMTP id 6mr7995481wxo;
        Wed, 28 Dec 2005 11:09:36 -0800 (PST)
Received: by 10.70.26.13 with HTTP; Wed, 28 Dec 2005 11:09:36 -0800 (PST)
Message-ID: <7399af0a0512281109u17c21de3rfc69c73285245b@mail.gmail.com>
Date: Wed, 28 Dec 2005 19:09:36 +0000
From: =?ISO-8859-1?Q?Jo=E3o_Br=E1zio?= <jbrazio@stinkfist.org>
Sender: jbrazio@gmail.com
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] GNAP+VPN=PROBLEMS
In-Reply-To: <43B29454.8050701@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_10250_10492295.1135796976407"
References: <7399af0a0512280345g442fe576n8f3df66267f353fb@mail.gmail.com>
	 <43B29454.8050701@gentoo.org>
X-Archives-Salt: 951f4b37-f2d6-4c1f-84c9-4de1cf76eab6
X-Archives-Hash: 74c3164395af4930d5524d1e1e582004

------=_Part_10250_10492295.1135796976407
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Dear Thierry,
It works great but now I've got another problem, I'm trying to compile GNAP
with nylon, a sock proxy and the following error occurs:

File: myspecs/extensions.conf
  extensions: nylon

  nylon/packlist: nylon libevent
  nylon/cleanup: /usr/share

Portage: http://mirrors.tds.net/gentoo/snapshots/portage-20051227.tar.bz2


# gnap_make -t extensions -e myspecs -p portage-20051227.tar.bz2
GNAP Core Building tool gnap_make version 1.8.2
 * Checking parameters...                                                 [
ok ]
 * 'livecd-stage1' or 'extensions' was selected without 'stage3'.
 * Should I use the seed stage as stage3 result ? [N]: y
 * The following targets will be called:
 * [extensions]
 * Preparing portage snapshot...                                          [
ok ]
 * [extensions] stage start...                                            [
ok ]
 *   Building nylon extension...                                          [
!! ]
 * Extension build failed, see ./gnap_make-20051228.err and .out for det  [
!! ]
 * Cleaning temporary directories...                                      [
ok ]
Build failed, try man gnap_make for more help


# cat gnap_make-20051228.err
>>> Regenerating /etc/ld.so.cache...


Performing Global Updates: /usr/portage/profiles/updates/4Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
  .=3D'update pass'  *=3D'binary update'  @=3D'/var/db move'
  s=3D'/var/db SLOT move' S=3D'binary SLOT move' p=3D'update
/etc/portage/package.*'


# cat gnap_make-20051228.out
........................
Calculating dependencies

!!! Problem in sys-apps/portage dependencies.
!!! [Errno 38] Function not implemented:
'/var/cache/edb/dep//usr/portage/sys-apps/.update.8098.portage-2.0.53'
exceptions
Calculating dependencies

!!! Problem in net-proxy/nylon dependencies.
!!! [Errno 38] Function not implemented:
'/var/cache/edb/dep//usr/portage/net-proxy/.update.8144.nylon-1.2-r2'
exceptions
Gentoo Catalyst, version 1.1.10.10
Copyright 2003-2005 The Gentoo Foundation
Distributed under the GNU General Public License version 2

Using command line specified Catalyst configuration file,
/etc/catalyst/catalyst.conf
Setting storedir to config file value "/var/tmp/catalyst"
Setting portdir to default value "/usr/portage"
Setting distdir to config file value "/usr/portage/distfiles"
Setting options to config file value "pkgcache kerncache"
Setting sharedir to config file value "/usr/lib/catalyst"
Package cache support enabled.
Kernel cache support enabled.

        WARNING: No value set for key: grp/use
        deleting key: grp/use

Building natively for x86
Checking for processes running in chroot and killing them.
Running command "/bin/bash /usr/lib/catalyst/targets/support/kill-
chroot-pids.sh"
Running action sequence: dir_setup
Setting up directories...
Running action sequence: unpack_and_bind
Unpacking stage tarball...
Running command "/bin/tar xjpf /var/tmp/catalyst/builds/gnap/stage3-
x86-20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228"
Unpacking portage tree snapshot...
Running command "/bin/tar xjpf /var/tmp/catalyst/snapshots/portage-
20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/usr"
Configuring profile link...
Running command "rm -f
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.profile"
Running command "ln -sf ../usr/portage/profiles/uclibc/x86/hardened
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.profile"
Running action sequence: chroot_setup
Setting up chroot...
Running command "cp /etc/resolv.conf
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc"
Running command "mv /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts.bck"
Running command "cp /etc/hosts
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts"
Running command "rm -f
/var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/make.conf"
Running action sequence: setup_environment
Running action sequence: run_local
Running command "/bin/bash /usr/lib/catalyst/targets/grp/grp.sh run pkgset
nylon 'nylon' 'libevent'"

Traceback (most recent call last):
  File "modules/grp_target.py", line 44, in run_local
    cmd("/bin/bash "+self.settings["sharedir"]+\
  File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd
    raise CatalystError,myexc
CatalystError: <unprintable instance object>
None

!!! catalyst: GRP build aborting due to error.

On 12/28/05, Thierry Carrez <koon@gentoo.org> wrote:
>
> Jo=E3o Br=E1zio wrote:
>
> > I've been trying to configure GNAP as a VPN server without any success.
> >
> > I want to allow 10 clients connected to the VPN server at the same time
> > and each one of them should have a different local IP address. This is
> > possible to do with a bridge.
>
> This is also possible to do without a bridge, using OpenVPN 2.0 "server"
> mode. See http://openvpn.net/howto.html
>
> > I need to create br0 bridge with eth0 with tap0. The problem is that I
> > can't see the interfaces when I do ifconfig -a altought i can see
> > /dev/net/tun so I think TUN/TAP module is loaded.
>
> GNAP vanilla kernel is missing bridge support.
>
> > Can this be done with a vanilla GNAP system ?
> > How is supposed to use the USE_VPN flag on GNAP, p2p VPN or a
> > Server-to-many solution ?
>
> USE_VPN triggers the use of OpenVPN. It supports both modes.
>
> --
> Thierry Carrez (Koon)
> GNAP Developer
> --
> gentoo-embedded@gentoo.org mailing list
>
>


--

Cumprimentos,
Jo=E3o Br=E1zio.

------=_Part_10250_10492295.1135796976407
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Dear Thierry,<br>It works great but now I've got another problem, I'm tryin=
g to compile GNAP with nylon, a sock proxy and the following error occurs:<=
br><br>File: myspecs/extensions.conf<br>&nbsp; extensions: nylon<br><br>&nb=
sp; nylon/packlist: nylon libevent
<br>&nbsp; nylon/cleanup: /usr/share<br><br>Portage: <a href=3D"http://mirr=
ors.tds.net/gentoo/snapshots/portage-20051227.tar.bz2">http://mirrors.tds.n=
et/gentoo/snapshots/portage-20051227.tar.bz2</a><br><br><br># gnap_make -t =
extensions -e myspecs -p=20
portage-20051227.tar.bz2<br>GNAP Core Building tool gnap_make version 1.8.2=
<br>&nbsp;* Checking parameters...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; [ ok ]<br>&nbsp;* 'livecd-stage1' or 'extensions' wa=
s selected without 'stage3'.
<br>&nbsp;* Should I use the seed stage as stage3 result ? [N]: y<br>&nbsp;=
* The following targets will be called:<br>&nbsp;* [extensions]<br>&nbsp;* =
Preparing portage snapshot...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ ok ]<br>&nbsp;* [exten=
sions] stage start...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ ok ]
<br>&nbsp;*&nbsp;&nbsp; Building nylon extension...&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ =
!! ]<br>&nbsp;* Extension build failed, see ./gnap_make-20051228.err and .o=
ut for det&nbsp; [ !! ]<br>&nbsp;* Cleaning temporary directories...&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ ok ]
<br>Build failed, try man gnap_make for more help<br><br><br># cat gnap_mak=
e-20051228.err<br>&gt;&gt;&gt; Regenerating /etc/ld.so.cache...<br><br><br>=
Performing Global Updates: /usr/portage/profiles/updates/4Q-2005<br>(Could =
take a couple of minutes if you have a lot of binary packages.)
<br>&nbsp; .=3D'update pass'&nbsp; *=3D'binary update'&nbsp; @=3D'/var/db m=
ove'<br>&nbsp; s=3D'/var/db SLOT move' S=3D'binary SLOT move' p=3D'update /=
etc/portage/package.*'<br><br><br># cat gnap_make-20051228.out<br>.........=
...............<br>Calculating dependencies
<br><br>!!! Problem in sys-apps/portage dependencies.<br>!!! [Errno 38] Fun=
ction not implemented: '/var/cache/edb/dep//usr/portage/sys-apps/.update.80=
98.portage-2.0.53' exceptions<br>Calculating dependencies<br><br>!!! Proble=
m in net-proxy/nylon dependencies.
<br>!!! [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/porta=
ge/net-proxy/.update.8144.nylon-1.2-r2' exceptions<br>Gentoo Catalyst, vers=
ion <a href=3D"http://1.1.10.10">1.1.10.10</a><br>Copyright 2003-2005 The G=
entoo Foundation
<br>Distributed under the GNU General Public License version 2<br><br>Using=
 command line specified Catalyst configuration file, /etc/catalyst/catalyst=
.conf<br>Setting storedir to config file value &quot;/var/tmp/catalyst&quot=
;
<br>Setting portdir to default value &quot;/usr/portage&quot;<br>Setting di=
stdir to config file value &quot;/usr/portage/distfiles&quot;<br>Setting op=
tions to config file value &quot;pkgcache kerncache&quot;<br>Setting shared=
ir to config file value &quot;/usr/lib/catalyst&quot;
<br>Package cache support enabled.<br>Kernel cache support enabled.<br><br>=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WARNING: No value set for key: g=
rp/use<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; deleting key: grp/use<=
br><br>Building natively for x86<br>Checking for processes running in chroo=
t and killing them.
<br>Running command &quot;/bin/bash /usr/lib/catalyst/targets/support/kill-=
chroot-pids.sh&quot;<br>Running action sequence: dir_setup<br>Setting up di=
rectories...<br>Running action sequence: unpack_and_bind<br>Unpacking stage=
 tarball...
<br>Running command &quot;/bin/tar xjpf /var/tmp/catalyst/builds/gnap/stage=
3-x86-20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228&quot;=
<br>Unpacking portage tree snapshot...<br>Running command &quot;/bin/tar xj=
pf /var/tmp/catalyst/snapshots/portage-
20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/usr&quot;<b=
r>Configuring profile link...<br>Running command &quot;rm -f /var/tmp/catal=
yst/tmp/gnap/grp-x86-20051228/etc/make.profile&quot;<br>Running command &qu=
ot;ln -sf ../usr/portage/profiles/uclibc/x86/hardened /var/tmp/catalyst/tmp=
/gnap/grp-x86-20051228/etc/make.profile&quot;
<br>Running action sequence: chroot_setup<br>Setting up chroot...<br>Runnin=
g command &quot;cp /etc/resolv.conf /var/tmp/catalyst/tmp/gnap/grp-x86-2005=
1228/etc&quot;<br>Running command &quot;mv /var/tmp/catalyst/tmp/gnap/grp-x=
86-20051228/etc/hosts /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts=
.bck&quot;
<br>Running command &quot;cp /etc/hosts /var/tmp/catalyst/tmp/gnap/grp-x86-=
20051228/etc/hosts&quot;<br>Running command &quot;rm -f /var/tmp/catalyst/t=
mp/gnap/grp-x86-20051228/etc/make.conf&quot;<br>Running action sequence: se=
tup_environment
<br>Running action sequence: run_local<br>Running command &quot;/bin/bash /=
usr/lib/catalyst/targets/grp/grp.sh run pkgset nylon 'nylon' 'libevent'&quo=
t;<br><br>Traceback (most recent call last):<br>&nbsp; File &quot;modules/g=
rp_target.py&quot;, line 44, in run_local
<br>&nbsp;&nbsp;&nbsp; cmd(&quot;/bin/bash &quot;+self.settings[&quot;share=
dir&quot;]+\<br>&nbsp; File &quot;/usr/lib/catalyst/modules/catalyst_suppor=
t.py&quot;, line 102, in cmd<br>&nbsp;&nbsp;&nbsp; raise CatalystError,myex=
c<br>CatalystError: &lt;unprintable instance object&gt;
<br>None<br><br>!!! catalyst: GRP build aborting due to error.<br><br><div>=
<span class=3D"gmail_quote">On 12/28/05, <b class=3D"gmail_sendername">Thie=
rry Carrez</b> &lt;<a href=3D"mailto:koon@gentoo.org" target=3D"_blank" onc=
lick=3D"return top.js.OpenExtLink(window,event,this)">
koon@gentoo.org</a>&gt; wrote:
</span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rg=
b(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jo=E3o Br=
=E1zio wrote:<br><br>&gt; I've been trying to configure GNAP as a VPN serve=
r without any success.
<br>&gt;<br>&gt; I want to allow 10 clients connected to the VPN server at =
the same time<br>&gt; and each one of them should have a different local IP=
 address. This is<br>&gt; possible to do with a bridge.<br><br>This is also=
 possible to do without a bridge, using OpenVPN=20
2.0 &quot;server&quot;<br>mode. See <a href=3D"http://openvpn.net/howto.htm=
l" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this=
)">http://openvpn.net/howto.html</a><br><br>&gt; I need to create br0 bridg=
e with eth0 with tap0. The problem is that I
<br>&gt; can't see the interfaces when I do ifconfig -a altought i can see
<br>&gt; /dev/net/tun so I think TUN/TAP module is loaded.<br><br>GNAP vani=
lla kernel is missing bridge support.<br><br>&gt; Can this be done with a v=
anilla GNAP system ?<br>&gt; How is supposed to use the USE_VPN flag on GNA=
P, p2p VPN or a
<br>&gt; Server-to-many solution ?<br><br>USE_VPN triggers the use of OpenV=
PN. It supports both modes.<br><br>--<br>Thierry Carrez (Koon)<br>GNAP Deve=
loper<br>--<br><a href=3D"mailto:gentoo-embedded@gentoo.org" target=3D"_bla=
nk" onclick=3D"return top.js.OpenExtLink(window,event,this)">
gentoo-embedded@gentoo.org
</a> mailing list<br><br></blockquote></div><br><br clear=3D"all"><br>-- <b=
r><br>Cumprimentos,<br>Jo=E3o Br=E1zio.


------=_Part_10250_10492295.1135796976407--
-- 
gentoo-embedded@gentoo.org mailing list