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> extensions: nylon<br><br>&nb= sp; nylon/packlist: nylon libevent <br> 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> * Checking parameters...  = ; &n= bsp;  = ; &n= bsp; [ ok ]<br> * 'livecd-stage1' or 'extensions' wa= s selected without 'stage3'. <br> * Should I use the seed stage as stage3 result ? [N]: y<br> = * The following targets will be called:<br> * [extensions]<br> * = Preparing portage snapshot... &nbs= p; &= nbsp; &nbs= p; [ ok ]<br> * [exten= sions] stage start... = &nb= sp; = [ ok ] <br> * Building nylon extension... = &nb= sp; = [ = !! ]<br> * Extension build failed, see ./gnap_make-20051228.err and .o= ut for det [ !! ]<br> * Cleaning temporary directories... &= nbsp; &nbs= p; &= nbsp; [ ok ] <br>Build failed, try man gnap_make for more help<br><br><br># cat gnap_mak= e-20051228.err<br>>>> 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> .=3D'update pass' *=3D'binary update' @=3D'/var/db m= ove'<br> 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 "/var/tmp/catalyst"= ; <br>Setting portdir to default value "/usr/portage"<br>Setting di= stdir to config file value "/usr/portage/distfiles"<br>Setting op= tions to config file value "pkgcache kerncache"<br>Setting shared= ir to config file value "/usr/lib/catalyst" <br>Package cache support enabled.<br>Kernel cache support enabled.<br><br>= WARNING: No value set for key: g= rp/use<br> deleting key: grp/use<= br><br>Building natively for x86<br>Checking for processes running in chroo= t and killing them. <br>Running command "/bin/bash /usr/lib/catalyst/targets/support/kill-= chroot-pids.sh"<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 "/bin/tar xjpf /var/tmp/catalyst/builds/gnap/stage= 3-x86-20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228"= <br>Unpacking portage tree snapshot...<br>Running command "/bin/tar xj= pf /var/tmp/catalyst/snapshots/portage- 20051228.tar.bz2 -C /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/usr"<b= r>Configuring profile link...<br>Running command "rm -f /var/tmp/catal= yst/tmp/gnap/grp-x86-20051228/etc/make.profile"<br>Running command &qu= ot;ln -sf ../usr/portage/profiles/uclibc/x86/hardened /var/tmp/catalyst/tmp= /gnap/grp-x86-20051228/etc/make.profile" <br>Running action sequence: chroot_setup<br>Setting up chroot...<br>Runnin= g command "cp /etc/resolv.conf /var/tmp/catalyst/tmp/gnap/grp-x86-2005= 1228/etc"<br>Running command "mv /var/tmp/catalyst/tmp/gnap/grp-x= 86-20051228/etc/hosts /var/tmp/catalyst/tmp/gnap/grp-x86-20051228/etc/hosts= .bck" <br>Running command "cp /etc/hosts /var/tmp/catalyst/tmp/gnap/grp-x86-= 20051228/etc/hosts"<br>Running command "rm -f /var/tmp/catalyst/t= mp/gnap/grp-x86-20051228/etc/make.conf"<br>Running action sequence: se= tup_environment <br>Running action sequence: run_local<br>Running command "/bin/bash /= usr/lib/catalyst/targets/grp/grp.sh run pkgset nylon 'nylon' 'libevent'&quo= t;<br><br>Traceback (most recent call last):<br> File "modules/g= rp_target.py", line 44, in run_local <br> cmd("/bin/bash "+self.settings["share= dir"]+\<br> File "/usr/lib/catalyst/modules/catalyst_suppor= t.py", line 102, in cmd<br> raise CatalystError,myex= c<br>CatalystError: <unprintable instance object> <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> <<a href=3D"mailto:koon@gentoo.org" target=3D"_blank" onc= lick=3D"return top.js.OpenExtLink(window,event,this)"> koon@gentoo.org</a>> 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>> I've been trying to configure GNAP as a VPN serve= r without any success. <br>><br>> I want to allow 10 clients connected to the VPN server at = the same time<br>> and each one of them should have a different local IP= address. This is<br>> possible to do with a bridge.<br><br>This is also= possible to do without a bridge, using OpenVPN=20 2.0 "server"<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>> I need to create br0 bridg= e with eth0 with tap0. The problem is that I <br>> can't see the interfaces when I do ifconfig -a altought i can see <br>> /dev/net/tun so I think TUN/TAP module is loaded.<br><br>GNAP vani= lla kernel is missing bridge support.<br><br>> Can this be done with a v= anilla GNAP system ?<br>> How is supposed to use the USE_VPN flag on GNA= P, p2p VPN or a <br>> 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