Re: [Vserver] PPP inside VServer

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 25 Aug 2006 - 00:30:30 BST
Message-ID: <20060824233030.GB20625@MAIL.13thfloor.at>

On Thu, Aug 24, 2006 at 09:15:09PM +0200, Eugéne Roux wrote:
> Hi Baltasar,
>
> On 24 Aug 2006, at 5:14 PM, Baltasar Cevc wrote:
>
> >I'm not sure, but that may be a priviledge problem - try if it works
> >when adding the appropirate capabilities if you haven't done so yet
> >(I think it should be CAP_NET_ADMIN). However adding that capability
> >is a security issue as the guest is allowed to change too many
> >network settings then.
>
> I assumes so initially as well, but since I got little out of the
> system, I decided to throw CAPS at it in the hope that I could tighten
> up to the express limit it required once I got it working.
>
> I've given it SYS_ADMIN, SYS_TTY_CONFIG, NET_ADMIN and NET_RAW, but
> still no go.
>
> >Hope that's a starting point, greetings from Regensburg, Germany
>
> Hey, I'll take any help I can get here...
>
> Cheerio, from a rather cold evening in Cape Town...
> Eugéne

note to Baltasar Cevc: please don't remove stuff
from email threads, just answer were appropriate
(levaing the posting intact as quotation). TIA

> Accessing these modems using "cu -l /dev/modem" works fine, but when I
> try and bring up a PPP link I get the following:

> root@vs01-vc01:/# /usr/sbin/pppd.org user root call FOOCHAT
> chat: Aug 22 12:07:35 CONNECT 1800000
> Serial connection established.
> Using interface ppp0
> Connect: ppp0 <--> /dev/modem
> Could not determine remote IP address: defaulting to 10.64.64.64
> ioctl(SIOCSIFDSTADDR): Cannot assign requested address(99)
> Connection terminated.
> Connect time 0.1 minutes.
> Sent 126 bytes, received 150 bytes.
> root@vs01-vc01:/#

could you run that through strace -fF please and
narrow the syscalls down to the relevant ones
around the ioctl(SIOCSIFDSTADDR)?

TIA,
Herbert

> Please tell me what I'm missing here...

> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Aug 25 00:32:48 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 25 Aug 2006 - 00:33:23 BST by hypermail 2.1.8